The Sleeper Has Awakened: start with the Horn of Awakening, Kerlonian naps less often (Blizzard's 6 November hotfix)

(cherry picked from commit e3f18a35c01b2157c2838a129698f904bc461fcf)
This commit is contained in:
Karrz1
2026-11-11 23:37:48 +00:00
parent e9548d9a7c
commit 9b334e6740
2 changed files with 15 additions and 3 deletions
@@ -0,0 +1,7 @@
-- Blizzard hotfix 6 November 2026: "The Sleeper Has Awakened": "Players also start with the Horn of Awakening."
-- Accepting the quest (5321, Kerlonian Evershade, Darkshore) now hands over the Horn of Awakening (13536), the item that wakes
-- Kerlonian when he falls asleep on the way. It goes away again if the quest is dropped. Kerlonian's Chest still holds one as
-- before. The other half of the hotfix (he falls asleep less often) is in classic_darkshore.cpp.
-- Safe to run again.
UPDATE `quest_template` SET `StartItem`=13536 WHERE `ID`=5321;
INSERT INTO `quest_template_addon` (`ID`,`ProvidedItemCount`) VALUES (5321,1) ON DUPLICATE KEY UPDATE `ProvidedItemCount`=1;
@@ -193,11 +193,16 @@ enum KerlonianData
// TODO: make concept similar as "ringo" -escort. Find a way to run the scripted attacks, _if_ player are choosing road. (VMaNGOS comment)
struct classic_npc_kerlonian : public FollowerAI
{
classic_npc_kerlonian(Creature* creature) : FollowerAI(creature), _fallAsleepTimer(urand(10000, 45000)) { }
// Blizzard hotfix 6 November 2026: "Kerlonian Evershade falls asleep less often". No numbers were given; ours (VMaNGOS:
// first nap after 10-45 s, then every 25-90 s) are doubled.
static uint32 FirstNapTimer() { return urand(20000, 90000); }
static uint32 NextNapTimer() { return urand(50000, 180000); }
classic_npc_kerlonian(Creature* creature) : FollowerAI(creature), _fallAsleepTimer(FirstNapTimer()) { }
void Reset() override
{
_fallAsleepTimer = urand(10000, 45000);
_fallAsleepTimer = FirstNapTimer();
}
void JustAppeared() override
@@ -289,7 +294,7 @@ struct classic_npc_kerlonian : public FollowerAI
if (_fallAsleepTimer < diff)
{
SetSleeping();
_fallAsleepTimer = urand(25000, 90000);
_fallAsleepTimer = NextNapTimer();
}
else
_fallAsleepTimer -= diff;