mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(DB/Texts): Added texts to Halazzi. (#14124)
* fix(DB/Texts): Added texts to Halazzi. Fixes #8744 * Update.
This commit is contained in:
@@ -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');
|
||||||
@@ -56,12 +56,11 @@ enum PhaseHalazzi
|
|||||||
enum Yells
|
enum Yells
|
||||||
{
|
{
|
||||||
SAY_AGGRO = 0,
|
SAY_AGGRO = 0,
|
||||||
SAY_SABER = 1,
|
SAY_KILL = 1,
|
||||||
SAY_SPLIT = 2,
|
SAY_SABER = 2,
|
||||||
SAY_MERGE = 3,
|
SAY_SPLIT = 3,
|
||||||
SAY_KILL = 4,
|
SAY_MERGE = 4,
|
||||||
SAY_DEATH = 5,
|
SAY_DEATH = 5
|
||||||
SAY_BERSERK = 6
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class boss_halazzi : public CreatureScript
|
class boss_halazzi : public CreatureScript
|
||||||
@@ -197,7 +196,6 @@ public:
|
|||||||
|
|
||||||
if (BerserkTimer <= diff)
|
if (BerserkTimer <= diff)
|
||||||
{
|
{
|
||||||
Talk(SAY_BERSERK);
|
|
||||||
DoCast(me, SPELL_BERSERK, true);
|
DoCast(me, SPELL_BERSERK, true);
|
||||||
BerserkTimer = 60000;
|
BerserkTimer = 60000;
|
||||||
}
|
}
|
||||||
@@ -207,6 +205,7 @@ public:
|
|||||||
{
|
{
|
||||||
if (SaberlashTimer <= diff)
|
if (SaberlashTimer <= diff)
|
||||||
{
|
{
|
||||||
|
Talk(SAY_SABER);
|
||||||
// A tank with more than 490 defense skills should receive no critical hit
|
// A tank with more than 490 defense skills should receive no critical hit
|
||||||
//DoCast(me, 41296, true);
|
//DoCast(me, 41296, true);
|
||||||
DoCastVictim(SPELL_SABER_LASH, true);
|
DoCastVictim(SPELL_SABER_LASH, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user