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:44:39 +0200
commitf38c9ee364152968e270cc08c8b74e3d222f5b50 (patch)
tree3b8a55bad9fa67bb76aea3e4fb9ce9e6eefff7d9
parent9ebcaa63a652321da9ec818ce128c2f5ce3f0738 (diff)
Core/Spells: Fix summon position of Argent Valiant
Ref #8718 (cherry picked from commit 9d12df69ca77a6c5522a0803d6aa5b8328575a13) Conflicts: src/server/game/Spells/SpellMgr.cpp
-rw-r--r--sql/updates/world/2015_05_20_01_world_2015_05_19_02.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_20_01_world_2015_05_19_02.sql b/sql/updates/world/2015_05_20_01_world_2015_05_19_02.sql
new file mode 100644
index 00000000000..46125437940
--- /dev/null
+++ b/sql/updates/world/2015_05_20_01_world_2015_05_19_02.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_target_position` WHERE `id`=63171;
+INSERT INTO `spell_target_position` (`id`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`) VALUES
+(63171, 0, 571, 8533.11, 1069.66, 551.784);
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 0c33a2d2b55..70b820aed96 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3031,6 +3031,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)
const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_0))->TargetA = SpellImplicitTargetInfo(TARGET_DEST_DB);
break;
case 42436: // Drink! (Brewfest)