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:
d218b92
)
[Refactor] #40662 DOWN_SAVING をアイテムフラグに追加. / Add DOWN_SAVING item flag.
author
deskull
<deskull@users.sourceforge.jp>
Mon, 24 Aug 2020 16:35:07 +0000
(
01:35
+0900)
committer
deskull
<deskull@users.sourceforge.jp>
Mon, 24 Aug 2020 16:35:07 +0000
(
01:35
+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
aadea15
..
5dc944b
100644
(file)
--- a/
lib/edit/e_info.txt
+++ b/
lib/edit/e_info.txt
@@
-1528,7
+1528,7
@@
E:and Naivety
X:27:0
W:29:0:0:0
C:0:0:0:3
-F:WIS | CHR | CURSED | HEAVY_CURSE
+F:WIS | CHR | CURSED | HEAVY_CURSE
| DOWN_SAVING
# MAX 240
diff --git
a/src/info-reader/kind-info-tokens-table.c
b/src/info-reader/kind-info-tokens-table.c
index
3c5211c
..
c952e7c
100644
(file)
--- a/
src/info-reader/kind-info-tokens-table.c
+++ b/
src/info-reader/kind-info-tokens-table.c
@@
-150,6
+150,7
@@
concptr k_info_flags[NUM_K_FLAGS] = {
"SLOW_REGEN",
"MIGHTY_THROW",
"EASY2_WEAPON",
+ "DOWN_SAVING",
};
/*!
diff --git
a/src/info-reader/kind-info-tokens-table.h
b/src/info-reader/kind-info-tokens-table.h
index
911a6af
..
b6a3283
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
0
+#define NUM_K_FLAGS 14
1
#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
8e371df
..
53af6c0
100644
(file)
--- a/
src/object-enchant/tr-types.h
+++ b/
src/object-enchant/tr-types.h
@@
-148,6
+148,7
@@
typedef enum tr_type {
TR_SLOW_REGEN = 137,
TR_MIGHTY_THROW = 138,
TR_EASY2_WEAPON = 139,
+ TR_DOWN_SAVING = 140,
- TR_FLAG_MAX = 14
0
,
+ TR_FLAG_MAX = 14
1
,
} tr_type;