Move caster mobs to Creature Spells and fix any script issues. (#21)

Move close to 600 ranged mobs to creature_spells system.
This commit is contained in:
ratkosrb
2018-04-16 15:35:51 +03:00
committed by GitHub
parent ef3d744fcb
commit 71e02b2fe8
28 changed files with 5797 additions and 684 deletions
-3
View File
@@ -481,9 +481,6 @@ void ScriptMgr::LoadScripts(ScriptMapMap& scripts, const char* tablename)
tablename, tmp.castSpell.flags, tmp.id);
continue;
}
// Cast is always triggered if target is forced to cast on self
if (tmp.castSpell.flags & CF_TARGET_CASTS_ON_SELF)
tmp.castSpell.flags |= CF_TRIGGERED;
break;
}
case SCRIPT_COMMAND_REMOVE_ITEM: