Macros for checking is object artifact
This commit is contained in:
@@ -384,7 +384,7 @@ rndcurse(void)
|
||||
struct obj *otmp;
|
||||
static const char mal_aura[] = "feel a malignant aura surround %s.";
|
||||
|
||||
if (uwep && (uwep->oartifact == ART_MAGICBANE) && rn2(20)) {
|
||||
if (u_wield_art(ART_MAGICBANE) && rn2(20)) {
|
||||
You(mal_aura, "the magic-absorbing blade");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user