aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2016-04-09 18:39:49 +0200
committerKillyana <morphone1@gmail.com>2016-04-09 18:39:49 +0200
commit2fe8175bacdb36c24cab201f40cc3e20d3c1f404 (patch)
tree62061eb9e9209aad92203a10eac0df548fe8b6e7
parent836788ed3c0225955070550de2944046873e68cc (diff)
DB/Conditions: Add target for "Collect Data" and "Bluff" used by Iron Golem
Closes #16502 By @Saben65
-rw-r--r--sql/updates/world/2016_04_09_04_world.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/2016_04_09_04_world.sql b/sql/updates/world/2016_04_09_04_world.sql
new file mode 100644
index 00000000000..01154d2070a
--- /dev/null
+++ b/sql/updates/world/2016_04_09_04_world.sql
@@ -0,0 +1,9 @@
+--
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry` IN (44550, 44610, 44609);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(17, 0, 44550, 0, 0, 29, 0, 24820, 5, 0, 0, 0, 0, '', 'Allow spell Collect Data only on Iron Dwarf Relic 24820'),
+(17, 0, 44610, 0, 0, 29, 0, 24824, 5, 0, 0, 0, 0, '', 'Allow spell Collect Data only on Iron Dwarf Relics'),
+(17, 0, 44609, 0, 0, 29, 0, 24271, 10, 0, 0, 0, 0, '', 'Allow spell Bluff only on Iron Dwarf'),
+(17, 0, 44609, 0, 1, 29, 0, 23673, 10, 0, 0, 0, 0, '', 'Allow spell Bluff only on Iron Dwarf'),
+(17, 0, 44609, 0, 2, 29, 0, 23672, 10, 0, 0, 0, 0, '', 'Allow spell Bluff only on Iron Dwarf'),
+(17, 0, 44609, 0, 3, 29, 0, 23675, 10, 0, 0, 0, 0, '', 'Allow spell Bluff only on Iron Dwarf');