ep_ptr->dam = ep_ptr->dam * calc_shards_damage_rate(target_ptr, CALC_RAND) / 100;
- if (!target_ptr->resist_shard && !check_multishadow(target_ptr)) {
+ if (!has_resist_shard(target_ptr) && !check_multishadow(target_ptr)) {
(void)set_cut(target_ptr, target_ptr->cut + ep_ptr->dam);
}
- if (!target_ptr->resist_shard || one_in_(13))
+ if (!has_resist_shard(target_ptr) || one_in_(13))
inventory_damage(target_ptr, set_cold_destroy, 2);
ep_ptr->get_damage = take_hit(target_ptr, DAMAGE_ATTACK, ep_ptr->dam, ep_ptr->killer, ep_ptr->monspell);
ep_ptr->dam = ep_ptr->dam * calc_rocket_damage_rate(target_ptr, CALC_RAND) / 100;
- if (!target_ptr->resist_shard && !check_multishadow(target_ptr)) {
+ if (!has_resist_shard(target_ptr) && !check_multishadow(target_ptr)) {
(void)set_cut(target_ptr, target_ptr->cut + (ep_ptr->dam / 2));
}
- if (!target_ptr->resist_shard || one_in_(12)) {
+ if (!has_resist_shard(target_ptr) || one_in_(12)) {
inventory_damage(target_ptr, set_cold_destroy, 3);
}
msg_print(_("何かが空からあなたの頭上に落ちてきた!", "Something falls from the sky on you!"));
ep_ptr->get_damage = take_hit(target_ptr, DAMAGE_ATTACK, ep_ptr->dam, ep_ptr->killer, ep_ptr->monspell);
- if (!target_ptr->resist_shard || one_in_(13)) {
+ if (!has_resist_shard(target_ptr) || one_in_(13)) {
if (!has_immune_fire(target_ptr))
inventory_damage(target_ptr, set_fire_destroy, 2);
inventory_damage(target_ptr, set_cold_destroy, 2);
if (check_multishadow(target_ptr))
return;
- if (!target_ptr->resist_shard) {
+ if (!has_resist_shard(target_ptr)) {
(void)set_cut(target_ptr, target_ptr->cut + damroll(5, 8));
}
if (has_resist_chaos(creature_ptr))
self_ptr->info[self_ptr->line++] = _("あなたはカオスの力への耐性を持っている。", "You are resistant to chaos.");
- if (creature_ptr->resist_shard)
+ if (has_resist_shard(creature_ptr))
self_ptr->info[self_ptr->line++] = _("あなたは破片の攻撃への耐性を持っている。", "You are resistant to blasts of shards.");
if (creature_ptr->resist_nexus)
has_curses(creature_ptr);
creature_ptr->impact = has_impact(creature_ptr);
has_extra_blow(creature_ptr);
- creature_ptr->resist_shard = has_resist_shard(creature_ptr);
creature_ptr->resist_nexus = has_resist_nexus(creature_ptr);
creature_ptr->resist_blind = has_resist_blind(creature_ptr);
creature_ptr->resist_neth = has_resist_neth(creature_ptr);