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

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

MZ plugins

Dark Plasma State Buff On Battle Start - DarkPlasma_StateBuffOnBattleStart.js

Plugin desc : At the start of battle, a state/buff/weak is applied

License : MIT License

Author : DarkPlasma

Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_StateBuffOnBattleStart.js

Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release

Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_StateBuffOnBattleStart.js

File name : DarkPlasma_StateBuffOnBattleStart.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc At the start of battle, a state/buff/weak is applied
@author DarkPlasma
@license MIT

@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/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----

version: 3.3.1
By entering the specified tag in the memo field of any actor, job, equipment,
state, or enemy character,
you can add a state, buff, or debuff at the start of battle.

<stateOnBattleStart:
oneOf: Comma-separated list of state IDs
turn: Number of turns
rate: Probability (%)
>
Select and add one state ID from the list set with oneOf.
Multiple lines are allowed.
If turn is omitted, the original state's duration will be used.
If rate is omitted, 100 will be specified.

Example:
<stateOnBattleStart:
oneOf:2,3
turn:3
rate:100
oneOf:4
>
At the start of battle, one of state IDs 2 or 3 will be applied at 100% and
will last for 3 turns.
At the start of battle, state ID 4 will be applied at 100%.

<buffOnBattleStart:
oneOf: Comma-separated list of ability scores and buff levels
turn: Number of turns
rate: Probability (%)
>
Select one of the ability scores and buff levels set in oneOf to buff or
weaken.
Multiple lines are allowed.
If turn is omitted, 3 is assumed.
If rate is omitted, 100 is assumed.

Example:
<buffOnBattleStart:
oneOf: atk+1,def+2,mat+1,mdf+2,agi-1
>
Buffs one of the following: Attack power by one level, Defense power by two
levels, Magic power by one level, Magic defense by one level
Agility by one level weakened, lasting for three turns.

The following setting method is deprecated and will be removed in the next
version update.

<StateOnBattleStartId: 1>
Applies to the state at the start of battle.
1 is the ID set in the plugin parameters.
Multiple IDs can be specified, separated by commas.

<StateOnBattleStartRandom>
A random ID is selected from those specified in the StateOnBattleStartId memo
tag and applied.

<BuffOnBattleStartId: 1>
Applies a buff or debuff at the start of battle.
1 is the ID set in the plugin parameters.

<BuffOnBattleStartRandom>
A random ID is selected from those specified in the BuffOnBattleStartId memo
tag and applied.

This plugin requires the following plugin:
DarkPlasma_AllocateUniqueTraitId version:1.0.1
If using with the following plugin, add this below it.
DarkPlasma_AllocateUniqueTraitId
DarkPlasma_FilterEquip

@param stateOnBattleStart
@text Start of battle state
@type struct<StateOnBattleStart>[]
@default []

@param buffOnBattleStart
@text Strengthening/weakening at the start of battle
@type struct<BuffOnBattleStart>[]
@default []

スポンサードリンク

-MZ plugins

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