mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[11223] Replace direct auras adding from creature*_addon tables by cast spell.
This commit is contained in:
parent
51b4556c4b
commit
5aeda4f28b
3 changed files with 2 additions and 25 deletions
|
|
@ -798,12 +798,6 @@ void ObjectMgr::ConvertCreatureAddonAuras(CreatureDataAddon* addon, char const*
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!IsSpellAppliesAura(AdditionalSpellInfo))
|
||||
{
|
||||
sLog.outErrorDb("Creature (%s: %u) has spell %u defined in `auras` field in `%s` but spell doesn't apply any auras.", guidEntryStr, addon->guidOrEntry, cAura.spell_id, table);
|
||||
continue;
|
||||
}
|
||||
|
||||
++i;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue