Disable blade vortex's effect on teammates

This commit is contained in:
Spencer 2017-12-18 13:56:47 -05:00 committed by Alexander Meech
parent aecf04483e
commit fa72dc60dd

View File

@ -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,