変愚蛮怒のメインリポジトリです
Revision | d79f49127702d46fe3b090ae7389c13de944871b (tree) |
---|---|
Time | 2019-02-26 23:57:19 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #37353 ものまねの時止めを time_walk() に統合。 / Integrate time stop on mimic's process to time_walk().
@@ -663,22 +663,7 @@ static bool use_mane(int spell) | ||
663 | 663 | teleport_player(plev * 5, 0L); |
664 | 664 | break; |
665 | 665 | case MS_WORLD: |
666 | - p_ptr->timewalk = TRUE; | |
667 | - if (damage == 1 || damage == 2) | |
668 | - msg_print(_("「『ザ・ワールド』!時は止まった!」", "You yell 'The World! Time has stopped!'")); | |
669 | - else if (damage == 3 || damage == 6) | |
670 | - msg_print(_("「時よ!」", "You yell 'Time!'")); | |
671 | - else | |
672 | - msg_print("hek!"); | |
673 | - msg_print(NULL); | |
674 | - | |
675 | - /* Hack */ | |
676 | - p_ptr->energy_need -= 1000 + (100 + randint1(200) + 200) * TURNS_PER_TICK / 10; | |
677 | - p_ptr->redraw |= (PR_MAP); | |
678 | - p_ptr->update |= (PU_MONSTERS); | |
679 | - p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON); | |
680 | - | |
681 | - handle_stuff(); | |
666 | + (void)time_walk(p_ptr); | |
682 | 667 | break; |
683 | 668 | case MS_SPECIAL: |
684 | 669 | break; |
@@ -177,6 +177,7 @@ bool time_walk(player_type *creature_ptr) | ||
177 | 177 | } |
178 | 178 | creature_ptr->timewalk = TRUE; |
179 | 179 | msg_print(_("「時よ!」", "You yell 'Time!'")); |
180 | +// msg_print(_("「『ザ・ワールド』!時は止まった!」", "You yell 'The World! Time has stopped!'")); | |
180 | 181 | msg_print(NULL); |
181 | 182 | |
182 | 183 | /* Hack */ |