#include "angband.h"
#include "object-curse.h"
+#include "projection.h"
+#include "quest.h"
/*!
SPELL_IDX thrown_spell = 0;
DEPTH rlev;
PERCENTAGE failrate;
- byte spell[96], num = 0;
+ byte spell[96], num = 0;
BIT_FLAGS f4, f5, f6;
monster_type *m_ptr = &m_list[m_idx];
monster_race *r_ptr = &r_info[m_ptr->r_idx];
bool do_spell = DO_SPELL_NONE;
int dam = 0;
- /* Target location */
POSITION x = p_ptr->x;
POSITION y = p_ptr->y;
reset_target(m_ptr);
- /* Extract the monster level */
rlev = ((r_ptr->level >= 1) ? r_ptr->level : 1);
/* Forbid inate attacks sometimes */