mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10956] Implement support triggered spells in SCRIPT_COMMAND_CAST_SPELL
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
9174e5d085
commit
883e88fad5
5 changed files with 6 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue