Core/Script: update creature_text for the Paladin Trial Quests in Eversong from sniffs

closes #4699
This commit is contained in:
malcrom
2012-01-08 13:34:49 +01:00
committed by ZxBiohazardZx
parent 7b86761045
commit 57e1972b86
2 changed files with 17 additions and 8 deletions
@@ -0,0 +1,9 @@
-- Remove old script text for eversong_woods.cpp
DELETE FROM `script_texts` WHERE `entry` BETWEEN -1000637 AND -1000640;
-- Master Kelerun Bloodmourn <Blood Knight> say text
DELETE FROM `creature_text` WHERE `entry`=17807;
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
(17807,0,0, 'Let the trial begin, Bloodwrath, attack!',14,0,100,0,0,0, 'Master Kelerun Bloodmourn'),
(17807,1,0, 'Champion Lightrend, make me proud!',14,0,100,0,0,0, 'Master Kelerun Bloodmourn'),
(17807,2,0, 'Show this upstart how a real Blood Knight fights, Swiftblade!',14,0,100,0,0,0, 'Master Kelerun Bloodmourn'),
(17807,3,0, 'Show $N the meaning of pain, Sunstriker!',14,0,100,0,0,0, 'Master Kelerun Bloodmourn');
@@ -69,10 +69,10 @@ enum eFaction
enum eSays
{
TEXT_SECOND_TRIAL_1 = -1000637,
TEXT_SECOND_TRIAL_2 = -1000638,
TEXT_SECOND_TRIAL_3 = -1000639,
TEXT_SECOND_TRIAL_4 = -1000640,
TEXT_SECOND_TRIAL_1 = 0,
TEXT_SECOND_TRIAL_2 = 1,
TEXT_SECOND_TRIAL_3 = 2,
TEXT_SECOND_TRIAL_4 = 3,
};
struct Locations
@@ -335,16 +335,16 @@ public:
switch (paladinPhase)
{
case 0:
DoScriptText(TEXT_SECOND_TRIAL_1, me);
Talk(TEXT_SECOND_TRIAL_1);
break;
case 1:
DoScriptText(TEXT_SECOND_TRIAL_2, me);
Talk(TEXT_SECOND_TRIAL_2);
break;
case 2:
DoScriptText(TEXT_SECOND_TRIAL_3, me);
Talk(TEXT_SECOND_TRIAL_3);
break;
case 3:
DoScriptText(TEXT_SECOND_TRIAL_4, me);
Talk(TEXT_SECOND_TRIAL_4);
break;
}
}