mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Scripting: Move Text for Timmy the Cruel to creature text
This commit is contained in:
4
sql/updates/world/2013_01_07_13_world_creature_text.sql
Normal file
4
sql/updates/world/2013_01_07_13_world_creature_text.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- Texts for Timmy the Cruel
|
||||
DELETE FROM `creature_text` WHERE `entry`= 10808;
|
||||
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
|
||||
(10808,0,0, 'TIMMY!',14,0,100,0,0,0, 'Timmy the Cruel - Yell on Spawn');
|
||||
@@ -26,9 +26,15 @@ EndScriptData */
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
#define SAY_SPAWN "TIMMY!"
|
||||
enum Says
|
||||
{
|
||||
SAY_SPAWN = 0
|
||||
};
|
||||
|
||||
#define SPELL_RAVENOUSCLAW 17470
|
||||
enum Spells
|
||||
{
|
||||
SPELL_RAVENOUSCLAW = 17470
|
||||
};
|
||||
|
||||
class boss_timmy_the_cruel : public CreatureScript
|
||||
{
|
||||
@@ -57,7 +63,7 @@ public:
|
||||
{
|
||||
if (!HasYelled)
|
||||
{
|
||||
me->MonsterYell(SAY_SPAWN, LANG_UNIVERSAL, 0);
|
||||
Talk(SAY_SPAWN);
|
||||
HasYelled = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user