under battle resolution in game specification:
Code: Select all
(enemies(of my unit) in range of ant) >= (enemies(of enemy unit) in range of enemy)
I was thinking of taking a circle radius around my unit and finding all units in that circle, take # friends and # foes and adjusting UnitDamaged() by some percent multiplied by the # of friends(less damage) or foes(more damage)...any opinions? Will calculating all of this slow the game too much?