aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2018-03-09 14:06:51 +0100
committerShauren <shauren.trinity@gmail.com>2021-08-24 13:51:46 +0200
commit4db098c6658d38d6ab93faa8bcf3f528e8da5afc (patch)
treeb086ef3f2d1c00ed51700cb53451859bef9b27e3
parent2a9b761dcbe6e01517a63af26ab6b2c7246b07d6 (diff)
DB/Condition: Fix conditions for spells used by Sjonnir The Ironshaper to summon npcs
(cherry picked from commit 2f04591dae5aad85ca1074bc3a7d88baa20f7c7c)
-rw-r--r--sql/updates/world/master/2021_08_24_03_world_2018_03_09_00_world.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_08_24_03_world_2018_03_09_00_world.sql b/sql/updates/world/master/2021_08_24_03_world_2018_03_09_00_world.sql
new file mode 100644
index 00000000000..254201d45d0
--- /dev/null
+++ b/sql/updates/world/master/2021_08_24_03_world_2018_03_09_00_world.sql
@@ -0,0 +1,15 @@
+--
+DELETE FROM `conditions` WHERE `SourceEntry` IN (50790,50791,50802,50803,50825,50826) AND `SourceTypeOrReferenceId`=13;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(13, 1, 50790, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, "", ""),
+(13, 1, 50791, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, "", ""),
+(13, 2, 50790, 0, 0, 31, 0, 5, 192163, 0, 0, 0, 0, "", ""),
+(13, 2, 50791, 0, 0, 31, 0, 5, 192164, 0, 0, 0, 0, "", ""),
+(13, 1, 50802, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, "", ""),
+(13, 1, 50803, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, "", ""),
+(13, 2, 50802, 0, 0, 31, 0, 5, 192163, 0, 0, 0, 0, "", ""),
+(13, 2, 50803, 0, 0, 31, 0, 5, 192164, 0, 0, 0, 0, "", ""),
+(13, 1, 50825, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, "", ""),
+(13, 1, 50826, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, "", ""),
+(13, 2, 50825, 0, 0, 31, 0, 5, 192163, 0, 0, 0, 0, "", ""),
+(13, 2, 50826, 0, 0, 31, 0, 5, 192164, 0, 0, 0, 0, "", "");