- Joined
- Apr 14, 2012
- Messages
- 2,901
So I created this spell that is basically an advanced version of the Holy Light. When cast on an ally, it will heal the target and will either heal/damage the surrounding units depending on their controlling player.
Now, my problem is, and I can't figure out how to fix it, is when the spell is cast on an ally, it heals enemy structures. This puzzles me so much because I always filter the units, and in those filters I include the "If Picked Unit is a structure == false", so why does it heal enemy structures when cast on an ally?
Please help.
Oh and if mckill2009 happens to read this, please be informed that I made this spell before you taught me how you index spells.
Now, my problem is, and I can't figure out how to fix it, is when the spell is cast on an ally, it heals enemy structures. This puzzles me so much because I always filter the units, and in those filters I include the "If Picked Unit is a structure == false", so why does it heal enemy structures when cast on an ally?
Please help.
|
Oh and if mckill2009 happens to read this, please be informed that I made this spell before you taught me how you index spells.