For those with JavaScript experience, you can create your own custom
requirements for whether or not items can be used using the following
notetag setup:
Item Notetags:
condition = battler.level >= item.price;
The 'condition' variable will determine whether or not the item will be
enabled/disabled. If the 'condition' variable returns true, then the item
is enabled provided all other conditions (if any) are also met. Otherwise,
the item is disabled and cannot be used. The 'battler' variable will refer
to the battler using the item. The 'item' variable will refer to the item
being checked.
> For those with JavaScript experience, you can create your own custom
> requirements for whether or not items can be used using the following
> notetag setup:
>
> Item Notetags:
>
> <Custom Enable Requirement>
> condition = battler.level >= item.price;
> </Custom Enable Requirement>
>
> - The 'condition' variable will determine whether or not the item will be
> enabled/disabled. If the 'condition' variable returns true, then the item
> is enabled provided all other conditions (if any) are also met. Otherwise,
> the item is disabled and cannot be used. The 'battler' variable will refer
> to the battler using the item. The 'item' variable will refer to the item
> being checked.
参考插件说明。
```
<Custom Enable Requirement>
condition = a.isLearnedSkill(183);
</Custom Enable Requirement>
```
将物品067“《卖萌秘籍》”设置为“当使用者已学会技能183‘卖萌I’时可使用”
参考插件说明。