• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Spell damage

Status
Not open for further replies.
Level 9
Joined
Oct 17, 2007
Messages
547
Anyone got any tips on how to mod the spell damage so that its base on the stats of the caster hero? Is it only possible with JASS?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,259
In GUI you can retreive a heroes stats easily. You will find the action under an integer opperations you you might have to convert it from a integer to a real in your damage action for it to work. In JASS it is easier to handle thoe and is more efficent but harder to understand as GUI words it nice and clearly for you to understand.
 
Level 3
Joined
Oct 20, 2007
Messages
32
Easily retrievable? I can't find it anywhere. Care to point it out or point me toward a tutorial that does? I read one on "Making some basic spells", but all I saw was "look, I have the variable here" without any explanation as to how he got it.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,259
In GUI you have to convert an integer to real in side the damage field to see it, it is some interger action.

Basically when choosing the ammount of damage for the damage unit action to do, choose the integer to real option then in that you should be able to choose the action that returns the heroe's ammount of a stat.
 
Status
Not open for further replies.
Top