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:
73b14e6
)
[Implement] #1429 指輪を1つ追加した / Added new ring as base item
author
Hourier
<66951241+Hourier@users.noreply.github.com>
Sun, 19 Sep 2021 00:49:23 +0000
(09:49 +0900)
committer
Hourier
<66951241+Hourier@users.noreply.github.com>
Sun, 19 Sep 2021 01:18:09 +0000
(10:18 +0900)
lib/edit/k_info.txt
patch
|
blob
|
history
lib/edit/misc.txt
patch
|
blob
|
history
src/object-enchant/apply-magic-ring.cpp
patch
|
blob
|
history
src/sv-definition/sv-ring-types.h
patch
|
blob
|
history
diff --git
a/lib/edit/k_info.txt
b/lib/edit/k_info.txt
index
517672b
..
997955f
100644
(file)
--- a/
lib/edit/k_info.txt
+++ b/
lib/edit/k_info.txt
@@
-6439,3
+6439,15
@@
D:$ and twice the delicious!
D:$ It causes polymorph when drunk.
D:二倍のカロリー、二倍の炭水化物、二倍のカフェイン、そして二倍おいしい!
D:それは飲むと自己変容を起こす。
+
+N:674:秩序:飴細工の
+E:law:candy
+G:=:D
+I:45:56:1
+W:65:0:4:25000
+A:65/4
+P:0:0d0:5:0:5
+F:INT | WIS | SUST_INT | SUST_WIS
+F:RES_CHAOS | RES_CONF | RES_NEXUS | HOLD_EXP
+D:$It protects you from the power of chaos.
+D:それは混沌の力からあなたを守る。
diff --git
a/lib/edit/misc.txt
b/lib/edit/misc.txt
index
709fc34
..
e1f1d83
100644
(file)
--- a/
lib/edit/misc.txt
+++ b/
lib/edit/misc.txt
@@
-16,7
+16,7
@@
M:WY:66
M:R:1345
# Maximum number of items in k_info.txt
-M:K:67
4
+M:K:67
5
# Maximum number of vaults in v_info.txt
M:V:173
diff --git
a/src/object-enchant/apply-magic-ring.cpp
b/src/object-enchant/apply-magic-ring.cpp
index
72c91a1
..
1d4b92f
100644
(file)
--- a/
src/object-enchant/apply-magic-ring.cpp
+++ b/
src/object-enchant/apply-magic-ring.cpp
@@
-85,8
+85,6
@@
void RingEnchanter::enchant()
}
break;
- case SV_RING_SHOTS:
- break;
case SV_RING_STR:
case SV_RING_CON:
case SV_RING_DEX:
@@
-200,6
+198,7
@@
void RingEnchanter::enchant()
break;
case SV_RING_MUSCLE:
+ case SV_RING_LAW:
this->o_ptr->pval = 1 + (PARAMETER_VALUE)m_bonus(3, this->level);
if (one_in_(4)) {
this->o_ptr->pval++;
diff --git
a/src/sv-definition/sv-ring-types.h
b/src/sv-definition/sv-ring-types.h
index
ab78db0
..
1c6f19c
100644
(file)
--- a/
src/sv-definition/sv-ring-types.h
+++ b/
src/sv-definition/sv-ring-types.h
@@
-57,4
+57,5
@@
enum sv_ring_type {
SV_RING_DEC_MANA = 53,
SV_RING_WARNING = 54,
SV_RING_MUSCLE = 55,
+ SV_RING_LAW = 56,
};