#include "angband.h"
+#include "util.h"
+
#include "cmd-spell.h"
-#include "projection.h"
+#include "spells.h"
#include "spells-summon.h"
#include "spells-status.h"
#include "spells-object.h"
#include "avatar.h"
+#include "spells-floor.h"
+#include "player-race.h"
+#include "player-effects.h"
+#include "player-damage.h"
+#include "targeting.h"
/*!
{
lite_area(damroll(dice, sides), rad);
- if ((prace_is_(RACE_VAMPIRE) || (p_ptr->mimic_form == MIMIC_VAMPIRE)) && !p_ptr->resist_lite)
+ if ((PRACE_IS_(p_ptr, RACE_VAMPIRE) || (p_ptr->mimic_form == MIMIC_VAMPIRE)) && !p_ptr->resist_lite)
{
msg_print(_("日の光があなたの肉体を焦がした!", "The daylight scorches your flesh!"));
take_hit(DAMAGE_NOESCAPE, damroll(2, 2), _("日の光", "daylight"), -1);
{
if (cast)
{
- if (!(summon_specific(-1, p_ptr->y, p_ptr->x, plev, SUMMON_ANIMAL_RANGER, (PM_ALLOW_GROUP | PM_FORCE_PET), '\0')))
+ if (!(summon_specific(-1, p_ptr->y, p_ptr->x, plev, SUMMON_ANIMAL_RANGER, (PM_ALLOW_GROUP | PM_FORCE_PET))))
{
msg_print(_("動物は現れなかった。", "No animals arrive."));
}
if (cast)
{
- earthquake(p_ptr->y, p_ptr->x, rad);
+ earthquake(p_ptr->y, p_ptr->x, rad, 0);
}
}
break;
chg_virtue(V_ENLIGHTEN, 1);
wiz_lite(FALSE);
- if ((prace_is_(RACE_VAMPIRE) || (p_ptr->mimic_form == MIMIC_VAMPIRE)) && !p_ptr->resist_lite)
+ if ((PRACE_IS_(p_ptr, RACE_VAMPIRE) || (p_ptr->mimic_form == MIMIC_VAMPIRE)) && !p_ptr->resist_lite)
{
msg_print(_("日光があなたの肉体を焦がした!", "The sunlight scorches your flesh!"));
take_hit(DAMAGE_NOESCAPE, 50, _("日光", "sunlight"), -1);
if (cast)
{
dispel_monsters(d_dam);
- earthquake(p_ptr->y, p_ptr->x, q_rad);
+ earthquake(p_ptr->y, p_ptr->x, q_rad, 0);
project(0, b_rad, p_ptr->y, p_ptr->x, b_dam, GF_DISINTEGRATE, PROJECT_KILL | PROJECT_ITEM, -1);
}
}