wand engraving bit (trunk only)
Readability tweak; use `WAND_BACKFIRE_CHANCE'. This code for giving cursed wand a chance to explode when engraving is in the branch too, but the macro wasn't added there.
This commit is contained in:
@@ -613,7 +613,7 @@ doengrave()
|
||||
case WAND_CLASS:
|
||||
if (zappable(otmp)) {
|
||||
check_unpaid(otmp);
|
||||
if (otmp->cursed && !rn2(100)) { /* same as when zapping */
|
||||
if (otmp->cursed && !rn2(WAND_BACKFIRE_CHANCE)) {
|
||||
wand_explode(otmp, 0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user