OSDN Git Service

[Implement] #1429 指輪を1つ追加した / Added new ring as base item
authorHourier <66951241+Hourier@users.noreply.github.com>
Sun, 19 Sep 2021 00:49:23 +0000 (09:49 +0900)
committerHourier <66951241+Hourier@users.noreply.github.com>
Sun, 19 Sep 2021 01:18:09 +0000 (10:18 +0900)
lib/edit/k_info.txt
lib/edit/misc.txt
src/object-enchant/apply-magic-ring.cpp
src/sv-definition/sv-ring-types.h

index 517672b..997955f 100644 (file)
@@ -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:それは混沌の力からあなたを守る。
index 709fc34..e1f1d83 100644 (file)
@@ -16,7 +16,7 @@ M:WY:66
 M:R:1345
 
 # Maximum number of items in k_info.txt
-M:K:674
+M:K:675
 
 # Maximum number of vaults in v_info.txt
 M:V:173
index 72c91a1..1d4b92f 100644 (file)
@@ -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++;
index ab78db0..1c6f19c 100644 (file)
@@ -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,
 };