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 Group - DarkPlasma_StateGroup.js

Plugin desc : Grouping states

License : MIT License

Author : DarkPlasma

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

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

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

File name : DarkPlasma_StateGroup.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Grouping states
@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: 1.2.2
This plugin is deprecated.
Its functionality has been taken over by DarkPlasma_PriorityStateGroup.
Please use that plugin.

Groups states.
States belonging to the same group cannot be stacked.

Group Definition
This can be defined using plugin parameters.

State Priority
The order of settings in the plugin parameters determines the priority.
(The lower the position, the higher the priority.)
When applied to a state,
it overwrites states with lower priority in the same group.

Setting in the Memo Field

Group Belonging
<StateGroup: x>
You can assign the target state to a group.
(x is the group name)
A single state can only have one tag with the same name.
Each state can only belong to one group using the StateGroup memo tag.

Priority Setting
<StatePriority: x>
Sets the priority within the group assigned by the StateGroup memo tag to x.
The higher the number, the higher the priority.
If you do not specify a StateGroup notetag, this notetag has no effect.
If you specify a StateGroup notetag but not this notetag,
the priority will be 0.

Group Dominance
<OverwriteStateGroup: x>
When this state is applied, it will unconditionally overwrite the state of
group x.
When DarkPlasma_StateBuffOnBattleStart is used to start battle,
if states A and B that overwrite each other are applied simultaneously,
the behavior will be as follows:
- If A and B are in the same group, only the state with the higher priority
will be applied.
- If A and B are not in the same group, only one of them will be applied.

If using with the following plugins, add it below them.
DarkPlasma_StateBuffOnBattleStart

@param groups
@text group
@type struct<StateGroup>[]
@default []

スポンサードリンク

-MZ plugins

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