aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo <sirikfoll@hotmail.com>2016-08-28 18:34:23 -0300
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-18 17:23:20 +0100
commitc4f2012ef5edb89d825deba4c04897f1ff16bdcf (patch)
tree8d70300fbe9c6bc19df5d406c3e0f9574ab977d9 /src
parenta0d48b92d5ec2360b4c0f324726e7ff7343578de (diff)
Core/Spells Make credit for quests "The Grand Melee" and "Among the Champions" a triggered cast (#17870)
Fix a problem where the credit wasn't casted due to CGD (cherry picked from commit e1761a24ceab167909a71be8d38dda9dc4792932)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp
index b76b51a8fbc..9bcc8759c2a 100644
--- a/src/server/scripts/Spells/spell_quest.cpp
+++ b/src/server/scripts/Spells/spell_quest.cpp
@@ -2597,7 +2597,7 @@ class spell_q13665_q13790_bested_trigger : public SpellScriptLoader
void HandleScript(SpellEffIndex /*effIndex*/)
{
Unit* target = GetHitUnit()->GetCharmerOrOwnerOrSelf();
- target->CastSpell(target, uint32(GetEffectValue()));
+ target->CastSpell(target, uint32(GetEffectValue()), true);
}
void Register() override