- Joined
- Aug 12, 2010
- Messages
- 26
-
Kalens Dagger
-
Events
-
Game - GDD_Event becomes Equal to 0.00
-
-
Conditions
-
(GDD_DamagedUnit has an item of type Kelen's Dagger) Equal to True
-
(GDD_DamageSource is A Hero) Equal to True
-
-
Actions
-
Set Kalen_1[(Player number of (Owner of GDD_DamagedUnit))] = (Item carried by GDD_DamagedUnit of type Kelen's Dagger)
-
Set Kalen_i[(Player number of (Owner of GDD_DamagedUnit))] = 3
-
Set Kalen_u[(Player number of (Owner of GDD_DamagedUnit))] = GDD_DamagedUnit
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item carried by GDD_DamagedUnit in slot (Integer A)) Equal to Kalen_1[(Player number of (Owner of GDD_DamagedUnit))]
-
-
Then - Actions
-
Set Kalen_2[(Player number of (Owner of GDD_DamagedUnit))] = (Integer A)
-
-
Else - Actions
-
Item - Remove (Item carried by GDD_DamagedUnit of type Kelen's Dagger)
-
Hero - Create Kelen's Dagger (Disabled) and give it to GDD_DamagedUnit
-
-
-
-
-
Kalens Dagger 2
-
Events
-
Game - GDD_Event becomes Equal to 0.00
-
-
Conditions
-
(GDD_DamagedUnit has an item of type Kelen's Dagger (Disabled)) Equal to True
-
(GDD_DamageSource is A Hero) Equal to True
-
-
Actions
-
Set Kalen_i[(Player number of (Owner of GDD_DamagedUnit))] = 3
-
-
-
Kalens Dagger 3
-
Events
-
Time - Every 3.00 seconds of game time
-
-
Conditions
-
Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Kalen_i[(Integer A)] Greater than 0
-
-
Then - Actions
-
Set Kalen_i[(Integer A)] = Kalen_i[((Integer A) - 1)]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Kalen_i[(Integer A)] Equal to 0
-
(Kalen_u[(Integer A)] has an item of type Kelen's Dagger) Equal to False
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Life of Kalen_u[(Integer A)]) Greater than or equal to 0.45
-
-
Then - Actions
-
Item - Remove (Item carried by Kalen_u[(Integer A)] of type Kelen's Dagger (Disabled))
-
Hero - Create Kelen's Dagger and give it to Kalen_u[(Integer A)]
-
-
Else - Actions
-
Trigger - Turn on Kalens Debugg <gen>
-
-
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
-
-
-
Kalens Debugg
-
Events
-
Unit - A unit Finishes reviving
-
-
Conditions
-
((Reviving Hero) has an item of type Kelen's Dagger (Disabled)) Equal to True
-
-
Actions
-
Item - Remove (Item carried by (Reviving Hero) of type Kelen's Dagger (Disabled))
-
Hero - Create Kelen's Dagger and give it to (Reviving Hero)
-
-
It was then made item Drop