Warcraft III resources & community, 2003–2006 · archived

Stat based spells

5 posts
#1

Stat based spells

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.
#2
triggers

unit casts ability

ability = blah

Unit-Damage Target for x+3*Get Unit Agility ( Get Triggering Unit )
#3
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"?
#4
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"
#5
Thank you !!!
You are my hero :D