The intended effect is to trigger this when a hero holding a specific item reaches lethal damage (using damage engine) and it would run the trigger. During this time for 3s, the hero holding the item would be Soul Burned (prevent using spells), banish (prevent attacks + gives a good ghost-looking SFX) and become immune to all damage (was originally going to use Invulnerable but then I decided Berserk with -# so I can show the buff icon representing the item. Soul Burn & Banish will be universal for other stuff so their buff status/icon cannot be changed). But yeah I can't figure out why this lags so hard. I'm currently testing it through a throwaway trigger by having it triggered when I cast a spell. Thank you ahead of time if someone can help me.
-
Restless Dead Effects Copy Copy
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Jaina's Blizzard (Jaina Q)
-
-
Actions
-
Set VariableSet TempUnit[0] = (Triggering unit)
-
Set VariableSet TempPoint[0] = (Position of TempUnit[0])
-
Unit - Create 1 AllUnitTypes[0] for (Owner of TempUnit[0]) at TempPoint[0] facing Default building facing degrees
-
Unit - Add (Apparitional) Debuffs to (Last created unit)
-
Ability - Set Ability: (Unit: (Last created unit)'s Ability with Ability Code: (Apparitional) Debuffs )'s Real Level Field: Damage Penalty ('Nso3') of Level: 0 to 1.00
-
Ability - Set Ability: (Unit: (Last created unit)'s Ability with Ability Code: (Apparitional) Debuffs )'s Real Level Field: Duration - Hero ('ahdu') of Level: 0 to 3.00
-
Ability - Set Ability: (Unit: (Last created unit)'s Ability with Ability Code: (Apparitional) Debuffs )'s Real Level Field: Duration - Normal ('adur') of Level: 0 to 3.00
-
Unit - Order (Last created unit) to Neutral Fire Lord - Soul Burn TempUnit[0]
-
Unit - Add a 0.40 second Generic expiration timer to (Last created unit)
-
Unit - Create 1 AllUnitTypes[0] for (Owner of TempUnit[0]) at TempPoint[0] facing Default building facing degrees
-
Unit - Add ALL Banish to (Last created unit)
-
Ability - Set Ability: (Unit: (Last created unit)'s Ability with Ability Code: ALL Banish )'s Real Level Field: Duration - Hero ('ahdu') of Level: 0 to 3.00
-
Ability - Set Ability: (Unit: (Last created unit)'s Ability with Ability Code: ALL Banish )'s Real Level Field: Duration - Normal ('adur') of Level: 0 to 3.00
-
Unit - Order (Last created unit) to Human Blood Mage - Banish TempUnit[0]
-
Unit - Add a 0.40 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_TempPoint[0])
-
Unit - Add (Apparitional) Restless Dead 100% Mitigate to TempUnit[0]
-
Unit - Order TempUnit[0] to Orc Troll Berserker - Berserk.
-
Unit - Remove (Apparitional) Restless Dead 100% Mitigate from TempUnit[0]
-
-