X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fmspells1.c;h=87c2fd3715bc2e6ad0fc94726478ac7d0494d6de;hb=f0305a8ed0d929e1dd05086e08b85a7200350fd8;hp=ccea6011efc7e3d7cc6131aaf675ab1528d437b4;hpb=c6fe8d2ca260dfebfda47ae57a85975e7e3f6df5;p=hengband%2Fhengband.git diff --git a/src/mspells1.c b/src/mspells1.c index ccea6011e..87c2fd371 100644 --- a/src/mspells1.c +++ b/src/mspells1.c @@ -674,7 +674,7 @@ void curse_equipment(int chance, int heavy_chance) object_desc(o_name, o_ptr, (OD_OMIT_PREFIX | OD_NAME_ONLY)); /* Extra, biased saving throw for blessed items */ - if (have_flag(oflgs, TR_BLESSED) && (randint1(888) > chance)) + if (have_flag(oflgs, TR_BLESSED)) { #ifdef JP msg_format("祝福された%sは呪いを跳ね返した!", o_name, @@ -1209,7 +1209,7 @@ static int choose_attack_spell(int m_idx, byte spells[], byte num) } /* Player is close and we have attack spells, blink away */ - if ((distance(p_ptr->y, p_ptr->x, m_ptr->fy, m_ptr->fx) < 4) && (attack_num || (r_ptr->flags6 & RF6_TRAPS)) && (randint0(100) < 75) && !world_monster) + if ((distance(p_ptr->y, p_ptr->x, m_ptr->fy, m_ptr->fx) < 4) && (attack_num || (r_ptr->a_ability_flags2 & RF6_TRAPS)) && (randint0(100) < 75) && !world_monster) { /* Choose tactical spell */ if (tactic_num) return (tactic[randint0(tactic_num)]); @@ -1496,8 +1496,8 @@ bool make_attack_spell(int m_idx) /* Extract the racial spell flags */ f4 = r_ptr->flags4; - f5 = r_ptr->flags5; - f6 = r_ptr->flags6; + f5 = r_ptr->a_ability_flags1; + f6 = r_ptr->a_ability_flags2; /*** require projectable player ***/