aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2012-02-10 23:40:38 +0100
committerQAston <qaston@gmail.com>2012-02-10 23:42:08 +0100
commitce4a4ffe50a26fa2040d4af3933621b66813488d (patch)
treeca1afb50445232f1c7e7a30862038c31024d8934 /sql/updates
parent8c2526e7d0f8cd516e0a3d3ebd6e554774c76c7b (diff)
Core/Db/Conditions: Add ContidionTarget column which allows selection of objects which will be checked by condition, depending on SourceTypeOrReferenceId.
So far usable only with CONDITION_SOURCE_TYPE_SPELL: ContidionTarget = 0 - check caster ContidionTarget = 1 - check explicit target
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/2012_02_10_04_world_conditions.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/updates/world/2012_02_10_04_world_conditions.sql b/sql/updates/world/2012_02_10_04_world_conditions.sql
new file mode 100644
index 00000000000..922949e0f8e
--- /dev/null
+++ b/sql/updates/world/2012_02_10_04_world_conditions.sql
@@ -0,0 +1 @@
+ALTER TABLE `conditions` ADD COLUMN `ContidionTarget` tinyint(3) UNSIGNED NOT NULL default '0' AFTER `ConditionTypeOrReference`;