OSDN Git Service

[Refactor] #37353 敵呪文ダメージ計算用定義を monster-spell.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Mon, 3 Jun 2019 14:55:36 +0000 (23:55 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Mon, 3 Jun 2019 14:55:36 +0000 (23:55 +0900)
src/defines.h
src/monster-spell.h

index 795c94c..329f03d 100644 (file)
 #define RF5_SPELL_SIZE 32
 #define RF6_SPELL_SIZE 32
 
-/* Spell Damage Calc Flag*/
-#define DAM_ROLL 1
-#define DAM_MAX 2
-#define DAM_MIN 3
-#define DICE_NUM 4
-#define DICE_SIDE 5
-#define DICE_MULT 6
-#define DICE_DIV 7
-#define BASE_DAM 8
-
 /* Cheat Info Type */
 #define CHEAT_OBJECT 0
 #define CHEAT_MONSTER 1
index de95c04..7cd0158 100644 (file)
@@ -14,6 +14,16 @@ struct monster_power
        concptr    name;
 };
 
+/* Spell Damage Calc Flag*/
+#define DAM_ROLL 1
+#define DAM_MAX 2
+#define DAM_MIN 3
+#define DICE_NUM 4
+#define DICE_SIDE 5
+#define DICE_MULT 6
+#define DICE_DIV 7
+#define BASE_DAM 8
+
 #define MAX_MONSPELLS 96
 #define MONSPELL_TYPE_BOLT 1
 #define MONSPELL_TYPE_BALL 2