case KTRL('r'):
back = TRUE;
+ /* Fall through */
case '\n':
case '\r':
pos = i;
}
+ /* Fall through */
case 0x7F:
case KTRL('d'):
{
window_flag[x] &= ~(1L << i);
}
-
- /* Fall through */
}
+ /* Fall through */
case 'y':
case 'Y':
break;
}
}
+ /* Fall through */
case RBE_HURT: /* AC軽減あり / Player armor reduces total damage */
{
obvious = TRUE;
letter[index].special = 0;
letter[index].random = RANDOM_NONE;
- /* Fall through */
switch (num)
{
case 9:
letter[index].special = (s16b)atoi(zz[8]);
+ /* Fall through */
case 8:
if ((zz[7][0] == '*') && !zz[7][1])
{
letter[index].trap = f_tag_to_index(zz[7]);
if (letter[index].trap < 0) return PARSE_ERROR_UNDEFINED_TERRAIN_TAG;
}
+ /* Fall through */
case 7:
if (zz[6][0] == '*')
{
{
letter[index].artifact = (ARTIFACT_IDX)atoi(zz[6]);
}
+ /* Fall through */
case 6:
if (zz[5][0] == '*')
{
{
letter[index].ego = (EGO_IDX)atoi(zz[5]);
}
+ /* Fall through */
case 5:
if (zz[4][0] == '*')
{
{
letter[index].object = (IDX)atoi(zz[4]);
}
+ /* Fall through */
case 4:
if (zz[3][0] == '*')
{
{
letter[index].monster = (IDX)atoi(zz[3]);
}
+ /* Fall through */
case 3:
letter[index].cave_info = atoi(zz[2]);
+ /* Fall through */
case 2:
if ((zz[1][0] == '*') && !zz[1][1])
{
if (my_strchr("?!", r_ptr->d_char)) break;
}
}
+ /* Fall through */
case TV_POLEARM:
case TV_SWORD:
{
if (is_blessed_item(o_ptr)) break;
}
+ /* Fall through */
default:
return FALSE;
}
break;
}
}
+ /* Fall through */
default:
{
if (o_ptr->number < 10)
{
if (!object_is_known(o_ptr) || !object_is_known(j_ptr)) return 0;
}
+ /* Fall through */
case TV_BOLT:
case TV_ARROW:
case TV_SHOT:
done = TRUE;
break;
}
-
- /* Fall through */
}
+ /* Fall through */
default:
{
done = TRUE;
break;
}
-
- /* Fall through */
}
+ /* Fall through */
default:
{
if (retval) creature_ptr->energy_use = 10;
return (retval);
}
+ /* Fall through */
case CLASS_MAGE:
/* case CLASS_HIGH_MAGE: */
case CLASS_SORCERER:
power_desc[num++].number = -3;
break;
}
+ /* Fall through */
case CLASS_MAGE:
/* case CLASS_HIGH_MAGE: */
case CLASS_SORCERER:
xsize = x2 - x1;
ysize = y2 - y1;
power += 2;
-
- /* Fall through */
}
+ /* Fall through */
+
case 4:
{
/* Try to build a room */
break;
case CLASS_HIGH_MAGE:
if (creature_ptr->realm1 == REALM_HEX) break;
+ /* Fall through */
case CLASS_MAGE:
case CLASS_SORCERER:
if (plev > 24)
break;
}
}
+ /* Fall through */
case GF_OLD_HEAL:
{
if (seen) obvious = TRUE;
earthquake(target_ptr, target_ptr->y, target_ptr->x, 5 + randint0(10), 0);
if (!one_in_(6)) break;
}
+ /* Fall through */
case 30: case 31:
if (!(*count))
{
take_hit(target_ptr, DAMAGE_NOESCAPE, dam, _("純粋な魔力の解放", "released pure mana"), -1);
if (!one_in_(6)) break;
}
+ /* Fall through */
case 32: case 33:
if (!(*count))
{
if (randint0(13)) (*count) += activate_hi_summon(target_ptr, target_ptr->y, target_ptr->x, FALSE);
if (!one_in_(6)) break;
}
+ /* Fall through */
case 34:
msg_print(_("エネルギーのうねりを感じた!", "You feel a surge of energy!"));
wall_breaker(target_ptr);
}
if (!one_in_(6)) break;
+ /* Fall through */
case 1: case 2: case 3: case 16: case 17:
aggravate_monsters(target_ptr, 0);
if (!one_in_(6)) break;
+ /* Fall through */
case 4: case 5: case 6:
(*count) += activate_hi_summon(target_ptr, target_ptr->y, target_ptr->x, FALSE);
if (!one_in_(6)) break;
+ /* Fall through */
case 7: case 8: case 9: case 18:
(*count) += summon_specific(target_ptr, 0, target_ptr->y, target_ptr->x, floor_ptr->dun_level, 0, (PM_ALLOW_GROUP | PM_ALLOW_UNIQUE | PM_NO_PET));
if (!one_in_(6)) break;
+ /* Fall through */
case 10: case 11: case 12:
msg_print(_("経験値が体から吸い取られた気がする!", "You feel your experience draining away..."));
lose_exp(target_ptr, target_ptr->exp / 16);
if (!one_in_(6)) break;
+ /* Fall through */
case 13: case 14: case 15: case 19: case 20:
{
bool is_statue = stop_ty;
if (!one_in_(6)) break;
}
+ /* Fall through */
case 21: case 22: case 23:
(void)do_dec_stat(target_ptr, randint0(6));
if (!one_in_(6)) break;
+ /* Fall through */
case 24:
msg_print(_("ほえ?私は誰?ここで何してる?", "Huh? Who am I? What am I doing here?"));
lose_all_info(target_ptr);
if (!one_in_(6)) break;
+ /* Fall through */
case 25:
if ((floor_ptr->dun_level > 65) && !stop_ty)
{
}
if (!one_in_(6)) break;
+ /* Fall through */
default:
for (int i = 0; i < A_MAX; i++)
{
earthquake(caster_ptr, m_ptr->fy, m_ptr->fx, 4 + randint0(4), 0);
if (!one_in_(6)) break;
}
+ /* Fall through */
case 3: case 4: case 5: case 6:
if (!count)
{
project(caster_ptr, 0, 8, m_ptr->fy, m_ptr->fx, extra_dam, GF_MANA, curse_flg, -1);
if (!one_in_(6)) break;
}
+ /* Fall through */
case 7: case 8:
if (!count)
{
if (one_in_(13)) count += activate_hi_summon(caster_ptr, m_ptr->fy, m_ptr->fx, TRUE);
if (!one_in_(6)) break;
}
+ /* Fall through */
case 9: case 10: case 11:
msg_print(_("エネルギーのうねりを感じた!", "You feel a surge of energy!"));
project(caster_ptr, 0, 7, m_ptr->fy, m_ptr->fx, 50, GF_DISINTEGRATE, curse_flg, -1);
if (!one_in_(6)) break;
+ /* Fall through */
case 12: case 13: case 14: case 15: case 16:
aggravate_monsters(caster_ptr, 0);
if (!one_in_(6)) break;
+ /* Fall through */
case 17: case 18:
count += activate_hi_summon(caster_ptr, m_ptr->fy, m_ptr->fx, TRUE);
if (!one_in_(6)) break;
+ /* Fall through */
case 19: case 20: case 21: case 22:
{
bool pet = !one_in_(3);
count += summon_specific(caster_ptr, (pet ? -1 : 0), caster_ptr->y, caster_ptr->x, (pet ? caster_ptr->lev * 2 / 3 + randint1(caster_ptr->lev / 2) : caster_ptr->current_floor_ptr->dun_level), 0, mode);
if (!one_in_(6)) break;
}
+ /* Fall through */
case 23: case 24: case 25:
if (caster_ptr->hold_exp && (randint0(100) < 75)) break;
msg_print(_("経験値が体から吸い取られた気がする!", "You feel your experience draining away..."));
if (caster_ptr->hold_exp) lose_exp(caster_ptr, caster_ptr->exp / 160);
else lose_exp(caster_ptr, caster_ptr->exp / 16);
if (!one_in_(6)) break;
+ /* Fall through */
case 26: case 27: case 28:
{
if (one_in_(13))
y = creature_ptr->y;
x = creature_ptr->x;
}
+ /* Fall through */
case 'o':
{
pos = i;
}
+ /* Fall through */
case 0x7F:
case KTRL('d'):