【汉化】YEP.94 – Selection Control

YEP.94 – Selection Control


Introduction


This plugin requires YEP_BattleEngineCore and YEP_TargetCore. Make sure this plugin is located under both of those plugins in the plugin list.

这个插件需要YEP_BattleEngineCore和YEP_TargetCore。确保在这些插件下面。

When selecting targets, RPG Maker MV has it set by default that the list of valid targets is always either alive enemies, alive allies, or only dead allies. Actions would not be able to target either actors or enemies or change from single target to multiple targets. This extension plugin for the Target Core will allow you to break free of that restriction for better
selection control of targets as well as insert customized conditions.

当选择目标时,MV默认是从所有存活敌人,所有友军或者死亡友军中选择。然而有时候我们希望我们可以从特定的列表里面选择。这个目标核心插件的拓展插件可以让你自由的设置选择列表


Notetags – General


To make skills and items select only certain types of battlers, you can use the following notetag setup to do so:

使用标签

Skill and Item Notetags:

<Single or Multiple Select>

This will allow the skill or item to be able to select either single targets or all targets at once. This will automatically make a skill default to single target selecting. You MUST change your scope in the database to work with this effect.

这将开启技能或者物品的单选或者多选能力

*Note: Having this option will cancel out AoE Circles and AoE Rectangles to avoid conflicting issues.

注意:这个选项将会取消技能范围释放来避免冲突

*Note: If there is an enemy with taunt, the option to switch between a group target and a single target will not be available.

注意:如果这里有敌人处于嘲讽状态,切换群组目标和单个目标的选项将不会生效

*Note: Enemy AI will NOT make use of the ability to toggle between single target and multi-target scopes.

注意:如果敌人的AI将不会在单个目标和多目标直接切换

<Disperse Damage>

Used in conjunction with the above notetag, this will cause damage to be split evenly amongst the number of targets the skill is dispersed into. The damage dispersion effect will only occur if multiple targets are being selected after toggling.

产生伤害分散效果(此处待考证)

<Enemy or Actor Select>
<Actor or Enemy Select>

This will allow the player to toggle between selecting an enemy or actor for the action’s target scope. When using <Enemy or Actor Select>, it will first target enemies by default. Using <Actor or Enemy Select> will target actors by default. Using either notetag will change the action’s target scope to single target.
*Note: Enemy AI will NOT make use of the ability to toggle between actors or enemies for skill selection.

默认选择目标

*Note: If you use any <Select Condition> effects, all selection options provided by default with the plugin parameters will be reset under the assumption that it will no longer be an action of default nature. If this is the case, you will need to use the above notetags to specify how you wish to make your skill’s selection methods.

注意:如果你使用了<Select Condition>的命令,这个插件参数设置将被重置。

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

<Cannot Select: All>

All actions cannot select this battler unless it’s an action whose scope is a user scope.

此战斗者不可被选中

<Cannot Select: Physical Hit>
<Cannot Select: Magical Hit>
<Cannot Select: Certain Hit>

This will prevent physical, magical, or certain hit actions from being able to select the battler. They will be excluded out of multi-hit skills, as well unless it’s an action whose scope targets the user itself. targets the user itself.

此战斗者不可被此类攻击选中

<Cannot Select: Skills>
<Cannot Select: Items>

This will prevent skills/items from being able to target the battler unless it’s an action whose scope targets the user itself.

此战斗者不可被技能或者物品选中

<Cannot Select: Item x>
<Cannot Select: Item name>

This will prevent item ‘x’ (or the named item) from being able to target the battler unless the item’s scope targets the user itself. If you have multiple items in your database with the same name, priority will be given to the item with the highest ID.

此战斗者不可被特定物品选中

<Cannot Select: Skill x>
<Cannot Select: Skill name>

This will prevent skill ‘x’ (or the named skill) from being able to target the battler unless the skill’s scope targets the user itself. If you have multiple skills in your database with the same name, priority will be given to the skill with the highest ID.

此战斗者不可被特定技能选中

<Cannot Select: SType x>
<Cannot Select: SType name>

This will prevent skills of skill type ‘x’ (or named) from being able to target the battler unless the skill’s scope targets the user itself. If you have multiple skill types in your database with the same name, then priority will be given to the skill type with the highest ID.

此战斗者不可被特定技能类型选中

<Cannot Select: Element x>
<Cannot Select: Element name>

This will prevent actions with an elemental ID of ‘x’ (or named) from being able to target the battler unless the action’s scope targets the user itself. If you have multiple elements in your database with the same name, then priority will be given to the element with the highest ID.

此战斗者不可被特定元素选中


Notetags – Select Conditions


To impose specific conditions on which targets are valid targets, use the following notetag setup:

设置特殊情况

Skill and Item Notetags:

<Select Conditions>
condition
condition
</Select Conditions>

Replace ‘condition’ with the desired condition setup. Insert multiple conditions to make an action require more conditions for viable targets. Using this will overwrite the default settings imposed by the plugin parameters so if you wish to use those settings, you’ll have to use the associated condition with it.

自定义设置语句。这将覆盖插件的默认设置

Conditions:

Any Row

– Requires YEP_RowFormation.js. The battler can be targeted from any row it is in as a valid target. This will conflict with the other ‘Row Only’ select conditions.

需要配合YEP_RowFormation.js,战斗者可以被任何排选中

Back Row Only

– Requires YEP_RowFormation.js. This will make only the back row battlers be selectable for target. The back row will refer to whatever row is in the back that has living members. If row 3’s enemies are all dead, but row 2 has living members, then row 2 will be considered the back row. This will conflict with the other ‘Row Only’ select conditions.

需要配合YEP_RowFormation.js,战斗者只能被后排选中,此处后排指存活战斗成员的最后一排

Front Row Only

– Requires YEP_RowFormation.js. This will make only the front row battlers be selectable for target. The front row will refer to whatever row is in front that has living members. If row 1’s enemies are all dead, but row 2 has living members, then row 2 will be considered the front row. This will conflict with the other ‘Row Only’ select conditions.

需要配合YEP_RowFormation.js,战斗者只能被前排选中,此处前排指存活战斗成员的第一排

Row x Only

– Requires YEP_RowFormation.js. This will make only battlers in row x be selectable for target. Any battlers not in row x will be excluded from target selection. This will conflict with the other ‘Row Only’ select conditions.

需要配合YEP_RowFormation.js,战斗者只能被特定排选中

Row x Max

– Requires YEP_RowFormation.js. This will make all battlers who are located in a lower number row up to row x be selectable for target. Any battlers in a row number larger than x will be excluded from target selection.

需要配合YEP_RowFormation.js,战斗者只能被不超过某排选中

Row x Min

– Requires YEP_RowFormation.js. This will make all battlers who are located in a row from row x onward selectable for target. Any battlers in a row number smaller than x will be excluded from target selection.

需要配合YEP_RowFormation.js,战斗者只能被不低于某排选中

Param stat eval

ie:

Param MaxHP >= 500
Param HP% <= 0.30
Param Level === 25

– This makes the selection have a check on the target’s parameter values before deciding if the target is a valid target for selection. You can replace ‘stat’ with ‘MaxHP’, ‘MaxMP’, ‘MaxTP’, ‘HP’, ‘MP’, ‘TP’, ‘HP%’, ‘MP%’, ‘TP%’, ‘ATK’, ‘DEF’, ‘MAT’, ‘MDF’, ‘AGI’, ‘LUK’, or ‘LEVEL’. This run an eval check against that parameter owned by the target.

检查基础参数

State: x
State: name

– The target must have state ‘x’ in order to be selected as a valid target. If you’re using the named version of the condition and you have multiple states with the same name in your database, priority will be given to the state with the highest ID. If the target doesn’t have state ‘x’, then the target is not a valid target for selection.

检查状态

Not State: x
Not State: name

– The target must not have state ‘x’ in order to be selected as a valid target. If you’re using the named version of the condition and you have multiple states with the same name in your database, priority will be given to the state with the highest ID. If the target does have state ‘x’, then the target is not a valid target for selection.

检查是否不在状态


Lunatic Mode – Custom Select Condition


For those with JavaScript experience, you can use the following notetags to make custom selection conditions for skills and items.

拓展模式

Skill and Item Notetags:

<Custom Select Condition>
if (target.name() === ‘Harold’) {
condition = true;
} else {
condition = false;
}
</Custom Select Condition>

The ‘condition’ variable determines if the condition will pass or not. If the variable returns ‘true’, the condition will pass. If the variable is ‘false’, the condition will fail and the target will not be a valid target for the action. Even if the <Custom Select Condition> notetag passes, all other selection conditions must pass, too.

例句


Happy RPG Making!

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

推荐阅读更多精彩内容