concept question #enemies around unit increase damage taken?
Posted: 26 Mar 2012, 03:07
trying to think of a way to implement this idea from http://aichallenge.org/
under battle resolution in game specification:
Is this possible?
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?
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?