- Joined
- Jan 12, 2010
- Messages
- 132
Any1 know why this trigger dont fire? Debufff message is not show and nothing happens.Skill is based on Black Arrow ability.What I`m trying to do is:When a unit is damaged with psyhical damage while black arrow activated to apply a custom debuff.
-
Open wounds
-
Events
-
Game - GDD_Event becomes Equal to 0.00
-
-
Conditions
-
(GDD_DamagedUnit has buff Black Arrow) Equal to True
-
-
Actions
-
Unit - Remove Black Arrow buff from GDD_DamagedUnit
-
Game - Display to (All players) the text: aaa
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of GDD_DamageSource) Equal to Warewolf
-
(Random integer number between 1 and 100) Less than or equal to 25
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(GDD_DamagedUnit is in Wounds_gr) Equal to False
-
-
Then - Actions
-
Set Hash_unit = GDD_DamagedUnit
-
Custom script: set udg_Hash_key = GetHandleId(udg_Hash_unit)
-
Hashtable - Save 5.00 as 1 of Hash_key in Wounds_hash
-
Hashtable - Save Handle OfGDD_DamageSource as 2 of Hash_key in Wounds_hash
-
Unit Group - Add Hash_unit to Wounds_gr
-
-
Else - Actions
-
Set Hash_unit = GDD_DamagedUnit
-
Custom script: set udg_Hash_key = GetHandleId(udg_Hash_unit)
-
Hashtable - Save 5.00 as 1 of Hash_key in Wounds_hash
-
Hashtable - Save Handle OfGDD_DamageSource as 2 of Hash_key in Wounds_hash
-
-
-
-
Else - Actions
-
-
-