- Joined
- Sep 14, 2009
- Messages
- 284
Hi. Im making a spell that deals AoE damage, and then creates a shield on the casting unit that will absorb damage equal to the damage done by the AoE.
Everything is working, except that Im worried that when the Unit group for the units that will take damage will include dummy units (which will cuase the shield to absorb more damage than it should, since dummy units should act as they dont exist).
I have alot of different dummy unit types in the map so checking unit type for matching unit etc won't work. And other dummy units have long timers for other triggered spells, so the chance they are picked during this AoE spell is quite big.
Everything is working, except that Im worried that when the Unit group for the units that will take damage will include dummy units (which will cuase the shield to absorb more damage than it should, since dummy units should act as they dont exist).
I have alot of different dummy unit types in the map so checking unit type for matching unit etc won't work. And other dummy units have long timers for other triggered spells, so the chance they are picked during this AoE spell is quite big.