• 🏆 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!

[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