Natures
This plugin requires the Copy Actors (SRD_CopyActors) plugin.
Make sure it is placed above this plugin.
这个插件需要SRD_CopyActors为基础
This is a Plugin that replicates the Nature system from Pokemon.
Each individual Actor will be assigned a random Nature when they are
created. This Nature will give certain buffs and nerfs to the Actor
depending on what the Nature is.
这个插件是源自于神奇宝贝的天赋系统,每一个角色都会被赋予某个属性,每个属性可以得到的增强或者削弱
You can customize the available Natures in the Parameters.
You can choose their name, buffs, nerfs, and chance of appearing.
你可以自定义天赋信息,例如名字,增强或削弱,出现几率
If a Nature’s name is left blank, it will not be available to be chosen.
Otherwise, even Natures with no buffs or nerfs can appear.
如果天赋名字是空的,则无法被获得
Plugin Commands
You can use the following plugin command to change an Actor’s nature:
你可以使用插件命令来改变天赋
ChangeActorNature actorId natureId
actorId = Set this to a number or a Game Variable (v[x]) 角色ID
natureId = Set this to the number listed of the nature in the Parameters 天赋ID
Examples:
ChangeActorNature 3 5
ChangeActorNature v[2] 3
You can use the following plugin command to store an Actor’s nature in a
Game Variable:
你可以存储角色天赋
StoreActorNature actorId variableId
actorId = Set this to a number or a Game Variable (v[x])
natureId = Set this to the ID of the Variable that will store the Nature ID
Examples:
StoreActorNature 5 10
StoreActorNature v[7] 11
Game_Actor Functions
Here are some Game_Actor functions you can now use with Actor variables:
你可以使用的一些功能代码
actor.nature()
Returns the name of the Actor’s nature.
返回角色的天赋名字
actor.natureId()
Returns the ID of the Actor’s nature.
返回角色的天赋ID