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

Make a hero have certain amount of mana

Status
Not open for further replies.
Level 19
Joined
Jul 2, 2011
Messages
2,162
I was trying to do the same thing with units. link their mana directly to heroes mana... but I found out you can only set the mana to a figure under the units max mana.

so first set Your heroes max mana to 1000 and then set current mana to 1000 set mana regen to 0. then set a generic unit event for acquires mana potion, uses ability. whenever this trigger is triggered, it will set mana max mana current to 1000 and mana regen to 0

I hope this helps cheers.... vm me for further help
 
Status
Not open for further replies.
Top