fix(Core/Spell): Allow to cast and aura all spells (#3089)

This commit is contained in:
Kitzunu
2020-06-02 20:40:21 +02:00
committed by GitHub
parent 3526d3afc6
commit 5a0a12c6b0
2 changed files with 0 additions and 63 deletions

View File

@@ -480,15 +480,6 @@ public:
return false;
}
SpellScriptsBounds bounds = sObjectMgr->GetSpellScriptsBounds(spellId);
uint32 spellDifficultyId = sSpellMgr->GetSpellDifficultyId(spellId);
if (bounds.first != bounds.second || spellDifficultyId)
{
handler->PSendSysMessage("Aura %u cannot be applied using a command!", spellId);
handler->SetSentErrorMessage(true);
return false;
}
Aura::TryRefreshStackOrCreate(spellInfo, MAX_EFFECT_MASK, target, target);
return true;