diff options
author | Killyana <morphone1@gmail.com> | 2015-12-14 20:12:50 +0100 |
---|---|---|
committer | Killyana <morphone1@gmail.com> | 2015-12-14 20:12:50 +0100 |
commit | ee9e037f33024b32eee9a60aeba607ab2b5051f8 (patch) | |
tree | 22f6dc5106fe1be4fe6898bd8322bc030fb14c07 | |
parent | 04e0b19cb199b790b9ed613ff8e5450b39865223 (diff) |
DB/Creature: Add Wounded Outrunner spawn
Fix curhealth and health regen for Wounded Deathguard
-rw-r--r-- | sql/updates/world/2015_12_14_01_world.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/2015_12_14_01_world.sql b/sql/updates/world/2015_12_14_01_world.sql new file mode 100644 index 00000000000..e9fea1734ec --- /dev/null +++ b/sql/updates/world/2015_12_14_01_world.sql @@ -0,0 +1,16 @@ +-- +SET @Guid:=250893; +DELETE FROM `creature` WHERE `id`=44857 AND `guid` BETWEEN @guid+0 AND @guid+5; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseid`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`) VALUES +(@guid+0, 44857, 530, 1, 0, 0, 0, 10365.6, -6388.26, 38.6156, 4.55531, 300, 0, 0, 650, 0, 0), +(@guid+1, 44857, 530, 1, 0, 0, 0, 10375.3, -6432.24, 38.6156, 1.46608, 300, 0, 0, 650, 0, 0), +(@guid+2, 44857, 530, 1, 0, 0, 0, 10358.7, -6417.56, 38.6155, 1.13446, 300, 0, 0, 650, 0, 0), +(@guid+3, 44857, 530, 1, 0, 0, 0, 10337, -6413.31, 38.6156, 0.349066, 300, 0, 0, 650, 0, 0), +(@guid+4, 44857, 530, 1, 0, 0, 0, 10365.4, -6411.05, 38.6155, 0.715585, 300, 0, 0, 650, 0, 0), +(@guid+5, 44857, 530, 1, 0, 0, 0, 10341.4, -6396.64, 38.6156, 5.77704, 300, 0, 0, 650, 0, 0); + +DELETE FROM `creature_template_addon` WHERE `entry` = 44857; +INSERT INTO `creature_template_addon` (`entry`,`bytes1`) VALUES (44857, 8); + +UPDATE `creature_template` SET `RegenHealth`=0 WHERE `Entry` IN (44857, 44795); +UPDATE `creature` SET `curhealth`=650 WHERE `id`=44795; |