OSDN Git Service

[Fix] セクシースペルマスターの初期武器
[hengbandforosx/hengbandosx.git] / src / birth / inventory-initializer.c
index b3b5c08..84c680f 100644 (file)
@@ -43,7 +43,7 @@ void wield_all(player_type *creature_ptr)
             continue;
 
         int slot = wield_slot(creature_ptr, o_ptr);
-        if (slot < INVEN_RARM)
+        if (slot < INVEN_MAIN_HAND)
             continue;
         if (slot == INVEN_LITE)
             continue;
@@ -233,9 +233,11 @@ void player_outfit(player_type *creature_ptr)
         add_outfit(creature_ptr, q_ptr);
     }
 
-    if (creature_ptr->pseikaku == PERSONALITY_SEXY) {
-        player_init[creature_ptr->pclass][2][0] = TV_HAFTED;
-        player_init[creature_ptr->pclass][2][1] = SV_WHIP;
+    if (creature_ptr->pclass != CLASS_SORCERER) {
+        if (creature_ptr->pseikaku == PERSONALITY_SEXY) {
+            player_init[creature_ptr->pclass][2][0] = TV_HAFTED;
+            player_init[creature_ptr->pclass][2][1] = SV_WHIP;
+        }
     }
 
     for (int i = 0; i < 3; i++) {
@@ -265,4 +267,4 @@ void player_outfit(player_type *creature_ptr)
     }
 
     k_info[lookup_kind(TV_POTION, SV_POTION_WATER)].aware = TRUE;
-}
\ No newline at end of file
+}