- Joined
- Jun 2, 2009
- Messages
- 1,233
Hello everyone. I have an item in my map like this "Teleports the hero to short distance. This ability not works for 3 seconds if hero getting damaged from enemy heroes"
I have copied item, renamed it as "disabled kelen's dagger of escape" and remove it's ability.
I have simply giving the hero to non-useable version of the dagger. This trigger works well without any issues but it cannot detect reincarnated unit. Is there a way to give real version of the dagger to the reincarnated unit without changing duration of the reincarnation?
I have copied item, renamed it as "disabled kelen's dagger of escape" and remove it's ability.
I have simply giving the hero to non-useable version of the dagger. This trigger works well without any issues but it cannot detect reincarnated unit. Is there a way to give real version of the dagger to the reincarnated unit without changing duration of the reincarnation?
-
Dagger Event
-
Events
-
Game - GDD_Event becomes Equal to 0.00
-
-
Conditions
-
And - All (Conditions) are true
-
Conditions
-
(Owner of GDD_DamageSource) Not equal to ClanDevilPlayer
-
(Owner of GDD_DamageSource) Not equal to ClanReaperPlayer
-
(Owner of GDD_DamageSource) Not equal to Neutral Hostile
-
(Owner of GDD_DamageSource) Not equal to Neutral Passive
-
(GDD_DamagedUnit is A Hero) Equal to True
-
(GDD_DamagedUnit is an illusion) Equal to False
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(GDD_DamagedUnit has an item of type Kelen's Dagger of Escape) Equal to True
-
-
Then - Actions
-
Item - Remove (Item carried by GDD_DamagedUnit of type Kelen's Dagger of Escape)
-
Hero - Create Disabled Kelen's Dagger of Escape and give it to GDD_DamagedUnit
-
Countdown Timer - Pause Dagger[(Player number of (Owner of GDD_DamagedUnit))]
-
Countdown Timer - Start Dagger[(Player number of (Owner of GDD_DamagedUnit))] as a One-shot timer that will expire in 3.00 seconds
-
Set DaggerUnit[(Player number of (Owner of GDD_DamagedUnit))] = (Triggering unit)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(GDD_DamagedUnit has an item of type Disabled Kelen's Dagger of Escape) Equal to True
-
-
Then - Actions
-
Countdown Timer - Start Dagger[(Player number of (Owner of (Triggering unit)))] as a One-shot timer that will expire in 3.00 seconds
-
-
Else - Actions
-
-
-
-
-
-
Dagger Player2
-
Events
-
Time - Dagger[2] expires
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(DaggerUnit[2] is in Oluler_ug) Equal to False
-
-
Then - Actions
-
Item - Remove (Item carried by DaggerUnit[2] of type Disabled Kelen's Dagger of Escape)
-
Hero - Create Kelen's Dagger of Escape and give it to DaggerUnit[2]
-
-
Else - Actions
-
Countdown Timer - Start Dagger[2] as a One-shot timer that will expire in 3.00 seconds
-
-
-
-