【漢化】YEP.13 – Auto Passive States

YEP.13 – Auto Passive States

Add passive states to your game! They can be innate to actors, classes, appear when a piece of equipment is worn, or after an actor learns a skill! Having a passive state increase gameplay depth by a lot!

為你的游戲添加被動狀態(tài)。當(dāng)角色裝備武器或者學(xué)習(xí)技能時,可以獲得一個永久的狀態(tài)。為你的游戲添加被動狀態(tài)提高游戲可玩性吧!


Introduction


Passive states are states that are automatically active. You can think of them as an extension of traits but with more flexibility. They will always be there as long as the actor or enemy has auto passive state notetags.

被動狀態(tài)是自動添加的。你可以認(rèn)為他們是更加靈活的拓展特性。只要角色有狀態(tài)標(biāo)簽,那么就會一直存在狀態(tài)。

NOTE: For those using Passive States with your skills, the passive states will only be applied from Learned Skills! They will not be applied from skills that are learned through traits. Why? Because without this restriction, a passive skill that applies a passive state that in turn provides a skill through its traits will cause an infinite loop in your game and cause it crash. So if you want your skills to provide a passive state, have your actors learn the skill instead of applying it through a trait.
注意:對于有被動狀態(tài)的技能,只有學(xué)習(xí)的時候會被應(yīng)用。通過特性獲得的技能不會造成被動狀態(tài)。為什么呢?因為如果沒有這個限制,被動技能執(zhí)行被動狀態(tài)將會讓你的游戲進(jìn)入一個無限循環(huán)而造成崩潰。所以如果你希望你的技能提高被動狀態(tài),讓你的角色去主動學(xué)習(xí)這個技能而不是通過特性獲得。


Notetags


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

<Passive State: x>
<Passive State: x, x, x>

This will allow the actor or enemy to have state x as a passive state. If placed inside a weapon or armor notebox, the user will have that passive state.

允許你的角色獲得被動狀態(tài)x。你可以放在角色、敵方、武器、裝備等標(biāo)簽欄

<Passive State: x to y>

This will add the states x through y (in a sequence) for the actor or enemy to have as a passive state. If placed inside a weapon or armor notebox, the user will have that passive state.

讓你的角色獲得狀態(tài)x到y(tǒng)。你可以放在角色、敵方、武器、裝備等標(biāo)簽欄

State Notetags:

<Passive Condition: HP Above x%>
<Passive Condition: HP Below x%>
<Passive Condition: MP Above x%>
<Passive Condition: MP Below x%>

If the user’s HP or MP is above/below x% of the MaxHP or MaxMP, this condition will be met for the passive state to appear.

當(dāng)血量或者魔法量低于或者高于最大值時,被動狀態(tài)觸發(fā)。

<Passive Condition: Stat Above x>
<Passive Condition: Stat Below x>

Replace ‘stat’ with ‘HP’, ‘MP’, ‘TP’, ‘MAXHP’, ‘MAXMP’, ‘ATK’, ‘DEF’, ‘MAT’, ‘MDF’, ‘AGI’, ‘LUK’. If the above stat is above/below x, then the condition is met for the passive state to appear.

當(dāng)其他狀態(tài)低于或者高于x時,被動狀態(tài)觸發(fā)

<Passive Condition: Switch x ON>
<Passive Condition: Switch x OFF>

If switch x is either ON/OFF, then the condition is met for the passive state to appear.

當(dāng)開關(guān)是開啟或者關(guān)閉時,被動狀態(tài)觸發(fā)

<Passive Condition: Variable x Above y>
<Passive Condition: Variable x Below y>

Replace x with the variable you wish to check to see if it’s above/below y, then the condition is met for the passive state to appear.

當(dāng)變量x高于或者低于y時,被動狀態(tài)觸發(fā)


Lunatic Mode – Conditional Passives


For those who understand a bit of JavaScript and would like for their passive states to appear under specific conditions, you can use this notetag to accomplish conditional factors.

對于掌握J(rèn)S語言并且想把被動狀態(tài)用于特殊情況時,你可以使用下面的標(biāo)簽來完成。

State Notetags:

<Custom Passive Condition>
if (user.hp / user.mhp <= 0.25) {
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>

This enables you to input conditions to be met in order for the passive state to appear. If the ‘condition’ variable returns true, the passive state will appear. If the ‘condition’ returns false, it won’t appear. If condition is not defined, it will return true and the passive state will appear on the battler.

這可以使你選擇特定情況來讓被動狀態(tài)出現(xiàn)。如果condition返回為true,這個被動狀態(tài)就會出現(xiàn)。如果condition返回為false,這個被動狀態(tài)就不會出現(xiàn)。如果condition沒有定義,這個被動狀態(tài)會出現(xiàn)。

Note: All non-custom passive conditions must be met before this one can be fulfilled and allow the custom condition to appear.

注意:所有非自定義情況會在這個完成之前運(yùn)行,并且允許自定義情況出現(xiàn)


Happy RPG Making!

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 11,246評論 0 23
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的閱讀 13,681評論 5 6
  • 第一章 放棄 1.那一幕的感覺 “后來,我總算學(xué)會了如何去愛。可惜你已經(jīng)遠(yuǎn)去消失在人海。后來,終于在眼淚中...
    Blue__7閱讀 214評論 0 0
  • 集結(jié)了演藝圈一打大咖、幾番跳票的《羅曼蒂克消亡史》終于來了。 但才上映兩天,已經(jīng)有這樣的聲音—— 眾所周知,《一步...
    Sir電影閱讀 1,121評論 3 19
  • 01 最近一則新聞在網(wǎng)上引起大家的爭論和關(guān)注。在安徽衛(wèi)視《學(xué)霸是怎樣煉成的》節(jié)目中,小米前人事經(jīng)理直言:會對非98...
    黃昏的黎明閱讀 774評論 2 5

友情鏈接更多精彩內(nèi)容