Created
July 11, 2014 10:59
-
-
Save fujieda/b244bd7b8bb218a8569d to your computer and use it in GitHub Desktop.
戦闘開始から遭遇状況表示までの遅延(ms)
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
var result = 7200; | |
if (formation >= 3) | |
result += 200; // T字有利or不利 | |
if (search == 1 || // 索敵機による索敵成功 | |
search == 2) // 索敵機未帰還あり | |
result += 5700; | |
if (search == 3 || // 索敵機未帰還 | |
search == 4) // 索敵機による索敵失敗 | |
result += 4900; | |
if (search == 5) // 索敵力による索敵成功 | |
result += 5400; | |
if (opening) // 開幕雷撃あり | |
result += 4300; | |
if (fSubm) // 僚機に潜水艦あり | |
result += 1500; | |
if (allSubm) // どちらかがすべて潜水艦 | |
return result; | |
if (fPlane || ePlane) // 艦載機発艦 | |
result += 8500; | |
if (fPlane && ePlane) // 両艦載機発艦 | |
result += 2900; | |
return result; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment