mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
fix(Core/Spell): Allow to cast and aura all spells (#3089)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user