aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <jipr@hotmail.com>2014-01-26 00:57:08 +0100
committerAokromes <jipr@hotmail.com>2014-01-26 00:57:08 +0100
commit3c0b906a864911ca1ce41e13ce0fc776952f478c (patch)
tree14957d00a5e3de6ede6a39936f02d7cb90d9bb35
parentbc63c3355010bc8991e6a99c9e0be6ff4fcde79a (diff)
DB/SAI: The Power of the Elements
By dr-j and untaught, closes #6479
-rw-r--r--sql/updates/world/2014_01_26_00_world_sai.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/world/2014_01_26_00_world_sai.sql b/sql/updates/world/2014_01_26_00_world_sai.sql
new file mode 100644
index 00000000000..671b0f081ba
--- /dev/null
+++ b/sql/updates/world/2014_01_26_00_world_sai.sql
@@ -0,0 +1,13 @@
+--
+DELETE FROM `smart_scripts` WHERE `entryorguid`=24601 AND `id`=2;
+INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
+(24601, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 33, 25987, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Steam Rager - On Death - Kill Credit');
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` =24601;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
+(22,3,24601,0,0,1,1,46374,0,0,0,0,'','Windsoul Totem Credit only if aura present at death');
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=46374;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(13,1,46374,0,0,31,0,3,24601,0,0,0,0,'','Windsoul Totem Aura targets only Steam Rager'),
+(13,1,46374,0,0,36,0,0,0,0,0,0,0,'','Windsoul Totem Aura targets only alive units');