I’m interested in make a classic rpg game with a turn based combat system, similar to the battle system Paper Mario franchise (obviously excluding Super Paper Mario). I’m wondering what the best practices would be for setting up the enemy scripts. I’m experimenting to learn better scripting practices as currently my skills are very basic.
In regards to the enemies, should each enemy and the attacks it can perform be contained within its own module script? Or should I be making general classes for enemies and having each enemy inherit from those classes? Does anyone have any good learning resources for setting up this kind of system?