aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2018-09-03 18:12:19 +0200
committerShauren <shauren.trinity@gmail.com>2021-10-23 22:05:15 +0200
commit01f2dd0b2c55a98adae6d681930b366cc2d0eb4f (patch)
tree7b5bcdc49d826b04905013a8bc68a66b74f4d6fd
parent5f50baec11ca58cf74fb00b6d5cd4d7b5e73312d (diff)
DB/SAI/Conditions: Don't allow multiple spawns of Baron Aquanis by Fathom Stone
Ref #https://github.com/TrinityCore/TrinityCore/commit/c546dcbfd9a14fceaea51f5d6bc681ba1515bc36 (cherry picked from commit 277fb493ce2297b1b4e14f42b8a3f99fe9568f9c)
-rw-r--r--sql/updates/world/master/2021_10_23_12_world_2018_09_03_01_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_10_23_12_world_2018_09_03_01_world.sql b/sql/updates/world/master/2021_10_23_12_world_2018_09_03_01_world.sql
new file mode 100644
index 00000000000..294d91dff7f
--- /dev/null
+++ b/sql/updates/world/master/2021_10_23_12_world_2018_09_03_01_world.sql
@@ -0,0 +1,5 @@
+--
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=177964;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
+(22,1,177964,1,0,29,1,12876,50,0,1,0,'','Execute sai if not near 12876 alive'),
+(22,1,177964,1,0,29,1,12876,50,1,1,0,'','Execute sai if not near 12876 dead');