• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisiond79f49127702d46fe3b090ae7389c13de944871b (tree)
Time2019-02-26 23:57:19
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 ものまねの時止めを time_walk() に統合。 / Integrate time stop on mimic's process to time_walk().

Change Summary

Incremental Difference

--- a/src/mane.c
+++ b/src/mane.c
@@ -663,22 +663,7 @@ static bool use_mane(int spell)
663663 teleport_player(plev * 5, 0L);
664664 break;
665665 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);
682667 break;
683668 case MS_SPECIAL:
684669 break;
--- a/src/spells-status.c
+++ b/src/spells-status.c
@@ -177,6 +177,7 @@ bool time_walk(player_type *creature_ptr)
177177 }
178178 creature_ptr->timewalk = TRUE;
179179 msg_print(_("「時よ!」", "You yell 'Time!'"));
180+// msg_print(_("「『ザ・ワールド』!時は止まった!」", "You yell 'The World! Time has stopped!'"));
180181 msg_print(NULL);
181182
182183 /* Hack */
Show on old repository browser