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

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

MV plugins

Restriction Target Skill - RestrictionTargetSkill.js

Plugin desc : Targeted Skill Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com/

Desc page : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/RestrictionTargetSkill.js

File name : RestrictionTargetSkill.js

Help of plugin :

@url https://triacontane.blogspot.com/
@plugindesc Targeted Skill Plugin
@author Triacontane
@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/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----
RestrictionTargetSkill.js

You can create skills that cannot be used on specific battlers (enemies and
allies) or that can only be used on specific battlers.

The target will always be untargeted by the skill, even when the enemy uses a
skill, in auto-battle, confusion, or when multiple targets are used.

Restriction: The enemy character selection restriction cannot be used in
environments that use "YEP_BattleEngineCore.js."

Please specify the following in the skill's Note field.
<RTS_ValidActorID:2,3>
 # Only usable for actors with IDs [2] and [3].
<RTS_InvalidActorID:5>
 # Cannot be used for actor ID [5].
<RTS_ValidEnemyID:2,3>
 # Only usable for enemy characters with IDs [2] and [3].
<RTS_InvalidEnemyID:5>
 # Cannot be used on enemy character ID [5].
<RTS_UserInvalid>
 # Cannot be used on skill users.
<RTS_Script:s>
 # Cannot be used if script [s] is executed with a result of [true].

The following local variables can be used in scripts.
this : Target battler object
item : Target skill (item) object
To use inequality signs in a script, write them as follows:
< → &lt;
> → &gt;

You can also create a feature that makes the character immune to all skills.
Specify the database containing the feature in the Note field as follows:
<RTS_Invincible>
 # As long as this feature is active, the character will be immune to all skills.

This plugin is primarily used to create temporary invincible states through
skills.

Compatibility Information
When using this plugin in conjunction with DeadOrAliveItem.js, place this
plugin below it.

This plugin does not have a plugin command.

Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.

スポンサードリンク

-MV plugins

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