Created
September 29, 2017 11:16
-
-
Save andanteyk/8f43bff9cb5d9f1eac7e7209721144c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 近代化改修における海防艦の処理 | |
// UI の更新処理なので、いくつ上昇するかは分からない | |
// 間違っていたら突っ込んでください | |
同艦型フラグ = 海防艦であり、艦型(ctype)が同じで、艦名読みが異なる艦娘がいる; | |
if(海防艦数 >= 1) { | |
運上昇フラグ = true; | |
対潜上昇フラグ = true; | |
} | |
if(海防艦数 >= 2 && 同艦型フラグ == true) { | |
耐久上昇フラグ = true; | |
} | |
if((運最大 - 運) <= 0) { | |
運上昇フラグ = false; | |
} | |
if(耐久改修値 >= 2) { | |
耐久上昇フラグ = false; | |
} | |
if(耐久現在値 >= 耐久最大値) { // どちらも maxHP のこと | |
耐久上昇フラグ = false; | |
} | |
if(対潜改修値 >= 9) { | |
対潜上昇フラグ = false; | |
} else if(対潜最大値 == 0) { | |
対潜上昇フラグ = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment