Warcraft III resources & community, 2003–2006 · archived

Need Help with 1 basic easy SPELL

2 posts
#1

Need Help with 1 basic easy SPELL

:arrow: I need desperate help!

When making a new spell, there is a "data" option followed by the specific data type. For a Kagdars gem of health it says:

Data - Max life Gained: 300

When i edit the value, the category is under "integer"

But for Critical Strike, it says

Data - Chance to critical strike: 15.00

The category is under "real" - I really need REAL instead of INTEGER because it acts as a percentage, and has 2 decimal places. Which i will use to make a life bonus skill that gives a percentage bonus to life

Do you know how to chance the Data category from "integer" to "real" values? Or do you know how to make a life bonus with a percentage bonus :?:

P.S I tried triggering the spell, and i did manage to use an advanced trigger to increase a units health by 20%, but i couldn't fit it in with when the unit gets more health some other way (e.g. with strength bonus) :!:

:D :D :D :D :D :) :) :P :P :? :?
#2
I'm fairly certain there is no ability that will increase a unit's life by a percentage. You're pretty much going to have to figure out an effective trigger method to accomplish this.