• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision1ddecd2e3d4852c591406d41408cebb611bee52f (tree)
Time2019-01-07 23:30:06
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37359 suppression_evil_dam() を has_extreme_damage_rate() に改名。 / Rename suppression_evil_dam() to has_extreme_damage_rate().

Change Summary

Incremental Difference

--- a/src/artifact.c
+++ b/src/artifact.c
@@ -14,7 +14,7 @@
1414 #include "cmd-activate.h"
1515 #include "object-curse.h"
1616
17-static bool suppression_evil_dam(object_type *o_ptr);
17+static bool has_extreme_damage_rate(object_type *o_ptr);
1818 static bool weakening_artifact(object_type *o_ptr);
1919
2020
@@ -2007,7 +2007,7 @@ bool create_artifact(object_type *o_ptr, bool a_scroll)
20072007 }
20082008
20092009 /* ダメージ抑制処理を行う */
2010- while (suppression_evil_dam(o_ptr) && !one_in_(SWORDFISH_LUCK));
2010+ while (has_extreme_damage_rate(o_ptr) && !one_in_(SWORDFISH_LUCK));
20112011 {
20122012 weakening_artifact(o_ptr);
20132013 }
@@ -2332,7 +2332,7 @@ HIT_POINT calc_arm_avgdamage(object_type *o_ptr)
23322332 return dam;
23332333 }
23342334
2335-static bool suppression_evil_dam(object_type *o_ptr)
2335+static bool has_extreme_damage_rate(object_type *o_ptr)
23362336 {
23372337 BIT_FLAGS flgs[TR_FLAG_SIZE];
23382338 object_flags(o_ptr, flgs);
Show on old repository browser