- Joined
- May 21, 2015
- Messages
- 70
i have a question does my trigger an MUI spell?
>
>
-
Stunned
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Stunned (Warrior)
-
-

Actions
-


Set Index = (Player number of (Owner of (Casting unit)))
-


Set StunnedCaster = (Casting unit)
-


Set StunnedTarget = (Target unit of ability being cast)
-


Set Damage[Index] = ((Real((Agility of StunnedCaster (Include bonuses)))) x 0.65)
-


Set CritChance[Index] = (Random real number between 0.00 and 100.00)
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




CritChance[Index] Greater than StatsPhysicalDamageCritChance[Index]
-
-



Then - Actions
-




Unit - Cause StunnedCaster to damage StunnedTarget, dealing (((Damage[Index] + (Damage[Index] x StatsPhysicalDamageIncrease[Index])) - (Damage[Index] x StatsPhysicalDamageReduction[Index])) x 1.00) damage of attack type Spells and damage type Enhanced
-
-



Else - Actions
-




Set Damage[(Player number of (Owner of StrikeCaster))] = 0.00
-




Set StrikeCaster = No unit
-




Set StrikeTarget = No unit
-




Set Index = 0
-
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




CritChance[(Player number of (Owner of StrikeCaster))] Less than or equal to StatsPhysicalDamageCritChance[(Player number of (Owner of StrikeCaster))]
-
-



Then - Actions
-




Unit - Cause StunnedCaster to damage StunnedTarget, dealing (((Damage[Index] + (Damage[Index] x StatsPhysicalDamageIncrease[Index])) - (Damage[Index] x StatsPhysicalDamageReduction[Index])) x 2.00) damage of attack type Spells and damage type Enhanced
-
-



Else - Actions
-




Set Damage[Index] = 0.00
-




Set StrikeCaster = No unit
-




Set StrikeTarget = No unit
-




Set Index = 0
-
-
-
-


