- Joined
- Jul 25, 2014
- Messages
- 490
Well, firing a very fast missile wasn't exactly something I considered, I just used logical thinking because electricity is fast you know
I actually set the sight radius myself, for it to be a part of the spell, but idk, maybe i'll remove it. Score points?
You may have convinced me to trigger the damage but only because the dummies deal damage and not the caster himself. It's not some more lines of code, you have to actually get a unit group check all the conditions, if conditions aren't passed, remove the picked unit from the group, then setting a random unit and only then damaging. And I have to null it then since if the wisps go out of range, the last randomed unit will get damaged continuously until the spell ends.
Will update once I'll be up for it.
EDIT: Updated.
I actually set the sight radius myself, for it to be a part of the spell, but idk, maybe i'll remove it. Score points?
You may have convinced me to trigger the damage but only because the dummies deal damage and not the caster himself. It's not some more lines of code, you have to actually get a unit group check all the conditions, if conditions aren't passed, remove the picked unit from the group, then setting a random unit and only then damaging. And I have to null it then since if the wisps go out of range, the last randomed unit will get damaged continuously until the spell ends.
Will update once I'll be up for it.
EDIT: Updated.
Last edited: