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

Healing potion stronger over time.

Status
Not open for further replies.
Level 8
Joined
Feb 11, 2016
Messages
232
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