#include "angband.h"
#include "cmd-spell.h"
+#include "projection.h"
+#include "spells-summon.h"
+#include "spells-status.h"
+#include "avatar.h"
* @param mode 処理内容 (SPELL_NAME / SPELL_DESC / SPELL_INFO / SPELL_CAST)
* @return SPELL_NAME / SPELL_DESC / SPELL_INFO 時には文字列ポインタを返す。SPELL_CAST時はNULL文字列を返す。
*/
-cptr do_death_spell(SPELL_IDX spell, BIT_FLAGS mode)
+concptr do_death_spell(SPELL_IDX spell, BIT_FLAGS mode)
{
bool name = (mode == SPELL_NAME) ? TRUE : FALSE;
bool desc = (mode == SPELL_DESC) ? TRUE : FALSE;
bool info = (mode == SPELL_INFO) ? TRUE : FALSE;
bool cast = (mode == SPELL_CAST) ? TRUE : FALSE;
- static const char s_dam[] = _("損傷:", "dam ");
- static const char s_random[] = _("ランダム", "random");
-
DIRECTION dir;
PLAYER_LEVEL plev = p_ptr->lev;
if (desc) return _("ランダムで様々な効果が起こる。", "Causes random effects.");
{
- if (info) return s_random;
+ if (info) return KWD_RANDOM;
if (cast)
{
{
HIT_POINT dam = 100;
- if (info) return format("%s3*%d", s_dam, dam);
+ if (info) return format("%s3*%d", KWD_DAM, dam);
if (cast)
{