OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce414a9
)
[Refactor] #40662 HEAVY_SPELL をアイテムフラグに追加. / Add HEAVY_SPELL item flag.
author
deskull
<deskull@users.sourceforge.jp>
Tue, 25 Aug 2020 14:52:30 +0000
(23:52 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Tue, 25 Aug 2020 14:52:30 +0000
(23:52 +0900)
lib/edit/e_info.txt
patch
|
blob
|
history
src/info-reader/kind-info-tokens-table.c
patch
|
blob
|
history
src/info-reader/kind-info-tokens-table.h
patch
|
blob
|
history
src/object-enchant/tr-types.h
patch
|
blob
|
history
diff --git
a/lib/edit/e_info.txt
b/lib/edit/e_info.txt
index
dbbf681
..
ddedb6c
100644
(file)
--- a/
lib/edit/e_info.txt
+++ b/
lib/edit/e_info.txt
@@
-1365,7
+1365,7
@@
E:and Stupidity
X:27:0
W:30:0:0:0
C:0:0:0:3
-F:INT | CURSED | HEAVY_CURSE
+F:INT | CURSED | HEAVY_CURSE
| HEAVY_SPELL
N:216:反感の
E:and Aggravate
diff --git
a/src/info-reader/kind-info-tokens-table.c
b/src/info-reader/kind-info-tokens-table.c
index
184cc4c
..
c80993f
100644
(file)
--- a/
src/info-reader/kind-info-tokens-table.c
+++ b/
src/info-reader/kind-info-tokens-table.c
@@
-152,6
+152,7
@@
concptr k_info_flags[NUM_K_FLAGS] = {
"EASY2_WEAPON",
"DOWN_SAVING",
"NO_AC",
+ "HEAVY_SPELL",
};
/*!
diff --git
a/src/info-reader/kind-info-tokens-table.h
b/src/info-reader/kind-info-tokens-table.h
index
b7cfe47
..
9190e16
100644
(file)
--- a/
src/info-reader/kind-info-tokens-table.h
+++ b/
src/info-reader/kind-info-tokens-table.h
@@
-2,7
+2,7
@@
#include "system/angband.h"
-#define NUM_K_FLAGS 14
2
+#define NUM_K_FLAGS 14
3
#define NUM_K_GENERATION_FLAGS 32
extern concptr k_info_flags[NUM_K_FLAGS];
diff --git
a/src/object-enchant/tr-types.h
b/src/object-enchant/tr-types.h
index
6d4c8d7
..
0ebaae3
100644
(file)
--- a/
src/object-enchant/tr-types.h
+++ b/
src/object-enchant/tr-types.h
@@
-150,6
+150,6
@@
typedef enum tr_type {
TR_EASY2_WEAPON = 139,
TR_DOWN_SAVING = 140,
TR_NO_AC = 141,
-
- TR_FLAG_MAX = 14
2
,
+ TR_HEAVY_SPELL = 142,
+ TR_FLAG_MAX = 14
3
,
} tr_type;