aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDDuarte <dnpd.dd@gmail.com>2014-09-06 00:27:04 +0100
committerDDuarte <dnpd.dd@gmail.com>2014-09-06 00:27:04 +0100
commit0b4a2c6ca6df7a53e46782f7814c29f36747b9d6 (patch)
tree28e8e89c54c8336e79194bbb93cc7c101bb16524
parentd6a11924a60219a637580b604a2d3d5a6b613db7 (diff)
DB/NPCs: Remove dynamicflags that should not be in the DB
Tapped and lootable flags
-rw-r--r--sql/updates/world/2014_09_06_00_world_creature_template.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/2014_09_06_00_world_creature_template.sql b/sql/updates/world/2014_09_06_00_world_creature_template.sql
new file mode 100644
index 00000000000..36bed391dd4
--- /dev/null
+++ b/sql/updates/world/2014_09_06_00_world_creature_template.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `dynamicflags`=`dynamicflags` &~ 1; -- lootable
+UPDATE `creature_template` SET `dynamicflags`=`dynamicflags` &~ 4; -- tapped
+UPDATE `creature_template` SET `dynamicflags`=`dynamicflags` &~ 8; -- tapped by player
+UPDATE `creature_template` SET `dynamicflags`=`dynamicflags` &~ 128; -- tapped by threat list