aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2016-05-31 14:13:55 +0200
committerAokromes <Aokromes@users.noreply.github.com>2016-05-31 14:13:55 +0200
commit8e7d59abcc21077552ffdb635ea0de0edbf5b9fb (patch)
tree5bd01dda135d86024760683610f8e5162cfcf22c /sql
parent0bdb2ce8e304256da4c27be89dfd291d32b5f238 (diff)
DB/Quest: Never Trust a Big Barb and a Smile
Closes #16311 by Crosha
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/6.x/2016_05_31_05_world.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/world/6.x/2016_05_31_05_world.sql b/sql/updates/world/6.x/2016_05_31_05_world.sql
new file mode 100644
index 00000000000..9f960d52763
--- /dev/null
+++ b/sql/updates/world/6.x/2016_05_31_05_world.sql
@@ -0,0 +1,13 @@
+-- Scorpion SmartScript
+DELETE FROM smart_scripts WHERE entryorguid = 3125 AND source_type = 0;
+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
+(3125,0,0,0,0,0,100,0,4000,4500,32000,38000,11,79687,0,0,0,0,0,2,0,0,0,0,0,0,0,'Clattering Scorpid - In Combat - Cast \Poison\ (No Repeat)'),
+(3125,0,1,0,0,0,100,0,2000,9000,15000,24000,11,73672,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Envenom'),
+(3125,0,2,0,31,0,100,0,73672,0,0,0,33,39236,0,0,0,0,0,2,0,0,0,0,0,0,0,'Give Credit on Totem Aura');
+
+-- Condition to give credit
+DELETE FROM conditions WHERE Sourceentry = 3125 AND SourceTypeOrReferenceId = 22;
+INSERT INTO conditions (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`)
+VALUES
+(22,3,3125,0,0,1,0,73673,1,0,0,0,0,'','SAI - Give kill credit when Aura');