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

Potion that restore mana/hp by percent of users max mana/hp?

Status
Not open for further replies.
Level 8
Joined
Feb 11, 2016
Messages
232
Hello everyone.
I need to make mana potion which when used restore mana of hero for 150+20% of his maximum mana.
How I can do it?
I try with:

"Events:
Unit - A unit Uses an item

Conditions:
(Item-type of (Last created item)) Equal to Mana Stone

Actions:
Unit - Set mana of (Triggering unit) to ... ?!"


Also I made Mana Stone item by itself restore that 150 mana, I need to solve only 20%.
What now? Anyone help?
 
Level 8
Joined
Feb 11, 2016
Messages
232
UreDead4 you got one point of reputation from me, I know I need to do that without your help, but I never knew where to find exactly that triggers, now I finally learned this after lot of searching. And ye', of course it is answer I was searching for, your picture helps me to find answer ;). Thank you. Also thanks to Daffa the Mage.
 
Status
Not open for further replies.
Top