| 12-22-2005, 05:49 AM | #2 |
I know that bug, mana is usually consumed at the right time, but cooldown comes a little after, according to my experiences. I've had this problem with a charge spell that did not start cooldown since I hid the unit at the time the spell was casted. I don't know a better solution than to save the target unit in a variable/attach it to the caster when the spell is cast, and then use it when the spell is finished. |
| 12-22-2005, 10:12 AM | #3 |
I've had some more odd behaviour similar to this. In an arena map, I was trying to prevent the players from casting spells while not in the arena, so I made a few triggers that intercepted all orders and if the unit to whom the order was issued wasn't in the arena (and the order wasn't equal to stop or move or smart), it was ordered to stop. So, the spell order should be canceled long before the units got to the "starts the effect of an ability" event, and it was, but for some reason, the mana for the spell was being consumed anyway when you ordered it cast outside of the arena (the cooldown didn't start). Really wierd. |
| 12-22-2005, 10:42 AM | #4 |
The same happened for me on my arena. Instant cast (no target) spells can only be interrupted by pausing the unit, ordering it to stop and unpausing it. Also, item spells doesn't seem interruptable. |
