Skip to content

Commit

Permalink
sortie sim: watch condition replace A+ -> A only
Browse files Browse the repository at this point in the history
  • Loading branch information
fourinone41 committed Sep 9, 2024
1 parent b94e27d commit 41b05cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/data/strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
"cond_no_reach_boss": "Did Not Reach Boss",
"cond_reach_boss": "Reached Boss",
"cond_flagsunk": "Boss Flagship Sunk",
"cond_rankA": "Boss A+ Rank",
"cond_rankA": "Boss A Rank",
"cond_rankS": "Boss S Rank",
"n_attempts": "{n} attempts|{n} attempt|{n} attempts",
"watch_cancel": "Cancel",
Expand Down
2 changes: 1 addition & 1 deletion js/data/strings_ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
"cond_no_reach_boss": "途中撤退",
"cond_reach_boss": "ボス到達",
"cond_flagsunk": "ボス旗艦撃沈",
"cond_rankA": "ボスA勝利以上",
"cond_rankA": "ボスA勝利",
"cond_rankS": "ボスS勝利",
"n_attempts": "{n}回試行",
"watch_cancel": "中断",
Expand Down
2 changes: 1 addition & 1 deletion js/simulator-ui/ui-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ var UI_MAIN = Vue.createApp({
let found = (this.watchCondition == 1 && SIM.simResultPrev.battleNum < this.battles.length)
|| (this.watchCondition == 2 && SIM.simResultPrev.battleNum == this.battles.length)
|| (this.watchCondition == 3 && SIM.simResultPrev.battleNum == this.battles.length && SIM.simResultPrev.result.flagsunk)
|| (this.watchCondition == 4 && SIM.simResultPrev.battleNum == this.battles.length && ['S','A'].includes(SIM.simResultPrev.result.rank))
|| (this.watchCondition == 4 && SIM.simResultPrev.battleNum == this.battles.length && ['A'].includes(SIM.simResultPrev.result.rank))
|| (this.watchCondition == 5 && SIM.simResultPrev.battleNum == this.battles.length && SIM.simResultPrev.result.rank == 'S');
if (!found) {
setTimeout(() => this._getWatch(replay,numRun),1);
Expand Down

0 comments on commit 41b05cf

Please sign in to comment.