[10956] Implement support triggered spells in SCRIPT_COMMAND_CAST_SPELL

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Schmoozerd 2011-01-04 04:14:12 +03:00 committed by VladimirMangos
parent 9174e5d085
commit 883e88fad5
5 changed files with 6 additions and 5 deletions

View file

@ -332,7 +332,7 @@ void ScriptMgr::LoadScripts(ScriptMapMap& scripts, const char* tablename)
tablename, tmp.castSpell.spellId, tmp.id);
continue;
}
if (tmp.castSpell.flags & ~0x3) // 2 bits
if (tmp.castSpell.flags & ~0x7) // 3 bits
{
sLog.outErrorDb("Table `%s` using unknown flags in datalong2 (%u)i n SCRIPT_COMMAND_CAST_SPELL for script id %u",
tablename, tmp.castSpell.flags, tmp.id);