{
PERCENTAGE per = 100;
- if (creature_ptr->resist_shard) {
+ if (has_resist_shard(creature_ptr)) {
per *= 600;
per /= randrate(4, 7, mode);
}
(void)mode; // unused
PERCENTAGE per = 100;
- if (creature_ptr->resist_shard) {
+ if (has_resist_shard(creature_ptr)) {
per /= 2;
}
{
PERCENTAGE per = 100;
- if (creature_ptr->resist_neth) {
+ if (has_resist_neth(creature_ptr)) {
if (!is_specific_player_race(creature_ptr, RACE_SPECTRE))
per *= 6;
per *= 100;
(void)mode; // unused
PERCENTAGE per = 100;
- if (creature_ptr->resist_time) {
+ if (has_resist_time(creature_ptr)) {
per *= 400;
per /= randrate(4, 7, mode);
}