OSDN Git Service

STUPIDモンスターはMPの切れているプレイヤーに対しても無意味な魔力吸収
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 22 Dec 2003 15:50:48 +0000 (15:50 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 22 Dec 2003 15:50:48 +0000 (15:50 +0000)
を使うことがあるように変更.

src/mspells1.c

index 7862baa..545571e 100644 (file)
@@ -1439,11 +1439,6 @@ bool make_attack_spell(int m_idx)
                f6 &= ~(RF6_NOMAGIC_MASK);
        }
 
-       if (!p_ptr->csp)
-       {
-               f5 &= ~(RF5_DRAIN_MANA);
-       }
-
        if (f6 & RF6_DARKNESS)
        {
                if ((p_ptr->pclass == CLASS_NINJA) &&
@@ -1504,6 +1499,8 @@ bool make_attack_spell(int m_idx)
 
        if (!(r_ptr->flags2 & RF2_STUPID))
        {
+               if (!p_ptr->csp) f5 &= ~(RF5_DRAIN_MANA);
+
                /* Check for a clean bolt shot */
                if (((f4 & RF4_BOLT_MASK) ||
                     (f5 & RF5_BOLT_MASK) ||