Enemy types (including event commands to use that data)

Description of the Feature:
I would like to have an additional type-list in the database for "enemy types", with that added as a new property for all enemies.
Example: An enemy could be an animal, a slimoid, a humanoid, a demon, a robot or whatever distinction fit the game project.

Added to that would be event commands and other options to use that distinction for different effects
  • conditional branch "enemy n is type" to allow common events called by skills distinctions on the effects, for example skills that only affect undead or similiar
  • script equivalent of the conditional branch to use in damage formula (for example make different damage depending on enemy type)
  • troop event command: add/transform enemy by type (randomly select one enemy with that type and add/transform that enemy
  • troop database: option to add type instead of specific enemy - if the enemy type is added, it will be replaced by an random enemy that has that type at the start of combat, allowing for some randomisation of the troop definition (this would basically be a simpler-to-use variant of http://yanfly.moe/2015/12/17/yep-45-swap-enemies/ or http://himeworks.com/2013/07/troop-placeholders/)

Why is this feature good?
  • allow for a lot of enemy-based effects that currently use notetags to identify and define enemy variants
  • allow for troop randomization (if the later options are implemented) without needing excessive definitions

Possible issues with this feature?
  • needs reformatting of enemy database
Would this be added to enemies via the traits list or somewhere else in the enemy tab?
Could enemies be able to have more than 1 type? i.e. undead and insect
Wouldn't this need its own tab in the database so we could set elemental resistances/weaknesses and state rates based on type?
If enemies could have multiple types, and elemental rates can be set by type, how would the engine handle types that negated weaknesses/strengths?
As with all data, this should be independent of anything else - which means that the elemental rates (or anything else) should be independent of this. If you want those to apply to all enemies of a type, you would have to set them manually everywhere, exactly as you do now.

The type would be a new property of the enemy, set by list in the same way as other types are set (like armor type on equipment for example), so there would be only one type for each enemy.
I'm working on a few plugins that will do stuff like this.
It would be interesting a more direct option. To achieve the same effect, I have already used states, which allowed many, but not all, possible types use options.
Hi,

It is of my opinion that this would be something nice to add, I've wanted to expand upon certain systems of the engine to make doing some stuff easier to do for a while. This doesn't mean this will be done though, as it isn't my choice. Just letting you,and a few others know I endorse this change.

Thanks for the suggestion,
- Liquidize

Original thread: https://forums.rpgmakerweb.com/threads/enemy-types-including-event-commands-to-use-that-data.78133/