fix(Scripts/ZulGurub): Shade of Jin'do's invisibility aura should not… (#11838)

* fix(Scripts/ZulGurub): Shade of Jin'do's invisibility aura should not be removed on attack.

Fixes #11557

* missing stuff.

* Update.
This commit is contained in:
UltraNix 2022-06-06 20:20:40 +02:00 committed by GitHub
parent 75858bd786
commit 41b0fa02f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 6 deletions

View file

@ -37,12 +37,12 @@ enum Spells
SPELL_POWERFULLHEALINGWARD = 24309,
SPELL_HEX = 24053,
SPELL_DELUSIONSOFJINDO = 24306,
SPELL_SHADEOFJINDO = 24308, // HACKED
//Healing Ward Spell
SPELL_HEAL = 24311,
//Shade of Jindo Spell
SPELL_SHADOWSHOCK = 19460,
SPELL_INVISIBLE = 24699
SPELL_SHADEOFJINDO_PASSIVE = 24307,
SPELL_SHADEOFJINDO_VISUAL = 24313,
SPELL_SHADOWSHOCK = 19460
};
enum Events
@ -250,7 +250,8 @@ public:
void Reset() override
{
ShadowShock_Timer = 1000;
DoCast(me, SPELL_INVISIBLE, true);
DoCastSelf(SPELL_SHADEOFJINDO_PASSIVE, true);
DoCastSelf(SPELL_SHADEOFJINDO_VISUAL, true);
}
void EnterCombat(Unit* /*who*/) override { }