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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;