RPG MAKER MV插件

【汉化】YEP.173 – Stat Allocation

2018-11-18  本文已影响351人  沧笙

Introduction

Lots of players love to customization in games. It lets them put a bit of a personal touch in the games they like to play, and what a better way to do that than through Stat Allocation? With the Stat Allocation, players can alter the amount of MaxHP, MaxMP, ATK, DEF, etc. through a new resource, AP, which stands for Allocation Points. AP is usually gained through leveling up and is then used to boost stats!
很多玩家都喜欢在游戏中自定义属性,在他们喜欢的游戏中加入了个人风格,还有什么比属性加点更好的方式呢?通过属性加点,玩家可以通过属性点来改变MaxHP,MaxMP,ATK,DEF等。属性点通常通过升级获得,然后用于提升数据!

However, if AP is not your thing, you can also allocate stats through JP (using the Job Points plugin) or through items! This plugin gives you, the game dev, three different ways to allocate stats with!
但是,如果不使用属性点,你也可以通过JP(使用Job Points插件)或通过物品分配属性!这个插件为游戏开发者提供了三种不同的方式!

Stat Allocation in this plugin is tied to classes and not actors as a whole. This means that the allocation build that an actor can vary depending on the class the actor currently is. This means the player can experiment with multiple allocation builds instead of a one-size fits all allocation build if class changing is involved.
此插件中的属性分配与类绑定,这意味着角色的分配可以根据actor当前所在的类而变化。这意味着如果涉及类更改,则玩家可以建立多种分配模式,而不是一个固定方式。

Classes can also offer different parameters to allocate points into, too. A warrior class may give options for ATK and DEF while a mage class can give options for MaxMP or MAT. This can be done through the usage of notetags for each class.
类也可以提供不同的参数来分配点。warrior类可以为ATK和DEF提供属性,而mage类可以为MaxMP或MAT提供属性。这可以通过使用每个类的notetag来完成。

You can adjust the allocation rules for how each stat, too, from the name to the icon to the cost to the effect to the maximum number of times the stat can be allocated into. These can all be done through the plugin parameters.
您可以调整每个属性的的加点规则,从名称到图标,从消耗到效果,再到可以分配属性次数。这些都可以通过插件参数完成。

Notetags

If you want to give certain classes different stats to allocate into, use the following notetag setups:
如果要为某些类分配不同的属性,请使用以下notetag设置:

Class Notetags:

<Stat Allocation: x, x, x>
<Stat Allocation>
x
x
x
</Stat Allocation>

– Replace ‘x’ with a stat to add it to a list of parameters that players can allocate points into. Insert as many ‘x’ entries as you need. They will appear in the menu in the order they’ve been placed. Unaffiliated stats will not appear in the menu. Use any of the stats below:

Param: Stands for:
  mhp       Max HP
  mmp       Max MP
  atk       Attack
  def       Defense
  mat       Magic Attack
  mdf       Magic Defense
  agi       Agility
  luk       Luck
XParam:
  hit       Hit Rate
  eva       Evasion Rate
  cri       Critical Hit Rate
  cev       Critical Evasion Rate
  mev       Magic Evasion Rate
  mrf       Magic Reflection Rate
  cnt       Counterattack Rate
  hrg       HP Regeneration Rate
  mrg       MP Regeneration Rate
  trg       TP Regeneration Rate
SParam:
  tgr       Target Rate
  grd       Guard Effect Rate
  rec       Recovery Rate
  pha       Pharmacology (Item Effectiveness)
  mcr       MP Cost Rate
  tcr       TP Charge Rate
  pdr       Physical Damage Rate
  mdr       Magical Damage Rate
  fdr       Floor Damage Rate
  exr       Experience Rate
—

These can be inserted into the ‘Default Parameters’ plugin parameter, too, to change up the default listing and make it apply to every class that does not have their own unique notetag setup.
这些也可以插入到“默认参数”插件参数中,以更改默认列表并使其适用于没有自己独特的notetag设置的每个类。

Main Menu Manager – Positioning the Allocate Command

For those using the Main Menu Manager and would like to position the Allocate command in a place you’d like, use the following format:
对于那些使用主菜单管理器并希望将加点命令放在您想要的位置的人,请使用以下格式:

Name: Yanfly.Param.StatAlcCmdName
 Symbol: statAllocate
 Show: $gameSystem.isShowStatAllocate()
 Enabled: $gameSystem.isEnableStatAllocate()
 Ext:
 Main Bind: this.commandPersonal.bind(this)
Actor Bind: SceneManager.push(Scene_StatAllocation)

Insert the above setup within a Main Menu Manager slot. Provided you copy the exact settings to where you need it, it will appear there while using all of the naming, enabling, disabling, hiding, and showing effects done by the plugin parameters.
将上述设置插入主菜单管理器插槽中。如果您将确切的设置复制到您需要的位置,它将在使用所有命名,启用,禁用,隐藏和显示插件参数完成的效果时显示。

Remember to turn off ‘Auto Add Menu’ from the plugin parameters.
请记得从插件参数中关闭“自动添加菜单”。

Plugin Commands

You can use the following plugin commands for various Stat Allocation related effects in your game!
您可以使用以下插件命令在游戏中进行各种加点效果!

Plugin Commands:

ShowStatAllocate
HideStatAllocate

– This will show or hide the main menu’s Stat Allocation command.

EnableStatAllocate
DisableStatAllocate

– This will enable or disable the main menu’s Stat Allocation command.

ShowRevertAllocate
HideRevertAllocate

– This will show or hide the Allocation scene’s ‘Revert’ command.

EnableRevertAllocate
DisableRevertAllocate

– This will enable or disable the Allocation scene’s ‘Revert’ command.

Lunatic Mode – Script Calls

You can use the following script calls to give actors extra AP to use.
您可以使用以下脚本为角色提供额外的属性点使用。

Script Calls:

var actor = $gameActors.actor(actorId);
 actor.gainBonusAp(x, classId);

– Replace ‘actorId’ with the ID of the actor you wish to affect. Replace ‘x’ with the amount of AP you wish to apply to the actor. Replace ‘classId’ with the ID of the class you wish to give AP to. You can keep ‘classId’ as 0 to make it affect the actor’s current class.

var actor = $gameActors.actor(actorId);
 actor.setBonusAp(x, classId);

– Replace ‘actorId’ with the ID of the actor you wish to affect. Replace ‘x’ with the amount of AP you wish to set the actor’s AP to. Replace ‘classId’ with the ID of the class you wish to set the AP to. You can keep ‘classId’ as 0 to make it affect the actor’s current class.

Happy RPG Making!

上一篇下一篇

猜你喜欢

热点阅读