• 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.

Spells based on stats

Status
Not open for further replies.
Level 5
Joined
Jun 17, 2014
Messages
103
Guys i need tutorial step by step for this

Events
Unit starts the effect of an ability

Conditions
Ability equal to Chaos Meteor

Actions
Cause (Casting unit) to damage (Target unit of ability being cast) for (Real(Agility of (Casting unit) (Include bonuses)) x 2.00) of damage type Spells and attack type Normal

:grin:

idk how to make action
 
Level 29
Joined
Sep 26, 2009
Messages
2,595
It's the "Damage Target" action found under "Unit" tab.
The damage is an "Arithmetic" function (there's an actual option called like that) that has two parts (A and B).
For A you use the function "Conversion - Convert integer to real" and in the new window you select "Hero - Hero attribute" option. You select which unit, which attribute, select if it should include bonuses or not. Then you click OK to everything as that's all for part A.
For B simply put number 2.00 in there and that's all.
Don't forget to change the arithmetic function from summary (+) to multiplication (x).
 
Status
Not open for further replies.
Top