OSDN Git Service

[Refactor] #37353 重傷の治癒の効果をcure_serious_wounds()にまとめる。
[hengband/hengband.git] / src / cmd-quaff.c
index fa03adb..df0be25 100644 (file)
@@ -339,11 +339,7 @@ void do_cmd_quaff_potion_aux(int item)
                        break;\r
 \r
                case SV_POTION_CURE_SERIOUS:\r
-                       if (hp_player(damroll(4, 8))) ident = TRUE;\r
-                       if (set_blind(0)) ident = TRUE;\r
-                       if (set_confused(0)) ident = TRUE;\r
-                       if (set_cut((p_ptr->cut / 2) - 50)) ident = TRUE;\r
-                       if (set_shero(0, TRUE)) ident = TRUE;\r
+                       ident = cure_light_wound(4, 8);\r
                        break;\r
 \r
                case SV_POTION_CURE_CRITICAL:\r