Warcraft III resources & community, 2003–2006 · archived

I Need help with a REAL EASY, REAL SIMPLE REAL BASIC spell

4 posts
#1

I Need help with a REAL EASY, REAL SIMPLE REAL BASIC 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
well you know spell requests go in the spell forum.thats the olny exception all others can go here.
moved... to spell forum
#3
Changing it to a decimal wont make it increase your hp by %. You'll need to do it by triggers.
#4
And this is the third thread of this type created with the same content. Don't do this again or moderators will jump into your head.

Can someone delete two of the three threads please? Thank you!

~Daelin