OSDN Git Service

[Implement] #933 『ミルムルニル』の死亡時特殊メッセージを追加した / Added special message for Mirmulnir...
authorHourier <grapefox.whitelucifer.0408@gmail.com>
Wed, 28 Apr 2021 10:53:42 +0000 (19:53 +0900)
committerHourier <grapefox.whitelucifer.0408@gmail.com>
Sun, 2 May 2021 03:28:20 +0000 (12:28 +0900)
src/monster-floor/special-death-switcher.cpp
src/monster-race/race-indice-types.h

index 7085888..5b1333a 100644 (file)
@@ -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);
index 55f04a2..8dd8b31 100644 (file)
@@ -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,