This script allows you to set up enemies the same way actors are set up using classes.
An enemy’s parameters are determined by their level, which is determined by the class parameter curves. You can set up your enemies strengths and weaknesses using its assigned class.
An enemy’s available actions are also determined by their class. In order to be able to use an action, they must have met the learning requirements for the class.
Place this script below Core – Enemy Levels and above Main
Assigning a class
To assign a class to an enemy, note-tag the enemy with
<enemy class: x>
Where x is the ID of the class to assign.
Setting up Parameters
Set up your enemies the same way you would set up your actors: assign a class, and then adjust the parameter curves accordingly.
Adding Enemy Parameters
By default, the enemy parameters are only used if no class is assigned.
However, if you would like to force the enemy parameters to use in addition
to the class parameters, note-tag an enemy with
<add enemy params>
Action Class Requirements
Enemy actions are set up as usual, but you can add class-related requirements to each action, such as having a certain level.
Enemy classes can be changed during battle using script calls:
Where the enemy_index is the index of the enemy in the current troop, and the
class_id is the ID of the class you want to change it to.