OSDN Git Service

Gloves with EASY_SPELL or DEC_MANA are also suitable for spellcasting.
authoriks <iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 8 Feb 2013 09:06:27 +0000 (09:06 +0000)
committeriks <iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 8 Feb 2013 09:06:27 +0000 (09:06 +0000)
The Gauntlet 'Pauxxxxxx's are modified to be suitable for spellcasting.

lib/edit/a_info.txt
src/xtra1.c

index c60d8cb..33bb311 100644 (file)
@@ -1092,10 +1092,10 @@ D:
 #J0# ???, Ko
 N:54:¡Ø¥Ñ¥¦¥¢¥Ï¥Ã¥Ï¡Ù
 E:'Paurhach'
-I:31:2:0
+I:31:2:1
 W:10:20:25:15000
 P:2:1d1:0:0:15
-F:RES_FIRE | ACTIVATE
+F:STR | RES_FIRE | MAGIC_MASTERY | ACTIVATE
 U:BO_FIRE_1
 D:$A firey set of gauntlets that can even shoot fire from the user's 
 D:$hands. 
@@ -1119,10 +1119,10 @@ D:
 #J0# ???, Ko
 N:56:¡Ø¥Ñ¥¦¥é¥¨¥²¥ó¡Ù
 E:'Pauraegen'
-I:31:2:0
+I:31:2:1
 W:10:20:25:11000
 P:2:1d1:0:0:15
-F:RES_ELEC | ACTIVATE
+F:DEX | RES_ELEC | LITE | ACTIVATE
 U:BO_ELEC_1
 D:$A set of handgear with sparks surrounding it, able to fire 
 D:$bolts of electricity.
@@ -1134,10 +1134,10 @@ D:
 #J0# ???, Ko
 N:57:¡Ø¥Ñ¥¦¥¢¥Í¥ó¡Ù
 E:'Paurnen'
-I:31:2:0
+I:31:2:1
 W:10:20:25:12000
 P:2:1d1:0:0:15
-F:RES_ACID | ACTIVATE
+F:WIS | RES_ACID | FREE_ACT | ACTIVATE
 U:BO_ACID_1
 D:$A set of handgear so corrosive that it may fire bolts of acid.
 D:¥·¥ó¥À¡¼¥ë¸ì¤Ç¡Ö¿å¤Î·ý¡×¤ò°ÕÌ£¤¹¤ë̾¤ò»ý¤Ä¤³¤ÎäƼê¤Ï¾ï¤Ë
@@ -3235,10 +3235,10 @@ D:
 # ???, Ko
 N:185:¡Ø¥Ñ¥¦¥¢¥Ë¥ó¥á¥ó¡Ù
 E:'Paurnimmen'
-I:31:2:0
+I:31:2:1
 W:10:20:25:13000
 P:2:1d1:0:0:15
-F:RES_COLD | ACTIVATE
+F:WIS | RES_COLD | EASY_SPELL | ACTIVATE
 U:BO_COLD_1
 D:$A set of handgear so icy as to be able to fire frost bolts.
 D:¥·¥ó¥À¡¼¥ë¸ì¤Ç¡ÖÇò¤­·ý¡×¤ò°ÕÌ£¤¹¤ë̾¤ò»ý¤Ä¤³¤ÎäƼê¤Ï¾ï¤Ë
index 14dfdbc..00ae499 100644 (file)
@@ -2665,7 +2665,9 @@ static void calc_mana(void)
                /* Normal gloves hurt mage-type spells */
                if (o_ptr->k_idx &&
                    !(have_flag(flgs, TR_FREE_ACT)) &&
-                   !(have_flag(flgs, TR_MAGIC_MASTERY)) &&
+                       !(have_flag(flgs, TR_DEC_MANA)) &&
+                       !(have_flag(flgs, TR_EASY_SPELL)) &&
+                       !((have_flag(flgs, TR_MAGIC_MASTERY)) && (o_ptr->pval > 0)) &&
                    !((have_flag(flgs, TR_DEX)) && (o_ptr->pval > 0)))
                {
                        /* Encumbered */