Changes Made
Two new tables have been created: mob_skills and mob_skill_lists.
mob_skills.sql
This contains all the mob skills in the game, you can find the full list at `documentation/monster_tp_moves.txt`. We are now mirroring retail in some ways, id 1, foot kick, will always be the same foot kick and can be added to any mob in the game. If you need a new type of foot kick with a different script you should use the next id of foot kick, which would be 1311.
Because there are no more duplicate mob skills, you can confidently use `GetMobSkill` to grab a specific mobskill.
mob_skill_lists.sql
This is very similar to mob_spell_lists. It contains a list id and all the skills in the list. This id can then be set in `mob_pools.sql` or used directly on a mob mod. Any number can be used, just make sure it's unique.
Change mob skill lists from scripts
Just want to remind everyone you can change a mobs skill list from scripts by setting the mob mod `skill_list`, like so:
Code: Select all
mob:setMobMod(MOBMOD_SKILL_LIST, 100);