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:
05b8830
)
[Refactor] #40662 MIGHTY_THROW をアイテムフラグに追加. / Add MIGHTY_THROW item flag.
author
deskull
<deskull@users.sourceforge.jp>
Mon, 24 Aug 2020 16:16:48 +0000
(
01:16
+0900)
committer
deskull
<deskull@users.sourceforge.jp>
Mon, 24 Aug 2020 16:16:48 +0000
(
01:16
+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
dbc6efa
..
185fc15
100644
(file)
--- a/
lib/edit/e_info.txt
+++ b/
lib/edit/e_info.txt
@@
-1195,6
+1195,7
@@
E:and Power Throwing
X:27:5
W:30:0:0:500
C:0:0:0:0
+F:MIGHTY_THROW
N:170:活力の
E:and Regeneration
diff --git
a/src/info-reader/kind-info-tokens-table.c
b/src/info-reader/kind-info-tokens-table.c
index
5d61ea3
..
f29652a
100644
(file)
--- a/
src/info-reader/kind-info-tokens-table.c
+++ b/
src/info-reader/kind-info-tokens-table.c
@@
-148,6
+148,7
@@
concptr k_info_flags[NUM_K_FLAGS] = {
"LOW_MAGIC",
"FAST_DIGEST",
"SLOW_REGEN",
+ "MIGHTY_THROW",
};
/*!
diff --git
a/src/info-reader/kind-info-tokens-table.h
b/src/info-reader/kind-info-tokens-table.h
index
3cdab9f
..
ab7cc73
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 13
8
+#define NUM_K_FLAGS 13
9
#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
7709b32
..
757a4ca
100644
(file)
--- a/
src/object-enchant/tr-types.h
+++ b/
src/object-enchant/tr-types.h
@@
-146,6
+146,7
@@
typedef enum tr_type {
TR_LOW_MAGIC = 135,
TR_FAST_DIGEST = 136,
TR_SLOW_REGEN = 137,
+ TR_MIGHTY_THROW = 138,
- TR_FLAG_MAX = 13
8
,
+ TR_FLAG_MAX = 13
9
,
} tr_type;