Allright, I have two spells that that requires certain conditions to be met. When the conditions are met the Integer AnastasiaElement will be not equal to 0.
So I need those spells not to go on cooldown when you try to use the spell, but to get an error message.
Now when I cast a spell, the trigger does run, as i do get the message, however, the spell still goes on cooldown.
I have tried a workaround, removing and adding the spell beïng cast, but even that doesn't work. If I do that, the weird thing occurs that the spellcaster gets in an continues state of spellcasting, and doesn't listen to orders anymore, (only to be interrupted from this state by casting another spell.)
So why does the spell casted still goes on cooldown, and how do I solve it?
So I need those spells not to go on cooldown when you try to use the spell, but to get an error message.
Now when I cast a spell, the trigger does run, as i do get the message, however, the spell still goes on cooldown.
I have tried a workaround, removing and adding the spell beïng cast, but even that doesn't work. If I do that, the weird thing occurs that the spellcaster gets in an continues state of spellcasting, and doesn't listen to orders anymore, (only to be interrupted from this state by casting another spell.)
So why does the spell casted still goes on cooldown, and how do I solve it?
-
GreaterCNoOrb
-
Events
- Unit - Anastasia 0005 <gen> Begins casting an ability
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Ability being cast) Equal to Greater Conjuring
- (Ability being cast) Equal to Discharge
-
Conditions
- AnastasiaElement Equal to 0
-
Or - Any (Conditions) are true
-
Actions
- Unit - Order (Triggering unit) to Stop
- Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: |c00F78181Cast an o...
- Sound - Play Error <gen>
-
Events