Skip to content

Commit

Permalink
DB/Conditions: Fix conditions for Mortar and Fire Cannon
Browse files Browse the repository at this point in the history
Author: @joschiwald
Closes #15080
  • Loading branch information
Killyana committed Aug 29, 2015
1 parent aacd388 commit 6fedea5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sql/updates/world/2015_08_29_04_world.sql
@@ -0,0 +1,11 @@
--
-- Removed useless conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (62290,62307,62357,62489,62635);
-- Adjusted incorrect conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (62363,65044,65045);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(13,2,62363,0,0,31,0,3,33214,0,0,0,'','Flame Leviathan - Anti-Air Rocket'),
(13,1,65044,0,0,32,0,0x18, 0,0,0,0,'','Flame Leviathan - Flames'), -- should hit everything
(13,2,65044,0,0,31,0,3,33090,0,0,0,'','Flame Leviathan - Flames'),
(13,1,65045,0,0,32,0,0x18, 0,0,0,0,'','Flame Leviathan - Flames'), -- should hit everything
(13,2,65045,0,0,31,0,3,33090,0,0,0,'','Flame Leviathan - Flames');

0 comments on commit 6fedea5

Please sign in to comment.