- Joined
- Jul 19, 2007
- Messages
- 824
I'm very noobish at triggering and I've tried to make a spell in my map to cause damage based on the casting hero's agility and is this the way to go? The spell is a melee attack that causes the hero to attack a single target enemy and cause damage based on the agility..
-
Mighty Stab
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Mighty Stab
-
Actions
- Set MS_Level = (Level of (Ability being cast) for (Triggering unit))
- Wait 0.00 seconds
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((2.00 x (Real(MS_Level))) x ((Real((Agility of (Casting unit) (Include bonuses)))) + 0.00)) damage of attack type Spells and damage type Normal
-
Events