• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Spell] how to give conditions to a spell properly?

Status
Not open for further replies.
Level 12
Joined
Oct 16, 2010
Messages
680
Hey. I was wondering about how can i make custom requirements
i don't asking about how to check things for triggered spells

but how to set requirements for them if they fail, the spell will not get active

I mean , like a spell with a target , the "targets allowed" are "ground,enemy,etc..."
so u cant cast it on a friendly unit.. this is default in WC

but what I'm trying to do is a spell that requires windwalk buff for example

or spells that can be casted from behind enemy

and if they fail , nothing happens
like it wont break windwalk and wont set the ability on cooldown like with simple triggered conditions
 
Level 12
Joined
Oct 16, 2010
Messages
680
well the point is that the spell i need can be casted from behind the enemy
but can be casted while not windwalking . the point is it does extra damage while windwalking
And i need it to not interrupt windwalking occasionally casted on the front of the enemy
and to be able to trigger if the unit is actually windwalking, cus if i check it in a trigger after the casting started it will never be triggered since the windwalk buff already broke.

anybody has any idea how to do this?
 
Last edited by a moderator:
Status
Not open for further replies.
Top