diff options
| -rw-r--r-- | sql/updates/world/2012_XX_XX_XXX_world_creature_text.sql | 13 | ||||
| -rw-r--r-- | src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp | 19 | 
2 files changed, 21 insertions, 11 deletions
diff --git a/sql/updates/world/2012_XX_XX_XXX_world_creature_text.sql b/sql/updates/world/2012_XX_XX_XXX_world_creature_text.sql new file mode 100644 index 00000000000..f748696ab33 --- /dev/null +++ b/sql/updates/world/2012_XX_XX_XXX_world_creature_text.sql @@ -0,0 +1,13 @@ +-- AzjolNerub/Ahnkahet/Herald Volazj +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1619036 AND -1619030; +DELETE FROM `creature_text` WHERE `entry`=29311; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(29311,0,0, 'Shgla''yos plahf mh''naus.', 14,0,100,0,0,14043, 'SAY_AGGRO_1'), +(29311,0,1, 'They who dine on lost souls know only hunger.', 15, 0, 100, 0, 0, 14043, 'SAY_AGGRO_2'), +(29311,1,0, 'Ywaq puul skshgn: on''ma yeh''glu zuq.', 14,0,100,0,0,SOUND, 'SAY_SLAY_1'), +(29311,1,1, 'Ywaq ma phgwa''cul hnakf.',14,0,100,0,0,SOUND, 'SAY_SLAY_2'), +(29311,1,2, 'Ywaq maq oou; ywaq maq ssaggh. Ywaq ma shg''fhn.',14,0,100,0,0,SOUND, 'SAY_SLAY_3'), +(29311,2,0, 'Iilth vwah, uhn''agth fhssh za.', 14, 0, 100, 0, 0, 14048, 'SAY_DEATH_1'), +(29311,2,1, 'Where one falls, many shall take its place.', 15, 0, 100, 0, 0, 14048, 'SAY_DEATH_2'), +(29311,3,0, 'Gul''kafh an''shel. Yoq''al shn ky ywaq nuul.', 14, 0, 100, 0, 0, 14044, 'SAY_PHASE'); + diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp index e81d58b4ef3..3a937942118 100644 --- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp @@ -44,16 +44,13 @@ enum Creatures      MOB_TWISTED_VISAGE                            = 30625  }; -//not in db +  enum Yells  { -    SAY_AGGRO                                     = -1619030, -    SAY_SLAY_1                                    = -1619031, -    SAY_SLAY_2                                    = -1619032, -    SAY_SLAY_3                                    = -1619033, -    SAY_DEATH_1                                   = -1619034, -    SAY_DEATH_2                                   = -1619035, -    SAY_PHASE                                     = -1619036 +    SAY_AGGRO   = 0, +    SAY_SLAY    = 1, +    SAY_DEATH   = 2, +    SAY_PHASE   = 3  };  enum Achievements @@ -177,7 +174,7 @@ public:          void EnterCombat(Unit* /*who*/)          { -            DoScriptText(SAY_AGGRO, me); +            Talk(SAY_AGGRO);              if (instance)              { @@ -300,7 +297,7 @@ public:          void JustDied(Unit* /*killer*/)          { -            DoScriptText(SAY_DEATH_1, me); +            Talk(SAY_DEATH);              if (instance)                  instance->SetData(DATA_HERALD_VOLAZJ, DONE); @@ -311,7 +308,7 @@ public:          void KilledUnit(Unit* /*victim*/)          { -            DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2, SAY_SLAY_3), me); +            Talk(SAY_SLAY);          }      };  | 
