fix(DB/Texts): Added texts to Halazzi. (#14124)

* fix(DB/Texts): Added texts to Halazzi.

Fixes #8744

* Update.
This commit is contained in:
UltraNix
2023-01-07 20:30:09 +01:00
committed by GitHub
parent 9ba464a12b
commit dbeffd1466
2 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
--
DELETE FROM `creature_text` WHERE `CreatureID`=23577;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(23577,0,0,'Get on ya knees and bow.... to da fang and claw!',14,0,100,0,0,12020,0,0,'Halazzi - SAY_AGGRO'),
(23577,1,0,'You can\t fight da power!',14,0,100,0,0,12026,0,0,'Halazzi - SAY_KILL'),
(23577,1,1,'Ya all gonna fail!',14,0,100,0,0,12027,0,0,'Halazzi - SAY_KILL'),
(23577,2,0,'Me gonna carve ya now!',14,0,100,0,0,12023,0,0,'Halazzi - SAY_SABER'),
(23577,2,1,'You gonna leave in pieces!',14,0,100,0,0,12024,0,0,'Halazzi - SAY_SABER'),
(23577,3,0,'I fight wit\ untamed spirit....',14,0,100,0,0,12021,0,0,'Halazzi - SAY_SPLIT'),
(23577,4,0,'Spirit, come back to me!',14,0,100,0,0,12022,0,0,'Halazzi - SAY_MERGE'),
(23577,5,0,'Chaga... choka\jinn.',14,0,100,0,0,12028,0,0,'Halazzi - SAY_DEATH');

View File

@@ -56,12 +56,11 @@ enum PhaseHalazzi
enum Yells
{
SAY_AGGRO = 0,
SAY_SABER = 1,
SAY_SPLIT = 2,
SAY_MERGE = 3,
SAY_KILL = 4,
SAY_DEATH = 5,
SAY_BERSERK = 6
SAY_KILL = 1,
SAY_SABER = 2,
SAY_SPLIT = 3,
SAY_MERGE = 4,
SAY_DEATH = 5
};
class boss_halazzi : public CreatureScript
@@ -197,7 +196,6 @@ public:
if (BerserkTimer <= diff)
{
Talk(SAY_BERSERK);
DoCast(me, SPELL_BERSERK, true);
BerserkTimer = 60000;
}
@@ -207,6 +205,7 @@ public:
{
if (SaberlashTimer <= diff)
{
Talk(SAY_SABER);
// A tank with more than 490 defense skills should receive no critical hit
//DoCast(me, 41296, true);
DoCastVictim(SPELL_SABER_LASH, true);