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

為你的游戲添加被動(dòng)狀態(tài)。當(dāng)角色裝備武器或者學(xué)習(xí)技能時(shí)韭寸,可以獲得一個(gè)永久的狀態(tài)痒给。為你的游戲添加被動(dòng)狀態(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.

被動(dòng)狀態(tài)是自動(dòng)添加的。你可以認(rèn)為他們是更加靈活的拓展特性张峰。只要角色有狀態(tài)標(biāo)簽弓柱,那么就會(huì)一直存在狀態(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.
注意:對(duì)于有被動(dòng)狀態(tài)的技能驻售,只有學(xué)習(xí)的時(shí)候會(huì)被應(yīng)用。通過特性獲得的技能不會(huì)造成被動(dòng)狀態(tài)更米。為什么呢欺栗?因?yàn)槿绻麤]有這個(gè)限制,被動(dòng)技能執(zhí)行被動(dòng)狀態(tài)將會(huì)讓你的游戲進(jìn)入一個(gè)無限循環(huán)而造成崩潰征峦。所以如果你希望你的技能提高被動(dòng)狀態(tài)迟几,讓你的角色去主動(dòng)學(xué)習(xí)這個(gè)技能而不是通過特性獲得。


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.

允許你的角色獲得被動(dòng)狀態(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)血量或者魔法量低于或者高于最大值時(shí)需频,被動(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時(shí)筷凤,被動(dòng)狀態(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)閉時(shí)昭殉,被動(dòng)狀態(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時(shí),被動(dòng)狀態(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.

對(duì)于掌握J(rèn)S語言并且想把被動(dòng)狀態(tài)用于特殊情況時(shí)藐守,你可以使用下面的標(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.

這可以使你選擇特定情況來讓被動(dòng)狀態(tài)出現(xiàn)。如果condition返回為true卢厂,這個(gè)被動(dòng)狀態(tài)就會(huì)出現(xiàn)乾蓬。如果condition返回為false,這個(gè)被動(dòng)狀態(tài)就不會(huì)出現(xiàn)足淆。如果condition沒有定義巢块,這個(gè)被動(dòng)狀態(tài)會(huì)出現(xiàn)礁阁。

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

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


Happy RPG Making!

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市姥闭,隨后出現(xiàn)的幾起案子丹鸿,更是在濱河造成了極大的恐慌,老刑警劉巖棚品,帶你破解...
    沈念sama閱讀 211,884評(píng)論 6 492
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件靠欢,死亡現(xiàn)場離奇詭異,居然都是意外死亡铜跑,警方通過查閱死者的電腦和手機(jī)门怪,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,347評(píng)論 3 385
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來锅纺,“玉大人掷空,你說我怎么就攤上這事《陲保” “怎么了坦弟?”我有些...
    開封第一講書人閱讀 157,435評(píng)論 0 348
  • 文/不壞的土叔 我叫張陵,是天一觀的道長官地。 經(jīng)常有香客問我酿傍,道長,這世上最難降的妖魔是什么驱入? 我笑而不...
    開封第一講書人閱讀 56,509評(píng)論 1 284
  • 正文 為了忘掉前任赤炒,我火速辦了婚禮氯析,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘莺褒。我一直安慰自己魄鸦,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,611評(píng)論 6 386
  • 文/花漫 我一把揭開白布癣朗。 她就那樣靜靜地躺著拾因,像睡著了一般。 火紅的嫁衣襯著肌膚如雪旷余。 梳的紋絲不亂的頭發(fā)上绢记,一...
    開封第一講書人閱讀 49,837評(píng)論 1 290
  • 那天,我揣著相機(jī)與錄音正卧,去河邊找鬼蠢熄。 笑死,一個(gè)胖子當(dāng)著我的面吹牛炉旷,可吹牛的內(nèi)容都是我干的签孔。 我是一名探鬼主播,決...
    沈念sama閱讀 38,987評(píng)論 3 408
  • 文/蒼蘭香墨 我猛地睜開眼窘行,長吁一口氣:“原來是場噩夢(mèng)啊……” “哼饥追!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起罐盔,我...
    開封第一講書人閱讀 37,730評(píng)論 0 267
  • 序言:老撾萬榮一對(duì)情侶失蹤但绕,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后惶看,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體捏顺,經(jīng)...
    沈念sama閱讀 44,194評(píng)論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,525評(píng)論 2 327
  • 正文 我和宋清朗相戀三年纬黎,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了幅骄。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 38,664評(píng)論 1 340
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡本今,死狀恐怖拆座,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情诈泼,我是刑警寧澤懂拾,帶...
    沈念sama閱讀 34,334評(píng)論 4 330
  • 正文 年R本政府宣布,位于F島的核電站铐达,受9級(jí)特大地震影響岖赋,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜瓮孙,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,944評(píng)論 3 313
  • 文/蒙蒙 一唐断、第九天 我趴在偏房一處隱蔽的房頂上張望选脊。 院中可真熱鬧,春花似錦脸甘、人聲如沸恳啥。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,764評(píng)論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽钝的。三九已至,卻和暖如春铆遭,著一層夾襖步出監(jiān)牢的瞬間硝桩,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 31,997評(píng)論 1 266
  • 我被黑心中介騙來泰國打工枚荣, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留碗脊,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 46,389評(píng)論 2 360
  • 正文 我出身青樓橄妆,卻偏偏與公主長得像衙伶,于是被迫代替她去往敵國和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子害碾,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,554評(píng)論 2 349

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

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