fix(Core/Spell): "Taming the Beast" hunter quests (#2243)

This commit is contained in:
Stoabrogga
2019-09-05 07:50:20 +02:00
committed by GitHub
parent a15c824abe
commit c5e187fed6
3 changed files with 74 additions and 1 deletions
@@ -4997,7 +4997,7 @@ void AuraEffect::HandleAuraDummy(AuraApplication const* aurApp, uint8 mode, bool
// AT REMOVE
else
{
if ((GetSpellInfo()->IsQuestTame()) && caster && caster->IsAlive() && target->IsAlive())
if ((GetSpellInfo()->IsQuestTame()) && caster && caster->IsAlive() && target->IsAlive() && aurApp->GetRemoveMode() != AURA_REMOVE_BY_CANCEL)
{
uint32 finalSpelId = 0;
switch (GetId())