X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Frealm-chaos.c;h=a994114535da9799b0cd01f3d89a23aee63c279b;hb=82aa536a10dfe47cd7f1a431fe9f7e49e89c1644;hp=2eecfe0b50e20883dd3031c6f95a6d2a7b859522;hpb=07ca16fcb39fe090b361e0c955cb86d2b1ca5139;p=hengband%2Fhengband.git diff --git a/src/realm-chaos.c b/src/realm-chaos.c index 2eecfe0b5..a99411453 100644 --- a/src/realm-chaos.c +++ b/src/realm-chaos.c @@ -1,6 +1,8 @@ #include "angband.h" #include "cmd-spell.h" #include "spells-summon.h" +#include "spells-status.h" +#include "projection.h" /*! * @brief カオス領域魔法の各処理を行う @@ -15,9 +17,6 @@ concptr do_chaos_spell(SPELL_IDX spell, BIT_FLAGS mode) bool info = (mode == SPELL_INFO) ? TRUE : FALSE; bool cast = (mode == SPELL_CAST) ? TRUE : FALSE; - const concptr s_dam = _("損傷:", "dam "); - const concptr s_random = _("ランダム", "random"); - DIRECTION dir; PLAYER_LEVEL plev = p_ptr->lev; @@ -185,7 +184,7 @@ concptr do_chaos_spell(SPELL_IDX spell, BIT_FLAGS mode) if (desc) return _("モンスターにランダムな効果を与える。", "Fires something with random effects."); { - if (info) return s_random; + if (info) return KWD_RANDOM; if (cast) { @@ -512,7 +511,7 @@ concptr do_chaos_spell(SPELL_IDX spell, BIT_FLAGS mode) if (desc) return _("ランダムな属性の球やビームを発生させる。", "Generate random kind of balls or beams."); { - if (info) return format("%s150 / 250", s_dam); + if (info) return format("%s150 / 250", KWD_DAM); if (cast) { @@ -577,7 +576,7 @@ concptr do_chaos_spell(SPELL_IDX spell, BIT_FLAGS mode) "Fires rockets, mana balls and nuclear waste balls in all directions each unless you are not adjacent to any walls. Otherwise *destroys* huge area."); { - if (info) return format("%s3 * 175", s_dam); + if (info) return format("%s3 * 175", KWD_DAM); if (cast) {