aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2021-10-03 20:36:06 +0200
committerGitHub <noreply@github.com>2021-10-03 20:36:06 +0200
commitb1c0d069e1eba2f7b43ada8032b954bff630b68d (patch)
tree4e20ab8c1324cde7fa948a1f8f422415d2dd333b /sql
parentcbf1f2883ad1bc611f08af4838d892bf13057490 (diff)
Scripts/Spells: Implemented Wind Rush Totem (#26985)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2021_10_03_06_world_shaman_wind_rush_totem.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_10_03_06_world_shaman_wind_rush_totem.sql b/sql/updates/world/master/2021_10_03_06_world_shaman_wind_rush_totem.sql
new file mode 100644
index 00000000000..58f5f4ddb45
--- /dev/null
+++ b/sql/updates/world/master/2021_10_03_06_world_shaman_wind_rush_totem.sql
@@ -0,0 +1,11 @@
+--
+UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=97285;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=97285 AND `source_type`=0;
+INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `action_type`, `action_param1`, `target_type`, `comment`) VALUES
+(97285, 0, 0, 0, 25, 11, 192078, 1, 'On Reset - Cast Spell Wind Rush Totem - Self');
+
+UPDATE `areatrigger_template` SET `ScriptName`='areatrigger_sha_wind_rush_totem', `VerifiedBuild`=40120 WHERE `Id`=12676;
+
+DELETE FROM `areatrigger_create_properties` WHERE `Id`=8537;
+INSERT INTO `areatrigger_create_properties` (`Id`, `AreaTriggerId`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `VerifiedBuild`) VALUES
+(8537, 12676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 0, 0, 0, 0, 40120); -- SpellId : 192078