aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-06-15 21:00:12 +0200
committerKillyana <morphone1@gmail.com>2019-06-15 21:00:12 +0200
commit5c019db6a7d91e10eb074e8776620527796a3b46 (patch)
tree0de1ffc4b0d9866a5ba08878cd27de5930ba9430
parentc90f789eac9092d5332e92242ed0bfab7fd9e9fe (diff)
DB/Quest: Quest: Meet Lieutenant Icehammer
Closes #23384
-rw-r--r--sql/updates/world/3.3.5/2019_06_15_04_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2019_06_15_04_world.sql b/sql/updates/world/3.3.5/2019_06_15_04_world.sql
new file mode 100644
index 00000000000..559a41443da
--- /dev/null
+++ b/sql/updates/world/3.3.5/2019_06_15_04_world.sql
@@ -0,0 +1,12 @@
+DELETE FROM `smart_scripts` WHERE `entryorguid`=23728 AND `source_type`=0 AND `id`=1;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=2372801 AND `source_type`=9;
+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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
+(23728,0,1,0,62,0,100,0,8984,0,0,0,0,80,2372801,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Guard Captain Zorek - On Quest Accepted - Action list'"),
+(2372801,9,0,0,0,0,100,0,0,0,0,0,0,85,49845,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Guard Captain Zorek - Action list - Cast 'Valgarde Gryphon'"),
+(2372801,9,1,0,0,0,100,0,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Guard Captain Zorek - Action list - Close gossip");
+
+SET @GRYPHON:= 27886;
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN(@GRYPHON);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(22, 1, @GRYPHON, 0, 0, 31, 0, 4, 0, 0, 0, 0, 0, '', 'Valgarde Gryphon - Only run SAI if invoker is player'),
+(22, 7, @GRYPHON, 0, 0, 1, 1, 46598, 0, 0, 1, 0, 0, '', 'Valgarde Gryphon - Only run SAI no aura 46598');