OSDN Git Service

[Implement] はぐれメタルと対戦する際のやりとりをチャンピオンへの挑戦に最適化し、勝った時の日記表記を追加した
authorHourier <66951241+Hourier@users.noreply.github.com>
Thu, 13 Jun 2024 12:17:55 +0000 (21:17 +0900)
committerHourier <66951241+Hourier@users.noreply.github.com>
Sat, 15 Jun 2024 13:51:17 +0000 (22:51 +0900)
src/io/write-diary.cpp
src/market/arena.cpp

index 464ff46..58e0ade 100644 (file)
@@ -339,6 +339,14 @@ void exe_write_diary(const FloorType &floor, DiaryKind dk, int num, std::string_
         constexpr auto fmt = _(" %2d:%02d %20s 闘技場の%sで(%s)に勝利した。\n", " %2d:%02d %20s won %s (%s).\n");
         const auto fight_number = entries.get_fight_number(true);
         fprintf(fff, fmt, hour, min, note_level.data(), fight_number.data(), note.data());
+        if (entries.is_player_true_victor()) {
+            constexpr auto mes_true_champion = _("                 最強の挑戦者からタイトルを防衛し、真のチャンピオンとなった。\n",
+                "                 won the strongest challenger and became the True Champion.\n");
+            fprintf(fff, mes_true_champion);
+            do_level = false;
+            break;
+        }
+
         if (entries.is_player_victor()) {
             constexpr auto mes_champion = _("                 闘技場のすべての敵に勝利し、チャンピオンとなった。\n",
                 "                 won all fights to become a Champion.\n");
index b324237..89d1563 100644 (file)
@@ -62,14 +62,14 @@ static std::optional<int> process_ostensible_arena_victory()
 
 static bool check_battle_metal_babble(PlayerType *player_ptr)
 {
-    msg_print(_("君のために最強の挑戦者を用意しておいた。", "The strongest challenger is waiting for you."));
+    msg_print(_("最強の挑戦者が君に決闘を申し込んできた。", "The strongest challenger throws down the gauntlet to your feet."));
     msg_print(nullptr);
-    if (!input_check(_("挑戦するかね?", "Do you fight? "))) {
-        msg_print(_("残念だ。", "We are disappointed."));
+    if (!input_check(_("受けて立つかね?", "Do you take up the gauntlet? "))) {
+        msg_print(_("失望したよ。", "We are disappointed."));
         return false;
     }
 
-    msg_print(_("æ­»ã\81¬ã\81\8cã\82\88ã\81\84ã\80\82", "Die, maggots."));
+    msg_print(_("æ\8c\91æ\88¦è\80\85ã\80\8cæ­»ã\81¬ã\81\8cã\82\88ã\81\84ã\80\82ã\80\8d", "The challenger says, 'Die, maggots.'"));
     msg_print(nullptr);
 
     w_ptr->set_arena(false);