OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55d35a8
)
[Refactor] #40662 EASY2_WEAPON をアイテムフラグに追加. / Add EASY2_WEAPON item flag.
author
deskull
<deskull@users.sourceforge.jp>
Mon, 24 Aug 2020 16:27:12 +0000
(
01:27
+0900)
committer
deskull
<deskull@users.sourceforge.jp>
Mon, 24 Aug 2020 16:27:12 +0000
(
01:27
+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
185fc15
..
aadea15
100644
(file)
--- a/
lib/edit/e_info.txt
+++ b/
lib/edit/e_info.txt
@@
-481,7
+481,7
@@
E:of Genji
X:34:30
W:0:36:0:50000
C:8:0:0:3
-F:DEX | SHOW_MODS | HIDE_TYPE
+F:DEX | SHOW_MODS | HIDE_TYPE
| EASY2_WEAPON
N:53:魔力支配の
E:of Magic Mastery
diff --git
a/src/info-reader/kind-info-tokens-table.c
b/src/info-reader/kind-info-tokens-table.c
index
f29652a
..
3c5211c
100644
(file)
--- a/
src/info-reader/kind-info-tokens-table.c
+++ b/
src/info-reader/kind-info-tokens-table.c
@@
-149,6
+149,7
@@
concptr k_info_flags[NUM_K_FLAGS] = {
"FAST_DIGEST",
"SLOW_REGEN",
"MIGHTY_THROW",
+ "EASY2_WEAPON",
};
/*!
diff --git
a/src/info-reader/kind-info-tokens-table.h
b/src/info-reader/kind-info-tokens-table.h
index
ab7cc73
..
911a6af
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 1
39
+#define NUM_K_FLAGS 1
40
#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
757a4ca
..
8e371df
100644
(file)
--- a/
src/object-enchant/tr-types.h
+++ b/
src/object-enchant/tr-types.h
@@
-147,6
+147,7
@@
typedef enum tr_type {
TR_FAST_DIGEST = 136,
TR_SLOW_REGEN = 137,
TR_MIGHTY_THROW = 138,
+ TR_EASY2_WEAPON = 139,
- TR_FLAG_MAX = 1
39
,
+ TR_FLAG_MAX = 1
40
,
} tr_type;