Introduction
This plugin requires YEP_BattleAICore. Make sure this plugin is located under YEP_BattleAICore in the plugin list.
此插件需要YEP_BattleAICore。确保此插件位于插件列表中的YEP_BattleAICore下。
By default, if an actor has the auto battle trait, it will cycle through each one of its learned skills (whether or not it has access to the skill type doesn’t matter) and selects the hardest hitting skill of them all. This setup may work for some auto-battlers but not all of them. What this plugin does is it incorporates the A.I. Priority system from the YEP Library’s Battle A.I. Core for actor auto-battlers.
默认情况下,如果一个角色具有自动战斗特征,它将循环通过其所学习的每一项技能(和技能类型无关)并选择所有这些技能最难的技能。此设置可能适用于某些自动角色。这个插件结合了YEP的战斗AI核心系统。
If you don’t have YEP_BattleAICore yet, please download it from here.
如果您还没有YEP_BattleAICore,请从此处下载。
Plugin Parameters
Default AI Level: – See ‘Actor AI Level’ in the Notetags section below.
默认AI等级:- 请参阅下面的Notetags部分中的'Actor AI Level'。
Bypass Requirement:
– This is a list of the skills that bypass that requirement to have learned the skill in order to use it. This is namely for skills like ‘Attack’ and/or ‘Guard’ that aren’t normally learned by actors, but are available to them through the command window.
直接使用:- 不需要学习就可以使用的技能列表。例如“攻击”和/或“守卫”等技能,这些技能通常不会被角色学习,但可以通过命令窗口使用。
Curate Skill List:
– Skills used for Auto Battle can only be skills accessible through available skill types. This is a selectable option because sometimes, skills that are learned by actors can be used through auto battle despite not having access to that skill type. An example of this would be an actor that has learned skills in the Knight class, but upon switching to the Mage class the actor loses the Knight skill type. Yet, despite that, auto battle would let the Mage class use skills from the Knight skill type if it’s a part of the setup. Turning this on to curate the skill list will remove the ability use skills outside of available skill types.
技能列表:- 用于自动对战的可用的技能类型。这是一个可选择的选项,因为有时候,角色学到的技能可以通过自动战斗使用,尽管无法访问该技能类型。这方面的一个例子是在Knight类中学习技能的演员,但是在切换到Mage类时,演员失去了Knight技能类型。然而,尽管如此,如果它是设置的一部分,自动战斗将让Mage类使用Knight技能类型的技能。启用此功能来删除在可用技能类型之外的技能。
Undecided AI:
– If no skill is determined through the A.I. Priority list, the actor will use the default Auto Battle AI to determine which skill to use. Otherwise, the actor perform only a basic attack if the setting is false.
未定AI:- 如果未通过AI优先级列表确定技能,则角色将使用默认的自动对战AI来确定要使用的技能。否则,如果设置为false,则actor仅执行基本攻击。
Notetags
The notetags to setup the auto battle A.I. will go into the class noteboxes.
设置自动战斗AI的注意事项。
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Actor AI Level
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Actor AI levels do not determine how smart they are. Instead, they determine how strictly they will follow the
角色的AI等级并不能决定他们的聪明程度。相反,他们确定他们将严格遵循
Class Notetag:
Sets the actor’s AI level to x. The lower x, the more random the actor. The higher for x, the more strict the actor is about following the AI Priority list found in its notebox, too.
将actor的AI级别设置为x。x越低,技能越随机。x越高,AI优先级列表就越受约束。
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Actor AI Priority
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
If a class has an AI Priority list, the actor will go down that list from top to bottom (giving the actions at the top more priority than the ones at the bottom) looking for any actions whose conditions are fulfilled. If that condition is fulfilled, then that action will be the action the actor will partake in.
如果一个类具有AI优先级列表,则该actor将从上到下(从顶部开始的操作优先于底部的操作)查找已满足条件的操作。如果满足该条件,那么该动作将是角色执行的动作。
To set up a Priority List for the actor, you must place inside the class’s notebox notetags that match the following format:
要为actor设置优先级列表,您必须在notebox中放置符合以下格式的notetags:
condition: SKILL x, target
condition: SKILL x, target
or
condition: skill name, target
condition: skill name, target
Any number of conditions and skills can be placed in between the two
可以在两个
Conditions
The conditions to be used for the
用于