aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo <sirikfoll@hotmail.com>2016-08-28 18:34:23 -0300
committerTreeston <treeston.mmoc@gmail.com>2016-08-28 23:34:23 +0200
commite1761a24ceab167909a71be8d38dda9dc4792932 (patch)
tree8eeefa62630e9344cf798d9c95e5ebe4b02446bd /src
parenta32536d490a32241a3ac1db9b61109f61a47b02c (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
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 bf0fc3d0565..b8c55c0ab64 100644
--- a/src/server/scripts/Spells/spell_quest.cpp
+++ b/src/server/scripts/Spells/spell_quest.cpp
@@ -2524,7 +2524,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