aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2012-02-10 18:49:40 +0100
committerQAston <qaston@gmail.com>2012-02-10 18:49:40 +0100
commit46b9942f97b5ca4b14fba865b6f60dba61245b03 (patch)
tree6c8ac741ad6f7bbaa10e6ac4c407813367e9b670 /sql
parented3e5d816ab777837a44e9b6ace10b6fe90095e2 (diff)
Core/Db/Conditions: remove ConditionValue2 parameter CONDITION_SPELL which was used for checking if player doesn't have spell and use NegativeCondition parameter instead.
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2012_02_10_03_world_conditions.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/2012_02_10_03_world_conditions.sql b/sql/updates/world/2012_02_10_03_world_conditions.sql
new file mode 100644
index 00000000000..b46684df7d5
--- /dev/null
+++ b/sql/updates/world/2012_02_10_03_world_conditions.sql
@@ -0,0 +1,2 @@
+-- CONDITION_SPELL with ConditionValue2 = 1 -> CONDITION_SPELL + NegativeCondition
+UPDATE `conditions` SET `NegativeCondition` = 1, `ConditionValue2` = 0 WHERE `ConditionTypeOrReference` = 25 AND `ConditionValue2` = 1;