• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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
233
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
233
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