OSDN Git Service

undo failed-commit.
authordis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 14 Feb 2013 15:02:00 +0000 (15:02 +0000)
committerdis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 14 Feb 2013 15:02:00 +0000 (15:02 +0000)
src/do-spell.c

index c8fca41..44945e6 100644 (file)
@@ -9349,7 +9349,6 @@ static cptr do_music_spell(int spell, int mode)
                        if (cont)
                        {
                                project_hack(GF_PSI, damroll(dice, sides));
-                               energy_use += 10;
                        }
                }
 
@@ -9460,7 +9459,6 @@ static cptr do_music_spell(int spell, int mode)
                        if (cont)
                        {
                                confuse_monsters(power);
-                               energy_use += 10;
                        }
                }
 
@@ -9497,7 +9495,6 @@ static cptr do_music_spell(int spell, int mode)
                        if (cont)
                        {
                                project_hack(GF_SOUND, damroll(dice, sides));
-                               energy_use += 10;
                        }
                }
 
@@ -9771,7 +9768,6 @@ static cptr do_music_spell(int spell, int mode)
                        {
                                dispel_monsters(randint1(m_sides));
                                dispel_evil(randint1(e_sides));
-                               energy_use += 10;
                        }
                }
                break;
@@ -9807,7 +9803,6 @@ static cptr do_music_spell(int spell, int mode)
                        {
                                slow_monsters(plev);
                                sleep_monsters(plev);
-                               energy_use += 10;
                        }
                }
 
@@ -9937,7 +9932,6 @@ static cptr do_music_spell(int spell, int mode)
                        if (cont)
                        {
                                stasis_monsters(power);
-                               energy_use += 10;
                        }
                }
 
@@ -10029,7 +10023,6 @@ static cptr do_music_spell(int spell, int mode)
                        if (cont)
                        {
                                dispel_monsters(damroll(dice, sides));
-                               energy_use += 10;
                        }
                }
                break;
@@ -11541,10 +11534,6 @@ static cptr do_hex_spell(int spell, int mode)
                if (cast || cont)
                {
                        project_hack(GF_POIS, randint1(power));
-                       if(cont)
-                       {
-                               energy_use += 10;
-                       }
                }
                break;
 
@@ -11844,10 +11833,6 @@ static cptr do_hex_spell(int spell, int mode)
                if (cast || cont)
                {
                        project_hack(GF_OLD_DRAIN, randint1(power));
-                       if(cont)
-                       {
-                               energy_use += 10;
-                       }
                }
                break;
 
@@ -12438,10 +12423,6 @@ static cptr do_hex_spell(int spell, int mode)
                if (cast || cont)
                {
                        stun_monsters(power);
-                       if(cont)
-                       {
-                               energy_use += 10;
-                       }
                }
                break;