【汉化】YEP197-Level Up Growth Effec

2019-12-05  本文已影响0人  沧笙

Introduction

This plugin lets you create items that allow actor growth upon leveling up due to the actor, the equipment worn, class, learned skills, or any states applied to the actor upon leveling up. Growth options include increasing basic parameters, learning new skills, turning switches on/off, full recovery, and for those experienced with JavaScript, any kind of custom effect that can be done using code.
此插件允许您创建允许玩家在升级时由于角色、装备磨损、等级、学习技能或升级时应用于玩家的任何状态而增长的项。增长选项包括增加基本参数、学习新技能、打开/关闭开关、完全恢复,对于那些有JavaScript经验的人,可以使用代码实现任何类型的自定义效果。

[Notetags]

Here is a list of [Notetag(s)] that you may use.

Insert the following notetags into the respective database object noteboxes to acquire their Level Up Growth Effects.

Actor, Class, Skill, Weapon, Armor, State Notetags:

<Level Up stat Growth: +x>
<Level Up stat Growth: -x>
Upon leveling up, this will raise/reduce a particular 'stat' by x value.

<Level Up Learn Skill: x>
Upon leveling up, this will teach the actor skill x.

<Level Up Switch On: x>
<Level Up Switch On: x, x, x>
<Level Up Switch On: x to y>
<Level Up Switch Off: x>
<Level Up Switch Off: x, x, x>
<Level Up Switch Off: x to y>
Upon leveling up, this will cause switch(es) x to turn on or off.

<Level Up Recover All>
Upon leveling up, this will cause the Recover All effect to trigger for the actor.
升级后,这将触发“全部恢复”效果

[Lunatic Mode]

For advanced users who have an understanding of [JavaScript], you can use the following features added by the plugin to further enhance what you can do with your game project.

For those with JavaScript experience, you can make custom effects occur upon
leveling up as well using these notetags:

Actor, Class, Skill, Weapon, Armor, State Notetags:

<Custom Level Up Effect>
code
code
</Custom Level Up Effect>

--- Example ---

<Custom Level Up Effect>
var heal = actor.mdf;
actor.gainHp(heal);
</Custom Level Up Effect>

--- Example ---

<Custom Level Up Effect>
if (actor.level >= 50) {
var keepExp = true;
actor.changeClass(5, keepExp);
}
</Custom Level Up Effect>

--- Example ---

<Custom Level Up Effect>
if (actor.level >= 25) {
// Change sprite
var characterName = 'Actor1';
var characterIndex = 0;
actor.setCharacterImage(characterName, characterIndex);
// Change Face
var faceName = 'Actor1';
var faceIndex = 0;
actor.setFaceImage(faceName, faceIndex);
// Change SV Battler
var battlerName = 'Actor1_1';
actor.setBattlerImage(battlerName);
// Refresh Actor
actor.refresh();
}
</Custom Level Up Effect>

上一篇 下一篇

猜你喜欢

热点阅读