Scripts/UK: Re-written Prince Keleseth script.

* Corrected spawns amount, only 4 Skeletons must be spawned not 5.
* Adjusted timers, now they are blizzlike.
    * This also includes skeleton resurrection timer.
* Removed hacky code that was replacing spells (they are casted now).
* Implemented "On The Rocks" achievement.

Thanks to Subv for help.
This commit is contained in:
Manuel Carrasco
2012-01-23 20:03:06 -03:00
parent 14c9478c93
commit 40c6e7bcdb
6 changed files with 260 additions and 266 deletions

View File

@@ -0,0 +1,2 @@
UPDATE `creature_template` SET `ScriptName`='npc_frost_tomb' WHERE `entry`=23965;
UPDATE `creature_template` SET `ScriptName`='npc_vrykul_skeleton' WHERE `entry`=23970;

View File

@@ -0,0 +1 @@
DELETE FROM `disables` WHERE `entry`=7231 AND `sourceType`=4;

View File

@@ -0,0 +1,3 @@
DELETE FROM `achievement_criteria_data` WHERE `criteria_id`=7231;
INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `ScriptName`) VALUES
(7231,11,'achievement_on_the_rocks');

View File

@@ -0,0 +1,9 @@
DELETE FROM `script_texts` WHERE `entry` IN (-1574000,-1574001,-1574002,-1574003,-1574004);
DELETE FROM `creature_text` WHERE `entry`=23953;
INSERT INTO `creature_text` (`entry`, `groupid`, `text`, `sound`, `emote`, `type`) VALUES
(23953,1,'Your blood is mine!',13221,7,14),
(23953,2,'Aranal, ledel! Their fate shall be yours!',13224,0,14),
(23953,3,'Not so fast.',13222,0,14),
(23953,4,'%s casts Frost Tomb on $n.',0,0,41),
(23953,5,'I join... the night.',13225,0,14);

View File

@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=48400;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(48400,'spell_frost_tomb');