• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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 25
Joined
Sep 26, 2009
Messages
2,381
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