• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision5ddc8ae3300854cf97908300a0ec987975dda1f2 (tree)
Time2019-06-03 23:55:36
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 敵呪文ダメージ計算用定義を monster-spell.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -405,16 +405,6 @@
405405 #define RF5_SPELL_SIZE 32
406406 #define RF6_SPELL_SIZE 32
407407
408-/* Spell Damage Calc Flag*/
409-#define DAM_ROLL 1
410-#define DAM_MAX 2
411-#define DAM_MIN 3
412-#define DICE_NUM 4
413-#define DICE_SIDE 5
414-#define DICE_MULT 6
415-#define DICE_DIV 7
416-#define BASE_DAM 8
417-
418408 /* Cheat Info Type */
419409 #define CHEAT_OBJECT 0
420410 #define CHEAT_MONSTER 1
--- a/src/monster-spell.h
+++ b/src/monster-spell.h
@@ -14,6 +14,16 @@ struct monster_power
1414 concptr name;
1515 };
1616
17+/* Spell Damage Calc Flag*/
18+#define DAM_ROLL 1
19+#define DAM_MAX 2
20+#define DAM_MIN 3
21+#define DICE_NUM 4
22+#define DICE_SIDE 5
23+#define DICE_MULT 6
24+#define DICE_DIV 7
25+#define BASE_DAM 8
26+
1727 #define MAX_MONSPELLS 96
1828 #define MONSPELL_TYPE_BOLT 1
1929 #define MONSPELL_TYPE_BALL 2
Show on old repository browser