targets via "-".
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6203 c06c8d41-db1a-0410-9941-cceddc491573
UDPTU4OERZ3DTU3KVJZWF2R22QEKLZTSBAWFHBIM46A6T3UH2BJAC
ERTQJ5ZXDBRGKC5N3GZ6U4MFFK5HB6737FVLVD4GSMGTIFCSJJJQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
MPQIZUHUAHOF2CKNTLSYCGMR7FIC3EPA2RHZIY6JOQKAS6H6YY4AC
QDBILCQHREAKSVXBJJGE2EPNR4ATTQWUZMV7BLJYZWWUI737TSKQC
dist bmove;
bolt beam; dist spd;
bolt beam;
dist spd;
{ mpr("Heal whom?", MSGCH_PROMPT); direction( bmove, DIR_TARGET, TARG_FRIEND ); }
{
mpr("Heal whom?", MSGCH_PROMPT);
direction( bmove, DIR_TARGET, TARG_FRIEND );
}
spd.isValid = spell_direction(spd, beam);
bmove.tx = target_x; bmove.ty = target_y; bmove.isValid = true;
bmove.tx = target_x;
bmove.ty = target_y;
bmove.isValid = true;
spd.tx = target_x; spd.ty = target_y; spd.isValid = in_bounds(spd.tx, spd.ty);
spd.tx = target_x;
spd.ty = target_y;
spd.isValid = in_bounds(spd.tx, spd.ty);
if (!bmove.isValid || !in_bounds(bmove.tx, bmove.ty))
if (!spd.isValid)
if (bmove.tx == you.x_pos && bmove.ty == you.y_pos)
if (spd.tx == you.x_pos && spd.ty == you.y_pos)
const int mgr = mgrd[bmove.tx][bmove.ty];
const int mgr = mgrd[spd.tx][spd.ty];
} // end _healing_spell()