aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2014-07-08 07:14:26 +0200
committerAokromes <Aokromes@users.noreply.github.com>2014-07-08 07:14:26 +0200
commitaa5304aeb25504b21341adcc0192adb8cc76e2af (patch)
treea3d650e8c912fbcc6444189212bce7eb1f681489 /sql
parent43569d7733c0e7646186b2626049dff642387849 (diff)
DB/Creature: Spawn Eris Havenfire
By dr-j, closes #2456
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2014_07_08_04_world_creature.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/2014_07_08_04_world_creature.sql b/sql/updates/world/2014_07_08_04_world_creature.sql
new file mode 100644
index 00000000000..0b6fa9ec8e4
--- /dev/null
+++ b/sql/updates/world/2014_07_08_04_world_creature.sql
@@ -0,0 +1,11 @@
+--
+SET @CGUID := 43502;
+DELETE FROM `creature` WHERE `id`=14494;
+INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES
+(@CGUID, 14494, 0, 1, 1, 0, 0, 3325.180420 , -2997.122803, 164.205444, 5.663, 300, 0, 0, 3052, 0, 0, 0, 0, 0);
+
+UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= 14494;
+
+DELETE FROM `smart_scripts` WHERE `entryorguid`=14494;
+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
+(14494, 0, 0, 0,11, 0, 100, 0, 0, 0, 0, 0, 11, 32648, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Eris Havenfire - On Spawn - Cast Ancestor Invisibility');