From: deskull Date: Wed, 5 Jun 2019 14:35:33 +0000 (+0900) Subject: [Refactor] #37353 no_flowed 対象呪文判定定義を player-status.h へ移動. X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=07d5a3bdb2a39207f5427c63ec1db1cf41a48ba5 [Refactor] #37353 no_flowed 対象呪文判定定義を player-status.h へ移動. --- diff --git a/src/defines.h b/src/defines.h index 906baf6e4..49b83f20e 100644 --- a/src/defines.h +++ b/src/defines.h @@ -250,10 +250,6 @@ #define VIRTUE_LARGE 1 #define VIRTUE_SMALL 2 -#define SPELL_DD_S 27 -#define SPELL_DD_T 13 -#define SPELL_SW 22 -#define SPELL_KABE 20 #define DUNGEON_FEAT_PROB_NUM 3 diff --git a/src/player-status.h b/src/player-status.h index ba2e1de67..fcaad5746 100644 --- a/src/player-status.h +++ b/src/player-status.h @@ -34,6 +34,12 @@ #define REALM1_BOOK (p_ptr->realm1 + TV_LIFE_BOOK - 1) #define REALM2_BOOK (p_ptr->realm2 + TV_LIFE_BOOK - 1) +/* no_flowed 判定対象となるスペル */ +#define SPELL_DD_S 27 +#define SPELL_DD_T 13 +#define SPELL_SW 22 +#define SPELL_KABE 20 + /* Empty hand status */ #define EMPTY_HAND_NONE 0x0000 /* Both hands are used */ #define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */