mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-31 18:02:26 +01:00
Fix fiery artifacts ignoring invfireres
Aside: why is the "usage" part of the macro, and not used during destroy_item to abort item destruction? *sigh*
This commit is contained in:
parent
90a66df480
commit
4e237b8799
1 changed files with 1 additions and 1 deletions
|
@ -4326,7 +4326,7 @@ boolean * messaged;
|
|||
hittee, !spec_dbon_applies ? '.' : '!');
|
||||
*messaged = TRUE;
|
||||
}
|
||||
if(oartifact != ART_PROFANED_GREATSCYTHE){
|
||||
if(oartifact != ART_PROFANED_GREATSCYTHE && !UseInvFire_res(mdef)){
|
||||
if (!rn2(4)) (void) destroy_item(mdef, POTION_CLASS, AD_FIRE);
|
||||
if (!rn2(4)) (void) destroy_item(mdef, SCROLL_CLASS, AD_FIRE);
|
||||
if (!rn2(7)) (void) destroy_item(mdef, SPBOOK_CLASS, AD_FIRE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue