Creates skills or items that can steal enemy items – ARP_SimpleStealSkill.js

タイトル
Creates skills or items that can steal enemy items
作者名
ヘルプ
Please report any bugs you find to 'atreyo.ray[at]gmail.com'
There's no need to credit me for using this plugin.
You can use it on free or commercial games.
You're free to modify it to suit your needs.
--------------------------------------------------
NOTE TAGS
--------------------------------------------------
---------------------
For Skills or Items
---------------------
<can_steal>
to make an steal type skill or item.
Works well for single or multiple targets.

<show_steal_items>
to show items that can be stolen.
Doesn't show items that have already been stolen.
Will show the chance of the item being stolen.
- shown chance max will be 100%, even it's higher.
Works well for single of multiple targets.

Those tags may be used together. Showing possible
items to steal happen before the steal attempt.

-------------
For Enemies
-------------
Any number of
<steal#:A,B,C,D>
#: a number begining on 1 (do not skip numbers).
A: type of item (item, weapon, or armor).
B: item ID
C: chance (a number from 0 to 100);
D: amount of items stolen at the same time. (may be left blank, = 1).
More than one tag may be used, but '#' must start at 1.
There's an steal attempt to each item. You may keep trying to steal
until there's no more items to steal.

For example:
<steal1:item,1,40,2>
<steal2:weapon,3,20>
<steal3:armor,1,4>
- This enemy has 3 possible items to be stolen:
- an item of id 1, with a 40% chance to steal 2 of it.
- a weapon of id 3, with a 20% chance to steal 1 of it.
- an armor of id 1, with a mere 4% chance to steal 1 of it.

-------------------------------------------------------------
(OPTIONAL) For Actors, Classes, Weapons, Armors, and States
-------------------------------------------------------------
<steal_chance:X>
X: the percentage of increase to steal chance.
You can also use negative numbers.

For example, setting a weapon with
<steal_chance: 20>
will increase the actor's steal chance by 20% while its equiped
with this weapon.

INFO:
using this optional notetag will also change the chance shown
when you use an item or skill that shows "stealable" items.
if you want to use an actor's steal chance increase in any other
place, you can access this property using battler.stc
For instance, on damage formula, if you want to use it, make it
a.stc or b.stc. Note that enemy's stc will always be 0, and the
base value is 0 (just like an X-Param would be).
パラメータ
param Nothing Text
desc Text shown when enemy has no <steal> notetags.
Default: Nothing to steal!
default Nothing to steal!

param No Items Text
desc Text shown when enemy has no more items to be stolen.
Default: No more items to steal!
default No more items to steal!

param Got Nothing Text
desc Text shown when no item was caught on a steal atempt.
Default: You got nothing!
default You got nothing!

param Obtained Text
desc Text show when you obtain an item, right before
the name of the item. Default: Obtained
default Obtained

param Enemy Name Color
desc The sytem color of the enemy name shown in the message.
Check Window.png in img/system to see possible colors
default 8

param Message Position
desc Where should the message window appear
0: top 1: middle 2: bottom
default 1

param Message Background
desc The background of the message window
0: window 1: dim 2: transparent
default 1
ライセンス表記
You can use it on free or commercial games.

紹介ページ https://forums.rpgmakerweb.com/index.php?threads/steal-item-skill.51491/