OSDN Git Service

[Feature] #38796 マーフォークの初期装備に浮遊の指輪を追加。 / Add ring of levitation to initial equipment...
authorDeskull <deskull@users.sourceforge.jp>
Sat, 15 Dec 2018 10:37:58 +0000 (19:37 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Sat, 15 Dec 2018 10:37:58 +0000 (19:37 +0900)
src/birth.c

index 142896f..ad99a51 100644 (file)
@@ -2393,6 +2393,13 @@ void player_outfit(void)
        }
        q_ptr = &forge;
 
+       if (p_ptr->prace == RACE_MERFOLK)
+       {
+               object_prep(q_ptr, lookup_kind(TV_RING, SV_RING_LEVITATION_FALL));
+               q_ptr->number = 1;
+               add_outfit(q_ptr);
+       }
+
        if ((p_ptr->pclass == CLASS_RANGER) || (p_ptr->pclass == CLASS_CAVALRY))
        {
                /* Hack -- Give the player some arrows */