OSDN Git Service

悪魔魔法 "ペット爆破" のダメージを最大HPで見るように実験的に変更.
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 29 May 2003 15:36:58 +0000 (15:36 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 29 May 2003 15:36:58 +0000 (15:36 +0000)
src/spells2.c

index 1a43b80..ec0ac5d 100644 (file)
@@ -6037,7 +6037,7 @@ void discharge_minion(void)
                        delete_monster_idx(i);
                        continue;
                }
-               dam = m_ptr->hp / 2;
+               dam = m_ptr->maxhp / 2;
                if (dam > 100) dam = (dam-100)/2 + 100;
                if (dam > 400) dam = (dam-400)/2 + 400;
                if (dam > 800) dam = 800;