- Joined
- Jun 15, 2018
- Messages
- 195
So far I have used damage engine 5.7.2. I changed it to 5.9.0. I noticed my triggers stopped working. Can someone please tell me why? Or say how to do it right now?
-
DH Splash Damage
-
Events
-
Game - DamageEvent becomes Equal to 1.00
-
-
Conditions
-
IsDamageAttack Equal to True
-
(Unit-type of DamageEventSource) Equal to Demon Hunter (Demon Form)
-
(DamageEventTarget belongs to an enemy of (Owner of DamageEventSource).) Equal to True
-
-
Actions
-
Set VariableSet FullDamage = (DamageEventAmount x 0.50)
-
Set VariableSet MediumDamage = (DamageEventAmount x 0.25)
-
Set VariableSet SmallDamage = (DamageEventAmount x 0.25)
-
Set VariableSet TempPoint8 = (Position of DamageEventTarget)
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 250.00 of TempPoint8.) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is alive) Equal to True
-
(Picked unit) Not equal to DamageEventTarget
-
((Picked unit) belongs to an enemy of (Owner of DamageEventSource).) Equal to True
-
-
Then - Actions
-
Unit - Cause DamageEventSource to damage (Picked unit), dealing SmallDamage damage of attack type Chaos and damage type Normal
-
-
Else - Actions
-
-
-
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 150.00 of TempPoint8.) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is alive) Equal to True
-
(Picked unit) Not equal to DamageEventTarget
-
((Picked unit) belongs to an enemy of (Owner of DamageEventSource).) Equal to True
-
-
Then - Actions
-
Unit - Cause DamageEventSource to damage (Picked unit), dealing MediumDamage damage of attack type Chaos and damage type Normal
-
-
Else - Actions
-
-
-
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 50.00 of TempPoint8.) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is alive) Equal to True
-
(Picked unit) Not equal to DamageEventTarget
-
((Picked unit) belongs to an enemy of (Owner of DamageEventSource).) Equal to True
-
-
Then - Actions
-
Unit - Cause DamageEventSource to damage (Picked unit), dealing FullDamage damage of attack type Chaos and damage type Normal
-
-
Else - Actions
-
-
-
-
Custom script: call RemoveLocation(udg_TempPoint8)
-
-
-
Killmaim
-
Events
-
Game - DamageEvent becomes Equal to 1.00
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IsDamageAttack Equal to True
-
(DamageEventTarget belongs to an enemy of (Owner of DamageEventSource).) Equal to True
-
(DamageEventTarget is A structure) Equal to False
-
(DamageEventSource is A Hero) Equal to True
-
(DamageEventSource has an item of type Killmaim) Equal to True
-
-
Then - Actions
-
Set VariableSet HPStealAmount = (DamageEventAmount x 0.50)
-
Set VariableSet HPStealAmountInt = (Integer(HPStealAmount))
-
Set VariableSet HPStealAmount = (Real(HPStealAmountInt))
-
Unit - Set life of DamageEventSource to ((Life of DamageEventSource) + HPStealAmount)
-
Special Effect - Create a special effect attached to the origin of DamageEventSource using Abilities\Spells\Undead\VampiricAura\VampiricAuraTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
-
-