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 (from parent 1:
397a262
)
[Implement] #960 自己変容の薬を実装した (飲んだ場合のみ。割れた場合は未実装)
author
Hourier
<grapefox.whitelucifer.0408@gmail.com>
Wed, 28 Apr 2021 13:29:57 +0000
(22:29 +0900)
committer
Hourier
<grapefox.whitelucifer.0408@gmail.com>
Fri, 30 Apr 2021 12:43:36 +0000
(21:43 +0900)
lib/edit/k_info.txt
patch
|
blob
|
history
lib/edit/misc.txt
patch
|
blob
|
history
src/object-use/quaff-execution.cpp
patch
|
blob
|
history
src/sv-definition/sv-potion-types.h
patch
|
blob
|
history
diff --git
a/lib/edit/k_info.txt
b/lib/edit/k_info.txt
index
e3b9c91
..
0694009
100644
(file)
--- a/
lib/edit/k_info.txt
+++ b/
lib/edit/k_info.txt
@@
-6427,3
+6427,15
@@
F:RES_CURSE
D:$A faded cloak carved with magical runes.
D:魔術的なルーンの刻まれた陰気な外套だ。
D:$A faded cloak carved with magical runes.
D:魔術的なルーンの刻まれた陰気な外套だ。
+N:673:自己変容:青く光る
+E:Polymorph:Brilliant blue
+G:!:B
+I:75:54:0
+W:50:0:4:5000
+A:50/4
+P:0:1d1:0:0:0
+D:$Twice the calories, twice the carbs, twice the caffeine,
+D:$ and twice the delicious!
+D:$ It causes polymorph when drunk.
+D:二倍のカロリー、二倍の炭水化物、二倍のカフェイン、そして二倍おいしい!
+D:それは飲むと自己変容を起こす。
diff --git
a/lib/edit/misc.txt
b/lib/edit/misc.txt
index
557f6d8
..
b7911d3
100644
(file)
--- a/
lib/edit/misc.txt
+++ b/
lib/edit/misc.txt
@@
-16,7
+16,7
@@
M:WY:66
M:R:1298
# Maximum number of items in k_info.txt
M:R:1298
# Maximum number of items in k_info.txt
-M:K:67
3
+M:K:67
4
# Maximum number of vaults in v_info.txt
M:V:173
# Maximum number of vaults in v_info.txt
M:V:173
diff --git
a/src/object-use/quaff-execution.cpp
b/src/object-use/quaff-execution.cpp
index
79b55ab
..
9573df6
100644
(file)
--- a/
src/object-use/quaff-execution.cpp
+++ b/
src/object-use/quaff-execution.cpp
@@
-435,6
+435,11
@@
void exe_quaff_potion(player_type *creature_ptr, INVENTORY_IDX item)
ident = true;
break;
ident = true;
break;
+ case SV_POTION_POLY_SELF:
+ do_poly_self(creature_ptr);
+ ident = true;
+ break;
+
case SV_POTION_AUGMENTATION:
if (do_inc_stat(creature_ptr, A_STR))
ident = true;
case SV_POTION_AUGMENTATION:
if (do_inc_stat(creature_ptr, A_STR))
ident = true;
diff --git
a/src/sv-definition/sv-potion-types.h
b/src/sv-definition/sv-potion-types.h
index
8731f64
..
1304217
100644
(file)
--- a/
src/sv-definition/sv-potion-types.h
+++ b/
src/sv-definition/sv-potion-types.h
@@
-56,7
+56,7
@@
enum sv_potion_type {
SV_POTION_INC_DEX = 51,
SV_POTION_INC_CON = 52,
SV_POTION_INC_CHR = 53,
SV_POTION_INC_DEX = 51,
SV_POTION_INC_CON = 52,
SV_POTION_INC_CHR = 53,
- /* xxx */
+ SV_POTION_POLY_SELF = 54,
SV_POTION_AUGMENTATION = 55,
SV_POTION_ENLIGHTENMENT = 56,
SV_POTION_STAR_ENLIGHTENMENT = 57,
SV_POTION_AUGMENTATION = 55,
SV_POTION_ENLIGHTENMENT = 56,
SV_POTION_STAR_ENLIGHTENMENT = 57,