Hello HW, I'm newly registered and a complete noob in map making, but it's so interesting I have to give it a shot.
So my problem is : I'm trying to make a leveled unit ability/effect to increase health, example :
Level 1 - 100 bonus hp
Level 2 - 200
Level 3 - 300
etc.
Now what I want to do is add some "coding" to make my job easier. Instead of manually typing in every tooltip "Increases hp by 100/200..." I want it to be "Increases hp by <hpvalue>". Thing is I don't know how to make it pull the value from wherever it is (possibly an integer would be the easiest method) and also how to make that value rise with each level.
My whole idea stems from the Orc upgrade Brute Strength where in the tooltip description they use <Robs,base1> to get the number values.
Apologies in advance for the noob question and if I'm asking in the wrong forum. I have a fair bit of actual coding knowledge, but I have no idea how the wc3 editor works exactly.
So my problem is : I'm trying to make a leveled unit ability/effect to increase health, example :
Level 1 - 100 bonus hp
Level 2 - 200
Level 3 - 300
etc.
Now what I want to do is add some "coding" to make my job easier. Instead of manually typing in every tooltip "Increases hp by 100/200..." I want it to be "Increases hp by <hpvalue>". Thing is I don't know how to make it pull the value from wherever it is (possibly an integer would be the easiest method) and also how to make that value rise with each level.
My whole idea stems from the Orc upgrade Brute Strength where in the tooltip description they use <Robs,base1> to get the number values.
Apologies in advance for the noob question and if I'm asking in the wrong forum. I have a fair bit of actual coding knowledge, but I have no idea how the wc3 editor works exactly.