Skip to content

Commit

Permalink
fix(Scripts/MagisterTerrace): Implement missing Kaelthas text line (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah authored Jan 23, 2025
1 parent eee1a8b commit a38da4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions data/sql/updates/pending_db_world/rev_1737602003829088500.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--
DELETE FROM `creature_text` WHERE `CreatureID` = 24664 AND `GroupID` = 7;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(24664, 7, 0, 'Oh no, he was merely an instrument, a stepping stone to a much larger plan! It has all led to this... and this time you will not interfere!', 14, 0, 100, 25387, 0, 'kaelthas MT SAY_AGGRO_2');
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ enum Says
SAY_GRAVITY_LAPSE = 3,
SAY_TIRED = 4,
SAY_RECAST_GRAVITY = 5,
SAY_DEATH = 6
SAY_DEATH = 6,
SAY_AGGRO_2 = 7
};

enum Spells
Expand Down Expand Up @@ -172,6 +173,7 @@ struct boss_felblood_kaelthas : public BossAI
if (!_hasDoneIntro && me->IsWithinDistInMap(who, 40.0f) && who->IsPlayer())
{
Talk(SAY_AGGRO);
Talk(SAY_AGGRO_2, 20s);
_hasDoneIntro = true;
_OOCScheduler.Schedule(35s, [this](TaskContext){
me->SetReactState(REACT_AGGRESSIVE);
Expand Down

0 comments on commit a38da4b

Please sign in to comment.