Introduction
This plugin requires the following plugins:
– Battle Engine Core
– Skill Core
這個(gè)插件需要以下插件:Battle Engine Core\Skill Core支持
Place this plugin beneath the above listed plugins in the plugin manager.
將此插件放置在插件管理器中的上述插件下方强胰。
This plugin allows you to add a variety of effects to your items and skills to reward the player for good (or bad) gameplay. Certain effects can only trigger under specific conditions, such as defeating the target, landing a critical hit, or striking the target’s weakness. After these conditions have been met, the effects can range from refunding skill costs, adding buffs, removing debuffs, or even applying states.
這個(gè)插件允許你添加各種效果到你的物品和技能來(lái)獎(jiǎng)勵(lì)玩家的行動(dòng)蚊惯。某些效果只能在特定條件下觸發(fā)酥泞,如擊敗目標(biāo),會(huì)心一擊或克制對(duì)方汞幢。達(dá)到這些條件后觸發(fā)效果,例如退還技能消耗女坑,增加BUFF尘盼,消除減益,甚至獲得狀態(tài)兼吓。
NOTE: This plugin is best used with RPG Maker MV version 1.5.0+. You can still use this plugin with a lower version number, but you will have a much harder time altering the plugin parameters without it.
注意:這個(gè)插件用于RPG Maker MV版本1.5.0+臂港。
Notetags
For updated versions of the notetags, please refer to the plugin’s helpfile.
有關(guān)備注命令請(qǐng)參閱插件的幫助文件。
Lunatic Mode – Effect Code
For experienced users that know JavaScript and have RPG Maker MV 1.5.0+, you can add new notetag effects that can be used by the plugin or alter the effects of currently existing notetag effects from the plugin parameters entry: Effect Code. It should look something like this:
對(duì)于熟悉JavaScript的用戶视搏,你可以使用自定義模式:
// ----------
// Flat Gains
// ----------
if (data.match(/([\+\-]\d+)[ ]HP/i)) {
value = parseInt(RegExp.$1);
user.gainHp(value);
animation = animation || hpAnimation;
} else if (data.match(/([\+\-]\d+)[ ]MP/i)) {
value = parseInt(RegExp.$1);
user.gainMp(value);
animation = animation || mpAnimation;
...
// -------------------------------
// Add new effects above this line
// -------------------------------
} else {
skip = true;
}
—
Here’s what each of the variables used in this code bit refer to:
-------------------- ---------------------------------------------------
Variable: Refers to:
-------------------- ---------------------------------------------------
item The item being used by this action
skill The skill being used by this action
isItem Returns true if action is an item
isSkill Returns true if action is a skill
a Returns the action user
user Returns the action user
subject Returns the action user
b Returns the action's current target
target Returns the action's current target
s[x] Return switch x (true/false)
v[x] Return variable x's current value
user._result The current results for the user
target._result The current results for the target
userPreviousResult The results for the user before any changes
targetPreviousResult The results for the target before any changes
animation The animation to be played. You can set it equal to
any of the following which corresponds to plugin
parameter settings:
- hpAnimation
- mpAnimation
- tpAnimation
- itemAnimation
- buffAnimation
- debuffAnimation
- addStateAnimation
- removeStateAnimation
- miscAnimation
skip Default: false. If true, skips popups & animations
—
If you need to revert the Effect Code back to its original state, delete the plugin from your plugin manager list and then add it again. The code will be back to default.
如果您需要將效果恢復(fù)到原始狀態(tài)审孽,請(qǐng)從插件管理器列表中刪除插件,然后重新添加浑娜。