fix(Scripts/Darkshore): ensure Kerlonian Evershade is always in bear form (#17062)

initial
This commit is contained in:
Dan
2023-09-17 14:42:07 +02:00
committed by GitHub
parent 09eaea6c6a
commit 45d6009cb7
2 changed files with 5 additions and 0 deletions
@@ -0,0 +1,2 @@
--
UPDATE `creature_addon` SET `auras` = '' WHERE `guid` = 39059;
@@ -175,6 +175,7 @@ enum Kerlonian
SPELL_SLEEP_VISUAL = 25148, SPELL_SLEEP_VISUAL = 25148,
SPELL_AWAKEN = 17536, SPELL_AWAKEN = 17536,
SPELL_BEAR_FORM = 18309,
QUEST_SLEEPER_AWAKENED = 5321, QUEST_SLEEPER_AWAKENED = 5321,
NPC_LILADRIS = 11219 //attackers entries unknown NPC_LILADRIS = 11219 //attackers entries unknown
}; };
@@ -194,6 +195,8 @@ public:
void Reset() override void Reset() override
{ {
FallAsleepTimer = urand(10000, 45000); FallAsleepTimer = urand(10000, 45000);
DoCastSelf(SPELL_BEAR_FORM);
} }
void MoveInLineOfSight(Unit* who) override void MoveInLineOfSight(Unit* who) override