From 9b7bf2467a4a97f88653687c74a074778369f649 Mon Sep 17 00:00:00 2001 From: Hourier Date: Wed, 28 Apr 2021 19:53:42 +0900 Subject: [PATCH] =?utf8?q?[Implement]=20#933=20=E3=80=8E=E3=83=9F=E3=83=AB?= =?utf8?q?=E3=83=A0=E3=83=AB=E3=83=8B=E3=83=AB=E3=80=8F=E3=81=AE=E6=AD=BB?= =?utf8?q?=E4=BA=A1=E6=99=82=E7=89=B9=E6=AE=8A=E3=83=A1=E3=83=83=E3=82=BB?= =?utf8?q?=E3=83=BC=E3=82=B8=E3=82=92=E8=BF=BD=E5=8A=A0=E3=81=97=E3=81=9F?= =?utf8?q?=20/=20=20Added=20special=20message=20for=20Mirmulnir=20when=20h?= =?utf8?q?e=20dies?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/monster-floor/special-death-switcher.cpp | 11 +++++++++++ src/monster-race/race-indice-types.h | 1 + 2 files changed, 12 insertions(+) diff --git a/src/monster-floor/special-death-switcher.cpp b/src/monster-floor/special-death-switcher.cpp index 7085888fa..5b1333a0c 100644 --- a/src/monster-floor/special-death-switcher.cpp +++ b/src/monster-floor/special-death-switcher.cpp @@ -279,6 +279,14 @@ static void on_dead_demon_slayer_senior(player_type* player_ptr, monster_death_t msg_format(_("あなたの闘気が%sの身体をサイコロ状に切り刻んだ!", "Your fighting spirit chopped %^s's body into dice!"), m_name); } +static void on_dead_mirmulnir(player_type *player_ptr, monster_death_type *md_ptr) +{ + if (!is_seen(player_ptr, md_ptr->m_ptr)) + return; + + msg_print(_("ドヴ@ーキン、やめろぉ!", "Dov@hkiin! No!!")); +} + static void on_dead_dragon_centipede(player_type *player_ptr, monster_death_type *md_ptr) { if (player_ptr->current_floor_ptr->inside_arena || player_ptr->phase_out) @@ -437,6 +445,9 @@ void switch_special_death(player_type *player_ptr, monster_death_type *md_ptr) case MON_DEMON_SLAYER_SENIOR: on_dead_demon_slayer_senior(player_ptr, md_ptr); return; + case MON_MIRMULNIR: + on_dead_mirmulnir(player_ptr, md_ptr); + return; case MON_DRAGON_CENTIPEDE: case MON_DRAGON_WORM: on_dead_dragon_centipede(player_ptr, md_ptr); diff --git a/src/monster-race/race-indice-types.h b/src/monster-race/race-indice-types.h index 55f04a26d..8dd8b31e0 100644 --- a/src/monster-race/race-indice-types.h +++ b/src/monster-race/race-indice-types.h @@ -158,6 +158,7 @@ enum monster_race_type { MON_ULT_BEHOLDER = 1185, MON_G_TITAN = 1187, MON_WYRM_COLOURS = 1198, + MON_MIRMULNIR = 1203, MON_ALDUIN = 1209, MON_FOLLOWER_WARRIOR = 1210, MON_FOLLOWER_MAGE = 1211, -- 2.11.0