【汉化】YEP.175 – Actor Auto Battle AI

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 Priority> lists. An AI Level of 80 means it has an 80% chance of following the prioritized action on the AI Priority list before moving onto the next one where there will be another 80% chance and so on. If the AI level is lower, the chance is lower, making the AI to be more random.
角色的AI等级并不能决定他们的聪明程度。相反,他们确定他们将严格遵循<AI Priority>列表。AI等级为80意味着它有80%的机会在AI优先级列表上执行优先操作,然后移动到下一个将有80%的机会等等。如果AI水平较低,则机会较低,使AI更随机。

Class Notetag:

<AI Level: x>
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:

<AI Priority>
condition: SKILL x, target
condition: SKILL x, target
</AI Priority>

or

<AI Priority>
condition: skill name, target
condition: skill name, target
</AI Priority>

Any number of conditions and skills can be placed in between the two <AI Priority> tags. You can choose to use skill ID’s or the skill names. However, if you use the skill names, keep in mind that it is not case sensitive and if any skills in your database have matching names, the skill with the larger skill ID will be the action used.
可以在两个<AI Priority>标签之间放置任意数量的条件和技能。您可以选择使用技能ID或技能名称。但是,如果您使用技能名称,请记住它不区分大小写,如果数据库中的任何技能具有匹配的名称,则具有较大技能ID的技能将是所使用的操作。

Conditions

The conditions to be used for the <AI Priority> notetag are the same as the ones from the YEP_BattleAICore plugin. Please refer to the YEP_BattleAICore help file for which conditions can be used with the A.I. setups.
用于<AI Priority> notetag的条件与YEP_BattleAICore插件中的条件相同。请参阅YEP_BattleAICore帮助文件,了解哪些条件可用于AI设置。

Happy RPG Making!

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 203,547评论 6 477
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,399评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 150,428评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,599评论 1 274
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,612评论 5 365
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,577评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,941评论 3 395
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,603评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,852评论 1 297
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,605评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,693评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,375评论 4 318
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,955评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,936评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,172评论 1 259
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 43,970评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,414评论 2 342

推荐阅读更多精彩内容