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

[Solved] looking for a specific skill

Status
Not open for further replies.
Level 5
Joined
Jan 2, 2013
Messages
84
hi, im looking for a skill that when activated starts draining mana and it auto deactivate when there is not enough mana or can be click the deactivate. does wc3 has such skill? and if not what skill can i base it and do my own trigger?
 
what trigger do i use to detect when it deactivate?

You should look the order strings of the ability you are using. For exemple with [AEim] Immolation, order "immolation" will be issued when player activates it, and order "unimmolation" when user unactivates it.

However I am not sure it is called when mana runs out. You may be forced to add an trigger for event "Unit - mana : mana becomes less than XX"
 
Status
Not open for further replies.
Top