Scripts/Utgarde Pinnacle:

- Fix spamming of spell Ball of Flame (48246).
- Added missing text of Image of Arthas.
- Code cleanup and code style.
- Typo fix in sql naming in commit 6cb4950489
This commit is contained in:
Emo Norfik
2012-01-09 14:01:58 +01:00
parent f850baeb30
commit 2dc6cb15ed
4 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,5 @@
-- Missing Image of Arthas say text
DELETE FROM `creature_text` WHERE `entry`=29280;
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
(29280,0,0, 'Your sacrifice is a testament to your obedience. Indeed you are worthy of this charge. Arise, and forever be known as Svala Sorrowgrave!',14,0,0,0,0,14732, 'Image of Arthas SAY_DIALOG_OF_ARTHAS_1'),
(29280,1,0, 'Your first test awaits you. Destroy our uninvited guests.',14,0,0,0,0,14733, 'Image of Arthas SAY_DIALOG_OF_ARTHAS_2');

View File

@@ -0,0 +1,2 @@
-- Fix spamming of spell Ball of Flame (48246)
UPDATE `smart_scripts` SET `event_type`=54, `event_param1`=0, `event_param2`=0, `event_param3`=0, `event_param4`=0 WHERE `entryorguid`=27273;

View File

@@ -102,14 +102,7 @@ static const float spectatorWP[2][3] =
{297.69f,-275.81f,86.36f}
};
static Position RitualChannelerPos[]=
{
{296.42f, -355.01f, 90.94f, 1.58f},
{302.36f, -352.01f, 90.54f, 2.20f},
{291.39f, -352.01f, 90.54f, 0.91f}
};
static Position ArthasPos = { 295.81f, -366.16f, 92.57f, 1.58f };
static Position SvalaPos = { 296.632f, -346.075f, 90.6307f, 1.58f };
class boss_svala : public CreatureScript
{
@@ -527,9 +520,9 @@ public:
struct npc_ritual_channelerAI : public Scripted_NoMovementAI
{
npc_ritual_channelerAI(Creature* c) :Scripted_NoMovementAI(c)
npc_ritual_channelerAI(Creature* creature) :Scripted_NoMovementAI(creature)
{
instance = c->GetInstanceScript();
instance = creature->GetInstanceScript();
}
InstanceScript* instance;
@@ -574,7 +567,7 @@ public:
struct npc_spectatorAI : public ScriptedAI
{
npc_spectatorAI(Creature* c) : ScriptedAI(c) { }
npc_spectatorAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() { }