if (name) return _("懲罰", "Punishment");
if (desc) return _("電撃のボルトもしくはビームを放つ。", "Fires a bolt or beam of lightning.");
{
- int dice = 3 + (plev - 1) / 5;
- int sides = 4;
+ DICE_NUMBER dice = 3 + (plev - 1) / 5;
+ DICE_SID sides = 4;
if (info) return info_damage(dice, sides, 0);
if (cast)
{
if (desc) return _("ターゲット付近に閃光のボルトを連射する。", "Fires many bolts of light near the target.");
{
- int dice = 3 + (plev - 1) / 9;
- int sides = 2;
+ DICE_NUMBER dice = 3 + (plev - 1) / 9;
+ DICE_SID sides = 2;
if (info) return info_multi_damage_dice(dice, sides);
if (cast)
{
if (desc) return _("視界内の全てのアンデッド及び悪魔にダメージを与え、邪悪なモンスターを恐怖させる。",
"Damages all undead and demons in sight, and scares all evil monsters in sight.");
{
- int sides = plev;
+ DICE_SID sides = plev;
int power = plev;
if (info) return info_damage(1, sides, 0);
if (cast)
if (name) return _("解呪", "Remove Curse");
if (desc) return _("アイテムにかかった弱い呪いを解除する。", "Removes normal curses from equipped items.");
{
- if (cast)
- {
- if (remove_curse())
- {
- msg_print(_("誰かに見守られているような気がする。", "You feel as if someone is watching over you."));
- }
- }
+ if (cast) (void)remove_curse();
}
break;
{
int base = 25;
- int sides = 3 * plev;
+ DICE_SID sides = 3 * plev;
if (info) return info_duration(base, sides);
if (desc) return _("視界内の全てのアンデッド及び悪魔にダメージを与える。", "Damages all undead and demons in sight.");
{
- int sides = plev * 4;
+ DICE_SID sides = plev * 4;
if (info) return info_damage(1, sides, 0);
if (desc) return _("視界内の全ての邪悪なモンスターにダメージを与える。", "Damages all evil monsters in sight.");
{
- int sides = plev * 4;
+ DICE_SID sides = plev * 4;
if (info) return info_damage(1, sides, 0);
if (desc) return _("アイテムにかかった強力な呪いを解除する。", "Removes normal and heavy curse from equipped items.");
{
- if (cast)
- {
- if (remove_all_curse())
- {
- msg_print(_("誰かに見守られているような気がする。", "You feel as if someone is watching over you."));
- }
- }
+ if (cast) (void)remove_all_curse();
}
break;
{
int base = 12;
- int sides = 4;
+ DICE_SID sides = 4;
if (cast)
{