An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Enemy Analysis Skill - EnemyAnalysisSkill.js

Plugin desc : Implements enemy analysis skill which tells player the enemy’s weak points &c.

License :
Public Domain
・Copyright: Waived

Author : MihailJP

Website : https://github.com/MihailJP/mihamzplugin/blob/master/EnemyAnalysisSkill.js

Desc page : https://github.com/MihailJP/mihamzplugin/blob/master/EnemyAnalysisSkill.js

Download Page : https://raw.githubusercontent.com/MihailJP/mihamzplugin/master/EnemyAnalysisSkill.js

File name : EnemyAnalysisSkill.js

Help of plugin :

* @target MZ
 * @plugindesc Implements enemy analysis skill which tells player the enemy’s weak points &c.
 * @author MihailJP
 * @url https://github.com/MihailJP/mihamzplugin/blob/master/EnemyAnalysisSkill.js
 *
 * @param buffColor
 * @text Buff emphasis color
 * @desc Set text color number [0 to 31] for parameters with buff.
 * @default 6
 * @type number
 * @min 0
 * @max 31
 *
 * @param debuffColor
 * @text Debuff emphasis color
 * @desc Set text color number [0 to 31] for parameters with debuff.
 * @default 4
 * @type number
 * @min 0
 * @max 31
 *
 * @param labelHp
 * @text HP
 * @desc Set label for HP. If blank, same as the term specified in the database.
 * @type string
 *
 * @param labelMp
 * @text MP
 * @desc Set label for MP. If blank, same as the term specified in the database.
 * @type string
 *
 * @param labelAtk
 * @text Attack
 * @desc Set label for Attack. If blank, same as the term specified in the database.
 * @default Atk
 * @type string
 *
 * @param labelDef
 * @text Defense
 * @desc Set label for Defense. If blank, same as the term specified in the database.
 * @default Def
 * @type string
 *
 * @param labelMat
 * @text M.Attack
 * @desc Set label for M. Attack. If blank, same as the term specified in the database.
 * @default MAt
 * @type string
 *
 * @param labelMdf
 * @text M.Defense
 * @desc Set label for M. Defense. If blank, same as the term specified in the database.
 * @default MDf
 * @type string
 *
 * @param labelAgi
 * @text Agility
 * @desc Set label for Agility. If blank, same as the term specified in the database.
 * @default Agi
 * @type string
 *
 * @param labelLuk
 * @text Luck
 * @desc Set label for Luck. If blank, same as the term specified in the database.
 * @default Luk
 * @type string
 *
 * @help EnemyAnalysisSkill.js
 *
 * Implements enemy analysis skill which tells player the enemy’s weak points &c.
 * Set a common event which executes plugin command `analyzeEnemy`
 * as effect of a battle-only skill.
 * Buff/debuff for each parameter can be shown in color.
 *
 * Typical usage:
 * - Simply ”Run analysis skill”. Requires no parameters.
 *   Target enemy character is automatically detected.
 *
 * License: The Unlicense
 *
 * Changelog
 * 1 Oct 2020: Fix issue that state susceptibility is shown as [Object object]
 *             Insert a comma between items.
 * 21 Sept 2020: Fix parameter type
 * 20 Sept 2020: Fix wrong target (or crash if very first turn)
 * 16 Sept 2020: Fix syntax error (parentheses mismatch)
 * 14 Sept 2020: First edition.
 *
 * @command analyzeEnemy
 * @text Run analysis skill
 * @desc Runs analysis skill. Call from a common event during a battle.
 *
 * @command analyzeEnemyByIndex
 * @text Run analysis skill (immediate value)
 * @desc Runs analysis skill with manually specified target. Usually not needed.
 *
 * @arg enemy_index
 * @type number
 * @text Index of enemy character
 * @desc Index of enemy character for target of the skill.
 * @min 1
 * @max 8
 *
 * @command analyzeEnemyByVariable
 * @text Run analysis skill (by variable)
 * @desc Runs analysis skill with variable-specified target. Usually not needed.
 *
 * @arg enemy_index_var
 * @type variable
 * @text Variable for index of enemy character
 * @desc Variable that contains index of enemy character for target of the skill.
 *

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.