From 5ebba6e2feba94c9b4ee2f476fdd8f5412d1a6f1 Mon Sep 17 00:00:00 2001 From: Kudlaty Date: Fri, 14 Aug 2009 21:29:28 +0200 Subject: Merge [SD2] r1272 Rough cleanup of hyjal-related scripts. Mainly applied SD2 code style, but also minor improvement of code and removal of not needed functions. - skip r1273 Move code and use JustSummoned() instead of own system in hyjalAI - skip r1274 Simplify way to determine where to spawn creature and remove already known base area passed in function. Also rename arrays. - skip r1275 Provide updated .patch file after changes in Mangos rev 8255 - skip r1277 Remove adding threat for summoned waves in hyjal and instead move to point when summoned. Also add simple handler to attempt move summoned closer to base bosses when not in combat. - skip r1278 Replace world state functions in misc scripts with new ScriptedInstance function. r1279 Simplify spawning of correct wave in hyjal. Remove no longer needed arguments in related function. Also restore wave timer reset in case all mobs in wave are dead before master timer end. - skip r1280 Added basic support for quest 1324. Patch by jotapdiez Also adding additional data for further development of event. --HG-- branch : trunk --- sql/FULL/world_scripts_full.sql | 1 + sql/updates/5020_world_scripts.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 sql/updates/5020_world_scripts.sql (limited to 'sql') diff --git a/sql/FULL/world_scripts_full.sql b/sql/FULL/world_scripts_full.sql index e46b2a37dda..b85b4b8cbb1 100644 --- a/sql/FULL/world_scripts_full.sql +++ b/sql/FULL/world_scripts_full.sql @@ -438,6 +438,7 @@ UPDATE `creature_template` SET `ScriptName`='npc_deserter_agitator' WHERE `entry UPDATE `creature_template` SET `ScriptName`='npc_lady_jaina_proudmoore' WHERE `entry`=4968; UPDATE `creature_template` SET `ScriptName`='npc_nat_pagle' WHERE `entry`=12919; UPDATE `creature_template` SET `ScriptName`='npc_restless_apparition' WHERE `entry`=23861; +UPDATE `creature_template` SET `ScriptName`='npc_private_hendel' WHERE `entry`=4966; /* EASTERN PLAGUELANDS */ UPDATE `creature_template` SET `ScriptName`='mobs_ghoul_flayer' WHERE `entry` IN (8530,8531,8532); diff --git a/sql/updates/5020_world_scripts.sql b/sql/updates/5020_world_scripts.sql new file mode 100644 index 00000000000..6ce3fe82f5a --- /dev/null +++ b/sql/updates/5020_world_scripts.sql @@ -0,0 +1 @@ +UPDATE creature_template SET ScriptName='npc_private_hendel' WHERE entry=4966; -- cgit v1.2.3