Skip to content

Commit

Permalink
fix(DB/Texts): Added texts to Halazzi. (#14124)
Browse files Browse the repository at this point in the history
* fix(DB/Texts): Added texts to Halazzi.

Fixes #8744

* Update.
  • Loading branch information
UltraNix committed Jan 7, 2023
1 parent 9ba464a commit dbeffd1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
11 changes: 11 additions & 0 deletions data/sql/updates/pending_db_world/rev_1670753866467974200.sql
@@ -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');
13 changes: 6 additions & 7 deletions src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
Expand Up @@ -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
Expand Down Expand Up @@ -197,7 +196,6 @@ class boss_halazzi : public CreatureScript

if (BerserkTimer <= diff)
{
Talk(SAY_BERSERK);
DoCast(me, SPELL_BERSERK, true);
BerserkTimer = 60000;
}
Expand All @@ -207,6 +205,7 @@ class boss_halazzi : public CreatureScript
{
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);
Expand Down

0 comments on commit dbeffd1

Please sign in to comment.