Rheiko
Spell Reviewer
- Joined
- Aug 27, 2013
- Messages
- 4,214
Some issues I found:
- Special effect is not created properly. This is because you don't null MonDomain_SpcEffectBuff variable after destroying it. Just destroying the special effect is not enough because the reference still exists so you have to manually set it to null.
- Effect is not removed properly. When a target has been casted upon by two different casters and either of the caster run out of mana, if the caster ever get enough mana to cast the spell again on the same target and their mana runs out, the effect doesn't disappear, allowing for a permanent buff.
- When another caster uses the spell on already affected units, the effect for those units cannot stack but the caster still lose mana. You need to somehow check whether the picked units are already affected by the same spell but different caster or not. If they are, do not activate the mana drain (or the spell at all). This is most likely related to the previous issue I encountered.
Last edited: