• 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.

[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