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

Healing potion stronger over time.

Status
Not open for further replies.
Level 8
Joined
Feb 11, 2016
Messages
233
OK folks, you know what I want. I want to my "Potion of healing" when consumed heal 20% of max hp + 1 for every 6 seconds passes in game. How I can make second part of my potion "+ 1 for every 6 seconds passes in game". Can anyone help me? Please? Thank you.
 
Level 11
Joined
Jan 2, 2016
Messages
472
Well go into the variable editor which is located in the trigger editor.Open it up create a new variable of type Timer and name it.Just click Ok and you've got your first variable.

Then in Initialization triger create a new timer in one line.In the next one choose Set - Variable action and set your variables value to last created timer.
 
Status
Not open for further replies.
Top