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

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Temporary State Trait - TemporaryStateTrait.js

Plugin desc : ver1.03/You can now set Traits that temporarily grant states when taking action.

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/State/TemporaryStateTrait.js

File name : TemporaryStateTrait.js

Help of plugin :

@plugindesc ver1.03/You can now set Traits that temporarily grant states when taking action.
@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.
------------------------------------------------------
------------------------------------------------------
How to Set Up
------------------------------------------------------
By entering the following in the Note field of an object with a special Traits,
the respective effects will be activated.

- When performing an action, there is a y% chance that the object will be given the state ID x.
<AttackTransientState:x,y%>

- When receiving an action, there is a y% chance that the object will be given the state ID x.
<DefenseTransientState:x,y%>

- When performing an action, there is a y% chance that the target will be given the state ID x.
<TargetAttackTransientState:x,y%>

- When receiving an action, there is a y% chance that the actor will be given the state ID x.
<TargetDefenseTransientState:x,y%>

Also, if the ConditionallyCore plugin is installed,
you can set conditions for the state assignment.

<AttackTransientState:x,y%>
Activation condition
</TransientState>

Please write it as follows.
------------------------------------------------------
Terms of Use
------------------------------------------------------
This plugin is released under the MIT License.
http://opensource.org/licenses/mit-license.php
------------------------------------------------------
Update History:
ver1.03:190212
Added a setting to disable temporary states outside of Battle.
ver1.02:
Allowed temporary states to be set for skills.
Fixed a bug where states could not be re-applied during consecutive attacks.
ver1.01:
Fixed a bug where unnecessary conditions were sent when used in conjunction with a conditional ○○ base.
ver1.00:
Released

@param Use Menu
@desc This setting determines whether temporary states are allowed when used in menus.
@default true
@type boolean

@param Temp State Key
@desc This is the regular expression used for reading. There is no need to change it unless you have a specific reason.
@default ^<(Target)?((?:Attack|Defense))TransientState:(¥d+),(¥d+)[%%]?>

@param Temp State Cond Stop Key
@desc This is the regular expression used to read the end of the trigger condition setting. There is no need to change it unless there is a specific reason.
@default ^</TransientState>

スポンサードリンク

-MV plugins

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