aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2017-06-23 02:16:27 +0200
committerKillyana <morphone1@gmail.com>2017-06-23 02:16:27 +0200
commit24b11a4dc0f3862ec9d52748c4763e2c28b25458 (patch)
tree427c9dbe3d89283fa763690569392624b1ebc35f
parente90660bab33ead6aa8b3aabfcbbdcd6a552cadd7 (diff)
DB/Creature: North Sea Kraken Pooling
-rw-r--r--sql/updates/world/3.3.5/2017_06_22_01_world.sql27
1 files changed, 27 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_06_22_01_world.sql b/sql/updates/world/3.3.5/2017_06_22_01_world.sql
new file mode 100644
index 00000000000..5ae05c014d6
--- /dev/null
+++ b/sql/updates/world/3.3.5/2017_06_22_01_world.sql
@@ -0,0 +1,27 @@
+--
+DELETE FROM `smart_scripts` WHERE `entryorguid`=34925 AND `source_type`=0 AND `id`>6;
+INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
+(34925, 0, 7, 0, 1, 1, 100, 0, 3000, 4000, 5000, 9000, 11, 66514, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "North Sea Kraken - OOC - Cast Frost Breath"),
+(34925, 0, 8, 0, 1, 1, 100, 0, 10000, 15000, 10000, 15000, 11, 66511, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Northsea Kraken - OOC - Cast Whirl"),
+(34925, 0, 9, 0, 1, 1, 100, 1, 32000, 32000, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Northsea Kraken - OOC - Set event phase"),
+(34925, 0, 10, 0, 1, 0, 100, 1, 33000, 33000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Northsea Kraken - OOC - despawn"),
+(34925, 0, 11, 0, 36, 0, 100, 0, 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Northsea Kraken - on corpse removed - Respawn"),
+(34925, 0, 12, 0, 1, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Northsea Kraken - OOC - Set event phase"),
+(34925, 0, 13, 0, 1, 0, 100, 1, 32000, 32000, 0, 0, 92, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Northsea Kraken - OOC - Inturreput cast");
+
+DELETE FROM `creature` WHERE `guid` IN (80432);
+INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
+(80432, 34925, 571, 0, 0, 1, 1, 0, 0, 9488.415, 1161.303, -2.197, 2.454109, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+
+DELETE FROM `pool_template` WHERE `entry`=375;
+INSERT INTO pool_template (`entry`,`max_limit`,`description`) VALUES
+(375,1, 'North Sea Kraken (1 out 4)');
+
+DELETE FROM `pool_creature` WHERE `pool_entry`=375;
+INSERT INTO pool_creature(`guid`,`pool_entry`,`chance`,`description`) VALUES
+(80432,375,0, 'North Sea Kraken 1'),
+(53835,375,0, 'North Sea Kraken 2'),
+(53836,375,0, 'North Sea Kraken 3'),
+(53871,375,0, 'North Sea Kraken 4');
+
+UPDATE `creature` SET `spawntimesecs`=5 WHERE `id`=34925;