【漢化】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.

當(dāng)選擇目標(biāo)時洽洁,MV默認(rèn)是從所有存活敵人募判,所有友軍或者死亡友軍中選擇。然而有時候我們希望我們可以從特定的列表里面選擇汽煮。這個目標(biāo)核心插件的拓展插件可以讓你自由的設(shè)置選擇列表


Notetags – General


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

使用標(biāo)簽

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.

注意:如果這里有敵人處于嘲諷狀態(tài)聊倔,切換群組目標(biāo)和單個目標(biāo)的選項將不會生效

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

注意:如果敵人的AI將不會在單個目標(biāo)和多目標(biāo)直接切換

<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.

產(chǎn)生傷害分散效果(此處待考證)

<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.

默認(rèn)選擇目標(biāo)

*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>的命令,這個插件參數(shù)設(shè)置將被重置谱秽。

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.

此戰(zhàn)斗者不可被選中

<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.

此戰(zhàn)斗者不可被此類攻擊選中

<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.

此戰(zhàn)斗者不可被技能或者物品選中

<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.

此戰(zhàn)斗者不可被特定物品選中

<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.

此戰(zhàn)斗者不可被特定技能選中

<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.

此戰(zhàn)斗者不可被特定技能類型選中

<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.

此戰(zhàn)斗者不可被特定元素選中


Notetags – Select Conditions


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

設(shè)置特殊情況

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.

自定義設(shè)置語句洽蛀。這將覆蓋插件的默認(rèn)設(shè)置

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,戰(zhàn)斗者可以被任何排選中

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疟赊,戰(zhàn)斗者只能被后排選中郊供,此處后排指存活戰(zhàn)斗成員的最后一排

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,戰(zhàn)斗者只能被前排選中近哟,此處前排指存活戰(zhàn)斗成員的第一排

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驮审,戰(zhàn)斗者只能被特定排選中

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,戰(zhàn)斗者只能被不超過某排選中

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吉执,戰(zhàn)斗者只能被不低于某排選中

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.

檢查基礎(chǔ)參數(shù)

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.

檢查狀態(tài)

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.

檢查是否不在狀態(tài)


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!

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末疯淫,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子戳玫,更是在濱河造成了極大的恐慌熙掺,老刑警劉巖,帶你破解...
    沈念sama閱讀 212,718評論 6 492
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件咕宿,死亡現(xiàn)場離奇詭異币绩,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)府阀,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,683評論 3 385
  • 文/潘曉璐 我一進(jìn)店門缆镣,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人试浙,你說我怎么就攤上這事董瞻。” “怎么了田巴?”我有些...
    開封第一講書人閱讀 158,207評論 0 348
  • 文/不壞的土叔 我叫張陵钠糊,是天一觀的道長。 經(jīng)常有香客問我固额,道長眠蚂,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 56,755評論 1 284
  • 正文 為了忘掉前任斗躏,我火速辦了婚禮逝慧,結(jié)果婚禮上昔脯,老公的妹妹穿的比我還像新娘。我一直安慰自己笛臣,他們只是感情好云稚,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,862評論 6 386
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著沈堡,像睡著了一般静陈。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上诞丽,一...
    開封第一講書人閱讀 50,050評論 1 291
  • 那天鲸拥,我揣著相機(jī)與錄音,去河邊找鬼僧免。 笑死刑赶,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的懂衩。 我是一名探鬼主播撞叨,決...
    沈念sama閱讀 39,136評論 3 410
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼浊洞!你這毒婦竟也來了牵敷?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 37,882評論 0 268
  • 序言:老撾萬榮一對情侶失蹤法希,失蹤者是張志新(化名)和其女友劉穎枷餐,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體铁材,經(jīng)...
    沈念sama閱讀 44,330評論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡尖淘,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,651評論 2 327
  • 正文 我和宋清朗相戀三年奕锌,在試婚紗的時候發(fā)現(xiàn)自己被綠了著觉。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 38,789評論 1 341
  • 序言:一個原本活蹦亂跳的男人離奇死亡惊暴,死狀恐怖饼丘,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情辽话,我是刑警寧澤肄鸽,帶...
    沈念sama閱讀 34,477評論 4 333
  • 正文 年R本政府宣布,位于F島的核電站油啤,受9級特大地震影響典徘,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜益咬,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 40,135評論 3 317
  • 文/蒙蒙 一逮诲、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦梅鹦、人聲如沸裆甩。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,864評論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽嗤栓。三九已至,卻和暖如春箍邮,著一層夾襖步出監(jiān)牢的瞬間茉帅,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,099評論 1 267
  • 我被黑心中介騙來泰國打工锭弊, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留担敌,地道東北人。 一個月前我還...
    沈念sama閱讀 46,598評論 2 362
  • 正文 我出身青樓廷蓉,卻偏偏與公主長得像全封,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子桃犬,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,697評論 2 351

推薦閱讀更多精彩內(nèi)容