public void AutoAttack(UnityRTS attacker, UnityRTS target) { target.TakeDamage(attacker.attackDamage - target.def); }