yes for mana and health, there is already a function to callculate the units mana/hp percentage. For atributes, i say you can use this math type (atribute * 1+(increase percentage/100)
Well its not that simple. Atribbutes, are integers and so you will need to convert in real first and then round back to integer
Omfg it's simple maths dammit.
50% of 100 = 50
0.5 * 100 = 50 // as you can see, multiplying a number by the percent divided by 100 gives the correct percentage
150% of 100 = 150
1.5 * 100 = 150 // just add one...
Thats the MATH for the TRIGGERS.
Go to Trigger Editor, start a Trigger.
Action, go to UNITS.
Hit S (Like a Hotkey), to you find Set Life Percentage.
Then go to HERO and do same! (Only with Attributes)
Didnt understand? I will create the trigger for you then..
This Thread is removed by: eleljrk
I think he meant post, not thread.
Tyty.. Ehh.
To be right, i had a trigger there before, but i removed since it was a failure trigger ^^
If you want to, i can create the spell for you..