186187188189190191192193194195196
if (attacker instanceof Unit) { UnitShot unitShot = new UnitShot(attacker.getID(), shotChanges, damage, target.getPosition(), damageManager, receiveChanges, timeChanges); unitShot.execute(); } else { assert false : "Not yet implemented!"; } }