Core/Spells: SPELL_AURA_48 implementation (#24054)

by xvwyh

(cherry picked from commit b3b7f0761d)
This commit is contained in:
NoName
2020-01-17 17:50:50 +02:00
committed by Shauren
parent ef794af489
commit 37178ff311
8 changed files with 41 additions and 12 deletions

View File

@@ -315,15 +315,12 @@ void WorldSession::HandleCastSpellOpcode(WorldPackets::Spells::CastSpell& cast)
if (go->GetSpellForLock(caster->ToPlayer()) == spellInfo)
allow = true;
// TODO: Preparation for #23204
// allow casting of spells triggered by clientside periodic trigger auras
/*
if (caster->HasAuraTypeWithTriggerSpell(SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, spellId))
if (caster->HasAuraTypeWithTriggerSpell(SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, spellInfo->Id))
{
allow = true;
triggerFlag = TRIGGERED_FULL_MASK;
}
*/
if (!allow)
return;