Amiibo drops/zh: Difference between revisions

no edit summary
(Created page with "==== 神獸頭盔 (Armor_181_Head, Armor_182_Head, Armor_183_Head, Armor_184_Head) ====")
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 51: Line 51:
如果這個 amiibo 已經連續掃 5 次還沒出過特獎的話,第六次開始就會保證是特獎。
如果這個 amiibo 已經連續掃 5 次還沒出過特獎的話,第六次開始就會保證是特獎。


開頭獎跟特獎的時候,遊戲會檢查玩家的進度,如果 Find_4Relic_1stClear 為真(打完一隻神獸),遊戲會使用 'Remain' 這個表決定掉落物。若否,遊戲會檢查 IsGet_PlayerStole2(拿到滑翔傘),為真則使用 'Parasail' 這個表,否則只用 'Normal' 這個表。
開頭獎跟特獎的時候,遊戲會檢查玩家的進度,如果 Find_4Relic_1stClear 為真(解放過一頭神獸),遊戲會使用 'Remain' 這個表決定掉落物。若否,遊戲會檢查 IsGet_PlayerStole2(拿到滑翔傘),為真則使用 'Parasail' 這個表,否則只用 'Normal' 這個表。


決定好使用哪個表格後,遊戲會決定應該掉落多少東西<ref>[[AIDef:Action/ItemAmiiboCreateFromDropTable]]</ref>:
決定好使用哪個表格後,遊戲會決定應該掉落多少東西<ref>[[AIDef:Action/ItemAmiiboCreateFromDropTable]]</ref>:
Line 107: Line 107:
==== 神獸頭盔 (Armor_181_Head, Armor_182_Head, Armor_183_Head, Armor_184_Head) ====
==== 神獸頭盔 (Armor_181_Head, Armor_182_Head, Armor_183_Head, Armor_184_Head) ====


When scanning a Champion amiibo, if you've completed any Divine Beast '''and''' received a Great Hit, '''and''' if you haven't already received the corresponding helm<ref>If the corresponding IsGet flag is false</ref>, the chest is guaranteed to contain the Divine Helm.
掃描英傑 amiibo 時,如果你解放完「任何一頭」神獸''''''拿到頭獎''''''你還沒拿過相應的神獸頭盔,<ref>If the corresponding IsGet flag is false</ref>,那遊戲 100% 會給你該頭盔。


=== Code ===
=== 程式碼 ===


Unless otherwise indicated, all member function names below are unofficial. (Only the class name is official.)
Unless otherwise indicated, all member function names below are unofficial. (Only the class name is official.)
Line 115: Line 115:
==== action::ItemAmiiboCreateFromDropTable::getOneDrop ====
==== action::ItemAmiiboCreateFromDropTable::getOneDrop ====


This function is responsible for choosing a drop to be spawned.
這個函數會選擇掉落物。


https://gist.github.com/leoetlino/a67a874111c1bd97805239f8678e0d00
https://gist.github.com/leoetlino/a67a874111c1bd97805239f8678e0d00
Line 121: Line 121:
==== action::ItemAmiiboCreateFromDropTable::doSpawn ====
==== action::ItemAmiiboCreateFromDropTable::doSpawn ====


This function is responsible for spawning a drop.
這個函數會生成掉落物。


https://gist.github.com/leoetlino/ff246cb5c16b12c5af14a899d1cd8ffd
https://gist.github.com/leoetlino/ff246cb5c16b12c5af14a899d1cd8ffd
Line 129: Line 129:
<references/>
<references/>


[[Category:Internals]]
[[Category:Internals{{#translation:}}]]
[[Category:Game mechanics]]
[[Category:Game mechanics{{#translation:}}]]
translator
745

edits