From d79f49127702d46fe3b090ae7389c13de944871b Mon Sep 17 00:00:00 2001 From: deskull Date: Tue, 26 Feb 2019 23:57:19 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#37353=20=E3=82=82=E3=81=AE?= =?utf8?q?=E3=81=BE=E3=81=AD=E3=81=AE=E6=99=82=E6=AD=A2=E3=82=81=E3=82=92?= =?utf8?q?=20time=5Fwalk()=20=E3=81=AB=E7=B5=B1=E5=90=88=E3=80=82=20/=20In?= =?utf8?q?tegrate=20time=20stop=20on=20mimic's=20process=20to=20time=5Fwal?= =?utf8?q?k().?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/mane.c | 17 +---------------- src/spells-status.c | 1 + 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/mane.c b/src/mane.c index 6cf6a4ee2..f0f8ec530 100644 --- a/src/mane.c +++ b/src/mane.c @@ -663,22 +663,7 @@ static bool use_mane(int spell) teleport_player(plev * 5, 0L); break; case MS_WORLD: - p_ptr->timewalk = TRUE; - if (damage == 1 || damage == 2) - msg_print(_("「『ザ・ワールド』!時は止まった!」", "You yell 'The World! Time has stopped!'")); - else if (damage == 3 || damage == 6) - msg_print(_("「時よ!」", "You yell 'Time!'")); - else - msg_print("hek!"); - msg_print(NULL); - - /* Hack */ - p_ptr->energy_need -= 1000 + (100 + randint1(200) + 200) * TURNS_PER_TICK / 10; - p_ptr->redraw |= (PR_MAP); - p_ptr->update |= (PU_MONSTERS); - p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON); - - handle_stuff(); + (void)time_walk(p_ptr); break; case MS_SPECIAL: break; diff --git a/src/spells-status.c b/src/spells-status.c index 34fe4aced..117dc2ddd 100644 --- a/src/spells-status.c +++ b/src/spells-status.c @@ -177,6 +177,7 @@ bool time_walk(player_type *creature_ptr) } creature_ptr->timewalk = TRUE; msg_print(_("「時よ!」", "You yell 'Time!'")); +// msg_print(_("「『ザ・ワールド』!時は止まった!」", "You yell 'The World! Time has stopped!'")); msg_print(NULL); /* Hack */ -- 2.11.0