unfixed bug #H2668 - hitting disenchanter w/ rings
From 8 or so years ago, hitting a disenchanter without wielding a weapon and without wearing gloves while wearing a possitively 'charged' ring should reduce the ring's enchantment. This doesn't fix that, it just adds a brief comment about it.
This commit is contained in:
@@ -4967,6 +4967,15 @@ passive(struct monst *mon,
|
||||
} else if (aatyp == AT_BITE || aatyp == AT_BUTT
|
||||
|| (aatyp >= AT_STNG && aatyp < AT_WEAP)) {
|
||||
break; /* no object involved */
|
||||
} else {
|
||||
/*
|
||||
* TODO: #H2668 - if hitting with a ring that has a
|
||||
* positive enchantment, it ought to be subject to
|
||||
* having that enchantment reduced. But we don't have
|
||||
* sufficient information here to know which hand/ring
|
||||
* has delived a weaponless blow.
|
||||
*/
|
||||
;
|
||||
}
|
||||
passive_obj(mon, weapon, &(ptr->mattk[i]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user