From c79f323bb2899993b284756c185328cba8f6a1dc Mon Sep 17 00:00:00 2001 From: mogami Date: Thu, 2 May 2002 18:18:35 +0000 Subject: [PATCH] =?utf8?q?=E7=99=BE=E4=BA=BA=E6=96=AC=E3=82=8A=E3=81=A7?= =?utf8?q?=E6=9C=80=E5=88=9D=E3=81=AB35=E7=82=B9=E3=80=81=E3=81=95?= =?utf8?q?=E3=82=89=E3=81=AB=E6=96=AC=E3=82=8A=E7=B6=9A=E3=81=91=E3=81=9F?= =?utf8?q?=E5=9B=9E=E6=95=B0x8=E6=B8=9B=E3=81=A3=E3=81=A6=E3=80=81?= =?utf8?q?=E3=81=95=E3=82=89=E3=81=AB=E7=B5=82=E4=BA=86=E5=BE=8C=E3=81=AB?= =?utf8?q?=E3=81=BE=E3=81=9F=2035=E7=82=B9=E6=B8=9B=E3=81=A3=E3=81=A6?= =?utf8?q?=E3=81=84=E3=81=9F=E3=81=AE=E3=81=A7=E3=80=81=E6=9C=80=E5=BE=8C?= =?utf8?q?=E3=81=AE35=E7=82=B9=E3=81=AF=E6=B8=9B=E3=82=89=E3=81=AA?= =?utf8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/hissatsu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hissatsu.c b/src/hissatsu.c index b705f1553..023b616c9 100644 --- a/src/hissatsu.c +++ b/src/hissatsu.c @@ -1025,6 +1025,7 @@ static bool cast_hissatsu_spell(int spell) project_length = 5; if (!get_aim_dir(&dir)) break; if (new) + /* Reserve needed mana point */ p_ptr->csp -= technic_info[TECHNIC_HISSATSU][26].smana; else p_ptr->csp -= 8; @@ -1036,6 +1037,10 @@ static bool cast_hissatsu_spell(int spell) handle_stuff(); } while (p_ptr->csp > 8); if (new) return FALSE; + + /* Restore reserved mana */ + p_ptr->csp += technic_info[TECHNIC_HISSATSU][26].smana; + break; } case 27: -- 2.11.0