aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2018-10-18 18:44:15 +0200
committerKillyana <morphone1@gmail.com>2018-10-18 18:44:15 +0200
commit2dc28bc3a7c673707dee23ebbe725cc32d6a163d (patch)
tree5ab55f23dc59cae0921ea5b98e907fbd662d4703 /sql
parentc8836b6eb4b9e89cc30c1829dd0de2e0fbd89a35 (diff)
DB/GameObject: Sacred Fire of Life
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2018_10_18_01_world_335.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2018_10_18_01_world_335.sql b/sql/updates/world/3.3.5/2018_10_18_01_world_335.sql
new file mode 100644
index 00000000000..04ea054324a
--- /dev/null
+++ b/sql/updates/world/3.3.5/2018_10_18_01_world_335.sql
@@ -0,0 +1,10 @@
+--
+UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI", ScriptName="" WHERE `entry` IN (175944);
+DELETE FROM `smart_scripts` WHERE `entryorguid`=175944 AND `source_type`=1;
+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
+(175944,1,0,1,8,0,100,0,16996,0,0,0,12,10882,4,30000,0,0,0,8,0,0,0,-5008.338, -2118.894, 83.657, 0.874,"Sacred Fire of Life - On spell Hit - Summon Arikara"),
+(175944,1,1,0,61,0,100,0,0,0,0,0,99,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sacred Fire of Life - On spell Hit - activate object");
+
+DELETE FROM `conditions` WHERE `SourceEntry`= 16996 AND `SourceTypeOrReferenceId`=17;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(17, 0, 16996, 0, 0, 29, 0, 10882, 100, 0, 1, 0, 0, '', '');