#include "cmd-spell.h"
#include "cmd-quaff.h"
#include "object-hook.h"
+#include "object-curse.h"
#define MAX_KEEP 4 /*!<呪術の最大詠唱数 */
char choice;
char out_val[160];
bool flag = FALSE;
- int y = 1;
- int x = 20;
+ TERM_LEN y = 1;
+ TERM_LEN x = 20;
int sp[MAX_KEEP];
if (!hex_spelling_any())
{
-#ifdef JP
- msg_print("呪文を詠唱していません。");
-#else
- msg_print("You are casting no spell.");
-#endif
+ msg_print(_("呪文を詠唱していません。", "You are casting no spell."));
return FALSE;
}
/* Update monsters */
p_ptr->update |= (PU_MONSTERS);
- /* Window stuff */
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
}
}
}
if (cont)
{
- int rad = 2 + (power / 50);
+ POSITION rad = 2 + (power / 50);
HEX_REVENGE_TURN(p_ptr)--;
{
msg_print(_("気分が良くなってくる。", "You feel better and better."));
}
- if (cast || cont) (void)cure_serious_wounds(4, 10);
+ if (cast || cont) (void)cure_critical_wounds(damroll(4, 10));
break;
case 18:
if (HEX_REVENGE_TURN(p_ptr) <= 0)
{
- int dir;
+ DIRECTION dir;
if (power)
{