aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2011-03-25 00:20:24 +0000
committerNay <dnpd.dd@gmail.com>2011-03-25 00:20:24 +0000
commit0be209c5a04627c037ce1aa98b3107950243fef2 (patch)
tree163d6ff20d934c32cb4127b464945878a0942718
parentcdcb9527e40ce26cbdfa63e6f02e28c881651cfc (diff)
DB/Creatures: All undeads should be immune to fear and horror. Correct position for triggers (most of them should be on air).
Closes #8 & #158
-rw-r--r--sql/updates/world/2011_03_25_0_world_creature_template.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/2011_03_25_0_world_creature_template.sql b/sql/updates/world/2011_03_25_0_world_creature_template.sql
new file mode 100644
index 00000000000..75b8c31885f
--- /dev/null
+++ b/sql/updates/world/2011_03_25_0_world_creature_template.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `InhabitType`=7 WHERE `flags_extra` & 128; -- Triggers floating
+UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|16|8388608 WHERE `type`=6; -- Mobs undeads should be immune to fear and horror