I looked up the other posts and did the similar thing but seems not working (I'm just starting)
Wanted to make an aura that will have 50% chance to charm the attacking unit for the attacked unit
Wanted to make an aura that will have 50% chance to charm the attacking unit for the attacked unit
-
Aura of Persuasion
-

Events
-


Unit - A unit is Attacked
-
-

Conditions
-


(((Attacked unit) has buff Aura of Persuasion ) Equal to True) and ((Level of Aura of Persuasion for (Attacked unit)) Equal to 1)
-
-

Actions
-


Set Aura_i = (Random integer number between 1 and 100)
-


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



If - Conditions
-




Aura_i Lesser than or Equal to 50
-
-



Then - Actions
-




Set Temppoint = (Position of (Attacked unit))
-




Unit - Create 1 Dummy for (Owner of (Attacked unit)) at Temppoint facing generic building facing degrees
-




Custom script: call RemoveLocation(udg_Temppoint)
-




Unit - Add Possession dummy Level 3 to (Last created unit)
-




Unit - Add a 1.00 second generic expiration timer to (Last created unit)
-




Unit - Order (Last created unit) to Undead - Banshee: Possession (Attacking unit)
-




Unit - Remove Possession dummy Level 3 from (Last created unit)
-
-



Else - Actions
-
-
-
