aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/Uldaman
diff options
context:
space:
mode:
authorZxBiohazardZx <zxbiohazardzx@gmail.com>2012-11-20 13:53:55 -0800
committerZxBiohazardZx <zxbiohazardzx@gmail.com>2012-11-20 13:53:55 -0800
commit074b2e39360f03f50e017d3420fb17c32cd2d065 (patch)
tree2f330c23ed590af14e682760ab1321a835d2c434 /src/server/scripts/EasternKingdoms/Uldaman
parentcd2b79f8d4b978559cc564f0a9a1c22bf03afeea (diff)
parent9f360cc81c5ce12db7980f1ce9513b3067e740aa (diff)
Merge pull request #8371 from Gacko/creaturetext
Core/DB: Some script to creature text conversions...
Diffstat (limited to 'src/server/scripts/EasternKingdoms/Uldaman')
-rw-r--r--src/server/scripts/EasternKingdoms/Uldaman/boss_ironaya.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/server/scripts/EasternKingdoms/Uldaman/boss_ironaya.cpp b/src/server/scripts/EasternKingdoms/Uldaman/boss_ironaya.cpp
index c05a36f93a7..1537f0eeb88 100644
--- a/src/server/scripts/EasternKingdoms/Uldaman/boss_ironaya.cpp
+++ b/src/server/scripts/EasternKingdoms/Uldaman/boss_ironaya.cpp
@@ -26,11 +26,13 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
-#define SAY_AGGRO -1070000
-
-#define SPELL_ARCINGSMASH 8374
-#define SPELL_KNOCKAWAY 10101
-#define SPELL_WSTOMP 11876
+enum Ironaya
+{
+ SAY_AGGRO = 0,
+ SPELL_ARCINGSMASH = 8374,
+ SPELL_KNOCKAWAY = 10101,
+ SPELL_WSTOMP = 11876,
+};
class boss_ironaya : public CreatureScript
{
@@ -58,7 +60,7 @@ class boss_ironaya : public CreatureScript
void EnterCombat(Unit* /*who*/)
{
- DoScriptText(SAY_AGGRO, me);
+ Talk(SAY_AGGRO);
}
void UpdateAI(const uint32 uiDiff)