Skip to content

Commit

Permalink
advanced setting: Barrage Balloon Airstrike Accuracy Effects
Browse files Browse the repository at this point in the history
  • Loading branch information
fourinone41 committed Jul 12, 2024
1 parent 257a97d commit dee3e98
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/data/strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,12 @@
"explanation": "Explanation",
"override_support_chance": "Override Support Fleet Chance",
"override_support_chance_desc": "(Fleet Communication Antenna bonuses are currently unknown, these settings may be used to experiment with potential effects.)",
"balloon_acc_effects": "Barrage Balloon Airstrike Accuracy Effects",
"balloon_own_fleet": "Bonus if Attacker's Side Has Balloons (1/2/3 = Number of Ships with Balloon Equipped)",
"balloon_opposing_fleet": "Penalty if Target's Side Has Balloons (1/2/3 = Number of Ships with Balloon Equipped)",
"balloon_airstrike": "Airstrike",
"balloon_lbas": "LBAS",
"balloon_acc": "Acc",

"normal_day": "Normal (Day)",
"normal_night": "Normal (Night)",
Expand Down
6 changes: 6 additions & 0 deletions js/data/strings_ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,12 @@
"explanation": "詳細",
"override_support_chance": "支援艦隊来援率上書き",
"override_support_chance_desc": "(艦隊通信アンテナ、及び通信装置&要員は来援率上昇の法則がまだ分かっていません。想定される効果を反映させたい場合は手動で値を設定する必要があります)",
"balloon_acc_effects": "阻塞気球使用時の航空戦命中補正",
"balloon_own_fleet": "Own Fleet's Balloons",
"balloon_opposing_fleet": "Opposing Fleet's Balloons",
"balloon_airstrike": "航空戦",
"balloon_lbas": "基地航空隊",
"balloon_acc": "命中",

"normal_day": "道中支援(昼戦)",
"normal_night": "道中支援(夜戦)",
Expand Down
49 changes: 49 additions & 0 deletions simulator.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,55 @@ <h2>{{$t('settings')}}</h2>
<tr><td>{{$t('boss')}}:</td><td><input type="number" min="0" max="100" v-model="settings.overrideSupportChanceDayB" :class="getClassSetting('overrideSupportChanceDayB')"/>%</td></tr>
</table>
</div>
<div>
<div><span class="subheader"><img src="assets/items/55.png"/> {{$t('balloon_acc_effects')}}:</span></div>
<div>{{$t('balloon_own_fleet')}}:</div>
<div style="margin-left:20px;display:flex;gap:20px">
<div>{{$t('balloon_airstrike')}}:
<table>
<tr v-for="i in 3">
<th>{{i}}:</th>
<td>
({{$t('balloon_acc')}} &#215; <input type="number" min="1" max="2" step=".01" v-model="settings.balloonSelfAirMod[i-1]" :class="getClassSetting('balloonSelfAirMod',i-1)"/>)
+ <input type="number" min="0" max="99" step="1"v-model="settings.balloonSelfAirFlat[i-1]" :class="getClassSetting('balloonSelfAirFlat',i-1)"/>
</td>
</tr>
</table></div>
<div>{{$t('balloon_lbas')}}:
<table>
<tr v-for="i in 3">
<th>{{i}}:</th>
<td>
({{$t('balloon_acc')}} &#215; <input type="number" min="1" max="2" step=".01" v-model="settings.balloonSelfLBASMod[i-1]" :class="getClassSetting('balloonSelfLBASMod',i-1)"/>)
+ <input type="number" min="0" max="99" step="1"v-model="settings.balloonSelfLBASFlat[i-1]" :class="getClassSetting('balloonSelfLBASFlat',i-1)"/>
</td>
</tr>
</table></div>
</div>
<div>{{$t('balloon_opposing_fleet')}}:</div>
<div style="margin-left:20px;display:flex;gap:20px">
<div>{{$t('balloon_airstrike')}}:
<table>
<tr v-for="i in 3">
<th>{{i}}:</th>
<td>
({{$t('balloon_acc')}} &#215; <input type="number" min="0" max="1" step=".01" v-model="settings.balloonOppoAirMod[i-1]" :class="getClassSetting('balloonOppoAirMod',i-1)"/>)
+ <input type="number" min="-99" max="0" step="1" v-model="settings.balloonOppoAirFlat[i-1]" :class="getClassSetting('balloonOppoAirFlat',i-1)"/>
</td>
</tr>
</table></div>
<div>{{$t('balloon_lbas')}}:
<table>
<tr v-for="i in 3">
<th>{{i}}:</th>
<td>
({{$t('balloon_acc')}} &#215; <input type="number" min="0" max="1" step=".01" v-model="settings.balloonOppoLBASMod[i-1]" :class="getClassSetting('balloonOppoLBASMod',i-1)"/>)
+ <input type="number" min="-99" max="0" step="1" v-model="settings.balloonOppoLBASFlat[i-1]" :class="getClassSetting('balloonOppoLBASFlat',i-1)"/>
</td>
</tr>
</table></div>
</div>
</div>
</div>
</div>
<div>
Expand Down

0 comments on commit dee3e98

Please sign in to comment.