-
Windfury
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


(Attacking unit) Equal to WindFury_Caster[(Player number of (Owner of (Attacking unit)))]
-
-

Actions
-


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



If - Conditions
-




(Random integer number between 1 and 100) Less than or equal to 15
-
-



Then - Actions
-




Set Windfury_CasterPoint = (Position of WindFury_Caster[(Player number of (Owner of (Attacking unit)))])
-




Unit - Create 1 Caster for (Owner of WindFury_Caster[(Player number of (Owner of (Attacking unit)))]) at Windfury_CasterPoint facing Default building facing degrees
-




Set WindFury_CasterUnit = (Last created unit)
-




Unit - Add Windfury Dummy to WindFury_CasterUnit
-




Unit - Set level of Windfury Dummy for WindFury_CasterUnit to 1
-




Unit - Order WindFury_CasterUnit to Orc Shaman - Bloodlust WindFury_Caster[(Player number of (Owner of (Attacking unit)))]
-




Unit - Add a 3.00 second Generic expiration timer to WindFury_CasterUnit
-




Set WindFury_CasterUnit = No unit
-




Custom script: call RemoveLocation(udg_Windfury_CasterPoint)
-
-



Else - Actions
-




Do nothing
-
-
-
-
-
Windfury User
-

Events
-


Unit - A unit Learns a skill
-
-

Conditions
-


(Learned Hero Skill) Equal to Windfury
-
-

Actions
-


Set WindFury_Caster[(Player number of (Owner of (Learning Hero)))] = (Learning Hero)
-
-
Thanks to Yearight for giving me the trigger to play with




