• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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