From 0110bd7e7820714adc90152d2104e74a5684bebd Mon Sep 17 00:00:00 2001 From: X-20A <155217226+X-20A@users.noreply.github.com> Date: Mon, 1 Jul 2024 00:31:41 +0900 Subject: [PATCH] in progress --- js/simulator-ui/cmp.js | 313 ++++++++++++++++++++++++++++++++++++++++- simulator.html | 302 +++++++++++++++++++-------------------- 2 files changed, 463 insertions(+), 152 deletions(-) diff --git a/js/simulator-ui/cmp.js b/js/simulator-ui/cmp.js index 0a344fff..05760366 100644 --- a/js/simulator-ui/cmp.js +++ b/js/simulator-ui/cmp.js @@ -69,6 +69,161 @@ COMMON.CMP_LOADING = { let messages = { en: { + //
+ 'MainFleet': 'MainFleet', + 'Use Normal Support': 'User Normal Support', + 'Use Boss Support': 'Use Boss Support', + 'Land Base Aerial Support': 'Land Base Aerial Support', + 'Use Friend Fleet': 'Use Friend Fleet', + 'Settings': 'Settings', + 'setting_retreat_1': 'Retreat on', + 'setting_retreat_2': '?', + 'setting_retreat_with_damecon_1': 'Retreat on', + 'setting_retreat_with_damecon_2': 'even if ship has', + 'setting_retreat_with_damecon_3': 'if on Node', + 'setting_retreat_with_damecon_4': 'or before', + 'FCF Settings': 'FCF Settings', + 'replace_fomation_1': 'Replace formation with', + 'replace_fomation_2': 'closest alternative', + 'replace_fomation_3': 'if not enough ships', + 'Historical Bonus:': 'Historical Bonus:', + 'Mechanics': 'Mechanics', + 'Day Shelling Soft-Cap:': 'Day Shelling Soft-Cap:', + 'ASW Soft-Cap:': 'ASW Soft-Cap:', + 'Torpedo Soft-Cap:': 'Torpedo Soft-Cap:', + 'Night Soft-Cap:': 'Night Soft-Cap:', + 'Air Soft-Cap:': 'Air Soft-Cap:', + 'Support Soft-Cap:': 'Support Soft-Cap:', + 'Use default World 6 costs for Air Raid (4%': 'Use default World 6 costs for Air Raid (4%', + 'bucket_setting_1': ': Count use if HP ≤', + 'bucket_setting_2': '% OR repair time >', + 'bucket_setting_3': 'hours', + 'bucket_setting_4': 'Do not count if repair time <', + 'bucket_setting_5': 'hours (regardless of above)', + 'carry_over_HP_1': 'Carry over ship HP between sims unless', + 'carry_over_HP_2': 'conditions (not including "Do not count if repair time <")', + 'Carry over ship morale between sims': 'Carry over ship morale between sims', + 'Show Advanced': 'Show Advanced', + 'Vanguard Evasion Bonus:': 'Vanguard Evasion Bonus:', + 'Use Flat Evasion Bonus': 'Use Flat Evasion Bonus', + 'Shelling': 'Shelling', + 'Torpedo': 'Torpedo', + 'Use Accuracy Multiplier': 'Use Accuracy Multiplier', + 'Set Event Values': 'Set Event Values', + 'Set Normal Values': 'Set Normal Values', + 'Special Attack Activation Rate:': 'Special Attack Activation Rate:', + 'Nelson Touch:': 'Nelson Touch:', + 'Nagato Special:': 'Nagato Special:', + 'Mutsu Special:': 'Mutsu Special:', + 'Colorado Special:': 'Colorado Special:', + 'Kongou Special:': 'Kongou Special:', + 'Yamato Special (3-ship):': 'Yamato Special (3-ship):', + 'Yamato Special (2-ship):': 'Yamato Special (2-ship):', + 'Submarine Special Attack:': 'Submarine Special Attack:', + 'Use provisional B-25 bonuses for Abyssal skip bomb airstrikes': 'Use provisional B-25 bonuses for Abyssal skip bomb airstrikes', + 'Combined Fleet Airstrike Base Mods:': 'Combined Fleet Airstrike Base Mods:', + 'Damage (Base 25):': 'Damage (Base 25):', + 'Accuracy (Base 95):': 'Accuracy (Base 95):', + 'Main': 'Main', + 'Escort': 'Escort', + 'Player Target (Battle)': 'Player Target (Battle)', + 'Player Target (Raid)': 'Player Target (Raid)', + 'Enemy Target': 'Enemy Target', + 'Arctic Camo Bonuses:': 'Arctic Camo Bonuses:', + 'Evasion (Shelling):': 'Evasion (Shelling):', + 'Armour:': 'Armour:', + 'Smokescreen Mods:': 'Smokescreen Mods:', + 'Smoke Level:': 'Smoke Level:', + 'Activation Rate:': 'Activation Rate:', + 'Use provisional': 'Use provisional', + 'activation rate formula': 'activation rate formula', + 'Shelling Accuracy Multiplier:': 'Shelling Accuracy Multiplier:', + 'Player (No Radar)': 'Player (No Radar)', + 'Player (Radar)': 'Player (Radar)', + 'Enemy (No Radar)': 'Enemy (No Radar)', + 'Enemy (Radar)': 'Enemy (Radar)', + 'ASW Accuracy Multiplier:': 'ASW Accuracy Multiplier:', + 'Player': 'Player', + 'Enemy': 'Enemy', + 'Torpedo Accuracy Multiplier:': 'Torpedo Accuracy Multiplier:', + 'Airstrike Accuracy Multiplier:': 'Airstrike Accuracy Multiplier:', + 'Set Simulator\'s Suggested Values (Provisional)': 'Set Simulator\'s Suggested Values (Provisional)', + '(Airstrike may be inaccurate)': '(Airstrike may be inaccurate)', + 'Activation Rate Suggestions': 'Activation Rate Suggestions', + 'Other Suggestions and Data': 'Other Suggestions and Data', + 'Shelling Range Tie Randomness Weights:': 'Shelling Range Tie Randomness Weights:', + 'Enable heuristic weights': 'Enable heuristic weights', + 'Warning: This setting is experimental and subject to change.': 'Warning: This setting is experimental and subject to change.', + 'warning_text': 'This setting\'s weights are based on sampling the number of occurrences of each ordering in DB data: this is only an estimate, the actual formula is unknown. Note this also means that some orderings may be incorrectly impossible to roll in simulator with this setting, if they are extremely rare in the actual game and were never recorded in DB.
Only range combinations with sufficient data are included, other combinations default to "uniform weights" (same as without this setting).', + 'Explanation:': 'Explanation:', + 'Override Support Fleet Chance:': 'Override Support Fleet Chance:', + 'Normal (Day):': 'Normal (Day):', + 'Normal (Night):': 'Normal (Night):', + 'support_fleet_in_boss': 'support_fleet_in_boss', + 'Restore Defaults': 'Restore Defaults', + '(Opens in Replayer)': '(Opens in Replayer)', + 'Watch a Sortie': 'Watch a Sortie', + 'Simulate': 'Simulate', + 'times and show statistics:': 'times and show statistics:', + 'Statistics': '演算結果', + 'support_fleet_in_boss': 'Boss:', + 'note': 'Accuracy of calculations is a work in progress and will be improved as new information is discovered. Please note that values are rough and may not exactly reflect real in-game rates.', + 'note_bold': 'Warning: Combined fleet and vanguard calculations are extremely tentative, so these results are especially rough. See Show Advanced for settings.', + 'Number of runs:': 'Number of runs:', + 'Final Rank Rate:': 'Final Rank Rate:', + 'Enemy Flagship Sunk Rate:': 'Enemy Flagship Sunk Rate:', + 'hp_per_run_1': 'Avg', + 'hp_per_run_2': 'HP per run', + 'hp_per_boss_1': 'Avg', + 'hp_per_boss_2': 'HP per boss', + 'tp_per_run_1': 'Avg', + 'tp_per_run_2': 'TP per run', + 'Rank Per Battle:': 'Rank Per Battle:', + 'rate_per_battle_mvp': 'Rate Per Battle:', + 'Air State Rate Per Battle:': 'Air State Rate Per Battle:', + 'AS+': 'AS+', + 'AS': 'AS', + 'AP': 'AP', + 'AD': 'AD', + 'AI': 'AI', + 'rate_per_battle_taiha': 'Rate Per Battle:', + 'no_chuuha_1': 'No', + 'no_chuuha_2': 'After Battle:', + 'Avg Resupply': 'Avg Resupply', + 'Avg Repair:': 'Avg Repair:', + 'avg_resource_per_s_1': 'Avg Resource Per', + 'avg_resource_per_s_2': ':', + 'avg_resource_per_flagsunk_1': 'Avg Resource Per', + 'avg_resource_per_flagsunk_2': ':', + 'Avg Emptied Plane Slot:': 'Avg Emptied Plane Slot:', + 'Avg Emptied LBAS Slot:': 'Avg Emptied LBAS Slot:', + + //
+ // 'Change Log:': 'Change Log:', + + //