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

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

MZ plugins

NRP Combination Skill - NRP_CombinationSkill.js

Plugin desc : v1.40 Creates a combination skill.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_CombinationSkill.js

Desc page : http://newrpg.seesaa.net/article/474570191.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_CombinationSkill.js

File name : NRP_CombinationSkill.js

Help of plugin :

Creates a combination skill.
 * Can be used in normal turn-based or CTB or TPB.
 * Works on both actors and enemy.
 * 
 * -------------------------------------------------------------------
 * [Features]
 * -------------------------------------------------------------------
 * - When a subject uses a skill, the activation conditions,
 *   consumption and gained TP are applied to the collaborator as well.
 * - The hit rate and critical rate are averages of participants.
 * - Add states to collaborators, such as disabling,
 *   to recreate the passage of CTB turns.
 * - It is also possible to use combination skills from party commands.
 * 
 * For more information, please see below.
 * http://newrpg.seesaa.net/article/474570191.html
 * 
 * -------------------------------------------------------------------
 * [Global Functions]
 * -------------------------------------------------------------------
 * $cs(no)
 * - Getting Participants in Combination Skills.  (1 beginning)
 * - Available for both enemies and actors.
 * - If "no" is not specified, get the whole thing.
 * - Use it for integration with other plugins and formulas.
 * 
 * $actor(id)
 * - Get the actor with the specified ID.
 * 
 * -------------------------------------------------------------------
 * [Valid for skills notes]
 * -------------------------------------------------------------------
 * <CS_Actors:[Actor ID],[Actor ID]>
 * - The combination skill targets a specified actor.
 * - 3 or more actors can be combined.
 * - You can also use, for example, ¥v[1].
 * 
 * <CS_Enemys:[Enemy ID],[Enemy ID]>
 * - Target a specified enemy character for a combination skill.
 * - Same character or three or more can be used.
 * 
 * <CS_Battlers:[number],[number]>
 * - The specified battler is the target of the combination skill.
 * - "number" is the number in order. (1 to start)
 * - 3 or more people can be accommodated.
 * 
 * <CS_ReactionState:[State ID]>
 * - The state to be added to the cooperator
 *   after the skill is executed is individually specified.
 * - If not specified, the value of the plugin parameter is set.
 * - In CTB, this allows you to represent the passage of a turn.
 * 
 * <CS_ExceptState:[State ID]>
 * - When selecting a skill, make it possible to execute it even
 *   while in the specified state.
 * - Skills can be executed even when a collaborator is sleeping,
 *   for example.
 * - Multiple specifications can be specified by separating them
 *   with commas.
 * 
 * <CS_UserName:[string]>
 * - The name of the user of the combination skill when displaying the message.
 * - You can also use, for example, ¥n[1].
 * 
 * -------------------------------------------------------------------
 * [Valid for states notes]
 * -------------------------------------------------------------------
 * <CS_Seal>
 * - Prohibits combination skills while in state.
 * 
 * <CS_SealSub>
 * - Do not cooperate in combination skills while in state.
 * (You can use your own starting combination skills.)
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @------------------------------------------------------------------
 * @ Plugin Parameters
 * @------------------------------------------------------------------
 * 
 * @param <For CTB>
 * @desc This item is designed for CTB.
 * And other individually acting combat systems.
 * 
 * @param reactionState
 * @parent <For CTB>
 * @type state
 * @desc After executing the skill, add the specified state to the cooperator. Assumes one inaction or delay.
 * 
 * @param <Message>
 * @desc Related items for displaying the battle log.
 * 
 * @param andLetter
 * @parent <Message>
 * @type text
 * @default &
 * @desc Connect the names of participants in the skill with their letters.
 * Example: Harold & Therese are...
 * 
 * @param <Party Command>
 * @desc This item is used to display combination skills in party commands.
 * 
 * @param partySkillActor
 * @parent <Party Command>
 * @type actor
 * @desc Specifies the actor that holds the combination skill.
 * Set a dummy actor dedicated to the party command.
 * 
 * @param combinationSymbol
 * @parent <Party Command>
 * @type text
 * @default combination
 * @desc Sets the symbol for the combination skill.
 * You can use this value when working with other plugins.
 * 
 * @param combinationName
 * @parent <Party Command>
 * @type text
 * @default Combination
 * @desc Sets the display command name for the combination skill.
 * 
 * @param showPartyCommand
 * @parent <Party Command>
 * @type boolean
 * @default false
 * @desc Adds a combination skill to the party command.
 * Not required for control by other plugins.
 * 
 * @param showPartyCommandPosition
 * @parent <Party Command>
 * @type number
 * @default 1
 * @desc Position for inserting a combination skill into a party command.
 * 0 is the top of the list.
 * 
 * @param showMenuCommand
 * @parent <Party Command>
 * @type boolean
 * @default false
 * @desc Adds a combination skill to the menu command.
 * Not required for control by other plugins.
 * 
 * @param showMenuCommandPosition
 * @parent <Party Command>
 * @type number
 * @default 2
 * @desc Position for inserting a combination skill into a menu command.
 * 0 is the top of the list.
 * 
 * @param hidePartyCommandSwitch
 * @parent <Party Command>
 * @type switch
 * @desc This switch hides the combination skills of the party commands.
 * 
 * @param hideMenuCommandSwitch
 * @parent <Party Command>
 * @type switch
 * @desc This switch hides the combination skills of the menu commands.
 * 
 * @param <Cooperation>
 * @desc This item is designed to work with external plugins.
 * 
 * @param invalidCondition
 * @parent <Cooperation>
 * @type string[]
 * @default ["BattleManager._isCttb && !a._isTurnEntry"]
 * @desc Combination skills are forbidden if the conditions are met.
 * "Subject" refers to the skill user and "a" refers to each participant.

スポンサードリンク

-MZ plugins

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