Welcome to PGMV! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Enemy Class - EnemyClass.js
Plugin desc : ver1.00/Adds a mechanism to set classes for enemies.
License : MIT License
Author : Yana
Website : https://w.atwiki.jp/pokotan/pages/3.html
Desc page : https://github.com/munokura/Yana-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/Yana-MV-plugins/refs/heads/master/Class/EnemyClass.js
File name : EnemyClass.js
Help of plugin :
@plugindesc ver1.00/Adds a mechanism to set classes for enemies. @author Yana @url https://github.com/munokura/Yana-MV-plugins @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/Yana-MV-plugins ). Original plugin by Yana. ----- There are no plugin commands. ----------------------------------------------------- ------------------------------------------------------ Explanation ------------------------------------------------------- This plugin assigns classes to enemies and adds the concept of levels to them. This allows you to set up enemies to grow as they level up. Also, enemies will be unable to use skills they don't know, so you can set up mechanisms for them to use new skills as they level up. Passive skills also work in the same way, so by introducing them at the same time, you can give them new Traits depending on their level. # Plugin parameter settings - Usable Skills Setting Details An enemy with a set class cannot use any skills other than those set in Usable Skills unless they have learned them. - Growing Pattern Setting Details This setting allows you to set one of four values: -2, -1, 0, or 1. The meaning of each value is as follows: -2: Damage taken is accumulated as experience points and the level is determined. -1: The level is determined based on the average level of the party's Battle members. 0: The level is determined based on the average level of all party members. 1 or higher: Determines the level based on the value of the corresponding ID variable. ------------------------------------------------------ Setting Method ------------------------------------------------------ # Settings entered in the enemy's Note field Sets the enemy's class to the class with ID x. <ENEMY_CLASS: x> Sets the enemy's minimum level to x. Regardless of the growth pattern or range settings, the enemy will never fall below this level. <ENEMY_MIN_LEVEL: x> Sets the enemy's maximum level to x. <ENEMY_MAX_LEVEL: x> Sets the base value for experience points gained by enemy level. Experience points are calculated as the original experience points + (level * base value). Decimals are allowed in this value; the final value will be truncated. <LEVEL_EXP_BASE: x> Sets the base amount of gold gained based on enemy level. EXP is calculated as original EXP + (level * base). This value can be a decimal; the final value will be rounded down. <LEVEL_GOLD_BASE: x> Sets the base amount of ABP gained based on enemy level. EXP is calculated as original EXP + (level * base). This value can be a decimal; the final value will be rounded down. <LEVEL_ABP_BASE: x> Sets the amount of drops added based on enemy level. a: IWA, b: Item ID, c: Drop level, d: Drop rate (%) <ADDITIONAL_DROP: ab, LVc, d%> Example: Weapon ID 5 has a 20% chance of dropping at level 5 or above. <ADDITIONAL_DROP: W5, LV5, 20%> ------------------------------------------------------ Terms of Use ------------------------------------------------------ This plugin is released under the MIT License. http://opensource.org/licenses/mit-license.php ------------------------------------------------------ Update History: ver1.00: Released @param Empty Class ID @desc The ID of the class to be used as an empty class. The class with the specified ID will no longer be available for normal use. @default 1000 @param Default Level @desc This is the initial level set for the enemy. If there is no minimum level setting, this value will be used. @default 1 @param Usable Skills @desc This is a skill that can be used even if the enemy does not know it. Please refer to the help for a detailed explanation. @default 1,2,3,4,5,6,7 @param Growing Pattern @desc Enemy growth patterns. Please refer to the help for a detailed explanation. @default -2 @param Level Amplitude @desc This is the range of the level. The level will go up or down by this value. *If you set it to 2, enemies from -2 to +2 will appear. @default 2 @param Show Level ESWindow @desc This setting determines whether enemy levels are displayed in the enemy selection window. @default true