attack
Calculates and performs an attack from one GameUnit to another.
This method involves three steps:
If from and to parent entities have the same GameEntity.FightEntity.teamId, no attack is performed.
Note: healing is considered a special kind of attack, where the damage value is negative.