Disable blade vortex's effect on teammates
This commit is contained in:
parent
aecf04483e
commit
fa72dc60dd
@ -77,6 +77,11 @@ public class PerkBladeVortex extends Perk
|
|||||||
if (cur.equals(player))
|
if (cur.equals(player))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (!Manager.canHurt((Player) cur, player))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
//Damage Event
|
//Damage Event
|
||||||
Manager.GetDamage().NewDamageEvent(cur, player, null,
|
Manager.GetDamage().NewDamageEvent(cur, player, null,
|
||||||
DamageCause.CUSTOM, 2 * targets.get(cur), false, true, false,
|
DamageCause.CUSTOM, 2 * targets.get(cur), false, true, false,
|
||||||
|
Loading…
Reference in New Issue
Block a user