• 🏆 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!

Stat based spells

Status
Not open for further replies.
Level 2
Joined
Jan 16, 2006
Messages
6
Ok, I want to make an attack that does X amount of damage + agility x3. I cant figure out how to do it :S Help appreciated.
 
Level 2
Joined
Jan 16, 2006
Messages
6
Triggers.

A unit begins casting an ability,

ability equal to blah.

Then I start having problems...



(quote) Unit-Damage Target for x+3*Get Unit Agility ( Get Triggering Unit (/quote)

"Order casting unit to damage targeted unit of ability being cast for xxx using attack type spells and damage type normal"

How do I get the "Unit-Damage Target for x+3*Get Unit Agility ( Get Triggering Unit"?
 
Level 6
Joined
May 13, 2005
Messages
164
Event-
-A unit starts the effect of an ability

Conditions-
-(Ability being cast) equal to <YOUR ABILITY>

Actions-
-Cause (Casting unit) to damage (Target unit of ability being cast), dealing .....


i think ur prob is u cant get to the hero attribute part ,right? Under the "Function", it is Arithmetic at default,so look for "Conversion- Convert Integer to Real"
 
Status
Not open for further replies.
Top