aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarbenium <carbenium@outlook.com>2015-05-20 00:14:22 +0200
committerCarbenium <carbenium@outlook.com>2015-05-20 00:15:02 +0200
commit9d12df69ca77a6c5522a0803d6aa5b8328575a13 (patch)
tree910e6a280109b686311aa2f7166b0637bf2d2ffa
parent64bed16a5761ee98da5386575ae39f237a8721d3 (diff)
Core/Spells: Fix summon position of Argent Valiant
Ref #8718
-rw-r--r--sql/updates/world/2015_05_19_02_world.sql3
-rw-r--r--src/server/game/Spells/SpellMgr.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/2015_05_19_02_world.sql b/sql/updates/world/2015_05_19_02_world.sql
new file mode 100644
index 00000000000..6194278061e
--- /dev/null
+++ b/sql/updates/world/2015_05_19_02_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_target_position` WHERE `id`=63171;
+INSERT INTO `spell_target_position` (`id`, `effIndex`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
+(63171, 0, 571, 8533.11, 1069.66, 551.784, 0.5296);
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index c5d47f3c304..191850516d4 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -2955,6 +2955,7 @@ void SpellMgr::LoadSpellInfoCorrections()
switch (spellInfo->Id)
{
case 63026: // Force Cast (HACK: Target shouldn't be changed)
+ case 63171: // Force Cast (HACK: Target shouldn't be changed; summon position should be untied from spell destination)
spellInfo->Effects[0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_DB);
break;
case 53096: // Quetz'lun's Judgment