fix(Core/Spell): Allow to cast and aura all spells (#3089)
This commit is contained in:
parent
3526d3afc6
commit
5a0a12c6b0
2 changed files with 0 additions and 63 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue