• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

On spell cast event works even the spell is cancelled

Status
Not open for further replies.
Level 1
Joined
Oct 28, 2019
Messages
2
I created a triggered spell that blasts a targeted area dealing damage to enemies.

On in game test, I cast the spell and quickly cancels it but the trigger still works and damages foes. Means that it can be spammed by using cancel cast.
 
Level 9
Joined
Jul 30, 2018
Messages
445
You have to post the trigger. We can't know what's wrong when we don't know what you have done.

But with this information, my guess is you used the wrong event. Use "A unit starts the effect of an ability". That only triggers after the spells is actually cast and mana cost is counted for.
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
If your ability is a channeling ability (like channel or flamestrike), you want to use "finish casting an ability" event. You can look at detailed guide here: Casting Events Guide
 
Status
Not open for further replies.
Top