short swords are not throwing weapons
several sit-in-trap cases were unreachable
curse candelabrum in bones, like other similar artifacts
+clear up Magicbane messages when it attempts to re-cancel a canceled monster
Platform- and/or Interface-Specific Fixes
const char *verb;
boolean youattack = (magr == &youmonst),
youdefend = (mdef == &youmonst),
- resisted = FALSE, do_stun, do_confuse, result;
+ resisted = FALSE, was_canceled = FALSE,
+ do_stun, do_confuse, result;
int attack_indx, scare_dieroll = MB_MAX_DIEROLL / 2;
result = FALSE; /* no message given yet */
verb = mb_verb[!!Hallucination][attack_indx];
if (youattack || youdefend || vis) {
result = TRUE;
+ /* canceling monster only happens if not already canceled */
+ if (attack_indx == MB_INDEX_CANCEL && !youdefend && mdef->mcan) {
+ was_canceled = TRUE;
+ verb = "hit"; /* doesn't change its attack to, eg stun */
+ }
pline_The("magic-absorbing blade %s %s!",
vtense((const char *)0, verb), hittee);
/* assume probing has some sort of noticeable feedback
switch (attack_indx) {
case MB_INDEX_CANCEL:
old_uasmon = youmonst.data;
- if (!cancel_monst(mdef, mb, youattack, FALSE, FALSE)) {
+ if (was_canceled) {
+ /* nothing left to cancel */
+ } else if (!cancel_monst(mdef, mb, youattack, FALSE, FALSE)) {
resisted = TRUE;
} else {
do_stun = FALSE;