#include "melee.h"
#include "object-hook.h"
+#include "mutation.h"
+
/*!
* @brief レイシャル「弾/矢の製造」処理 / do_cmd_cast calls this function if the player's class is 'archer'.
* Hook to determine if an object is contertible in an arrow/bolt
else if (ext == 2)
{
OBJECT_IDX item;
- cptr q, s;
+ concptr q, s;
s16b slot;
item_tester_hook = item_tester_hook_convertible;
else if (ext == 3)
{
OBJECT_IDX item;
- cptr q, s;
+ concptr q, s;
s16b slot;
item_tester_hook = item_tester_hook_convertible;
OBJECT_IDX item;
PARAMETER_VALUE pval;
int ext = 0;
- cptr q, s;
+ concptr q, s;
object_type *o_ptr;
GAME_TEXT o_name[MAX_NLEN];
q = _("どのアイテムの魔力を取り込みますか? ", "Gain power of which item? ");
s = _("魔力を取り込めるアイテムがない。", "You have nothing to gain power.");
- o_ptr = choose_item(&item, q, s, (USE_INVEN | USE_FLOOR));
+ o_ptr = choose_object(&item, q, s, (USE_INVEN | USE_FLOOR));
if (!o_ptr) return (FALSE);
if (o_ptr->tval == TV_STAFF && o_ptr->sval == SV_STAFF_NOTHING)
}
case CLASS_BERSERKER:
{
- if (!word_of_recall()) return FALSE;
+ if (!recall_player(p_ptr, randint0(21) + 15)) return FALSE;
break;
}
case CLASS_SMITH:
case RACE_DRACONIAN:
{
int Type = (one_in_(3) ? GF_COLD : GF_FIRE);
- cptr Type_desc = ((Type == GF_COLD) ? _("冷気", "cold") : _("炎", "fire"));
+ concptr Type_desc = ((Type == GF_COLD) ? _("冷気", "cold") : _("炎", "fire"));
if (!get_aim_dir(&dir)) return FALSE;