X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fplayer%2Fplayer-status.c;h=7425cebcaa45a71f6454e556a36170a3b896c9eb;hb=398d3190e58a5add339a2efdf5fea1d7a161d714;hp=6882872e6734ba81002edd70e9708e05e91476f5;hpb=226a6e1b3f8f99e8e1bfc9eec060127afb99e78a;p=hengband%2Fhengband.git diff --git a/src/player/player-status.c b/src/player/player-status.c index 6882872e6..7425cebca 100644 --- a/src/player/player-status.c +++ b/src/player/player-status.c @@ -1260,7 +1260,7 @@ static ACTION_SKILL_POWER calc_stealth(player_type *creature_ptr) if (hex_spelling_any(creature_ptr)) pow -= (1 + casting_hex_num(creature_ptr)); } - if ((is_specific_player_race(creature_ptr, RACE_S_FAIRY)) && (creature_ptr->pseikaku != PERSONALITY_SEXY) && (creature_ptr->cursed & TRC_AGGRAVATE)) { + if (has_aggravate(creature_ptr) == AGGRAVATE_S_FAIRY) { pow = MIN(pow - 3, (pow + 2) / 2); }