- Joined
- Nov 21, 2010
- Messages
- 6
The init
-
Frosty Death Init
-
Evénements
- Map initialization
- Conditions
-
Actions
- Table de hachage - Create a hashtable
- Set SpellHash = (Last created hashtable)
-
Evénements
-
Lich Frosty Death Start
-
Evénements
- Unité - A unit Initie l'effet d'une compétence
-
Conditions
- (Ability being cast) Egal Ã* (Q) Frosty Death (Neutre Hostile)
-
Actions
- Table de hachage - Save (15.00 x (Real((Level of (Ability being cast) for (Triggering unit))))) as 1 of (Key (Target unit of ability being cast)) in SpellHash
- Table de hachage - Save (5.00 x (Real((Level of (Ability being cast) for (Triggering unit))))) as 0 of (Key (Target unit of ability being cast)) in SpellHash
- Table de hachage - Save Handle Of(Triggering unit) as 2 of (Key (Target unit of ability being cast)) in SpellHash
- Groupe unité - Add (Target unit of ability being cast) to DamageOverTimeUnits
- Déclencheur - Turn on FD Damage <gen>
-
Evénements
-
FD Damage
-
Evénements
- Temps - Every 1.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si - Conditions
- (Number of units in DamageOverTimeUnits) Supérieur Ã* 0
-
Alors - Actions
-
Groupe unité - Pick every unit in DamageOverTimeUnits and do (Actions)
-
Boucle - Actions
- Set RemainingTime = (Load 0 of (Key (Picked unit)) from SpellHash)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si - Conditions
- RemainingTime Supérieur Ã* 0
-
Alors - Actions
- Partie - Display to (All players) the text: Error 1
- Unité - Cause (Load 2 of (Key (Picked unit)) in SpellHash) to damage (Picked unit), dealing (Load 1 of (Key (Picked unit)) from SpellHash) damage of attack type Chaos and damage type Normal
- Table de hachage - Save (RemainingTime - 1) as 0 of (Key (Picked unit)) in SpellHash
-
Sinon - Actions
- Partie - Display to (All players) the text: Error 2
- Groupe unité - Remove (Picked unit) from DamageOverTimeUnits
- Table de hachage - Clear all child hashtables of child (Key (Picked unit)) in SpellHash
-
Si - Conditions
-
Boucle - Actions
-
Groupe unité - Pick every unit in DamageOverTimeUnits and do (Actions)
-
Sinon - Actions
- Déclencheur - Turn off (This trigger)
-
Si - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Evénements