wielded ball and chain
- a wielded/quivered ball would still be marked as wielded/quivered after you threw it
This commit is contained in:
@@ -32,6 +32,7 @@ characters polymorphed into centaurs can't wear boots
|
|||||||
if an unknown rolling boulder trap kills a monster, you shouldn't be a murderer
|
if an unknown rolling boulder trap kills a monster, you shouldn't be a murderer
|
||||||
touchstone entry in data.base
|
touchstone entry in data.base
|
||||||
specific message for engraving headstone with wand of digging
|
specific message for engraving headstone with wand of digging
|
||||||
|
wielded/quivered chained ball should be unwielded when thrown
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -169,6 +169,11 @@ int shotlimit;
|
|||||||
otmp = obj;
|
otmp = obj;
|
||||||
if (otmp->owornmask && otmp != uball)
|
if (otmp->owornmask && otmp != uball)
|
||||||
remove_worn_item(otmp);
|
remove_worn_item(otmp);
|
||||||
|
else if ((obj->owornmask & (W_WEP|W_SWAPWEP|W_QUIVER)) != 0) {
|
||||||
|
/* wielded ball, special case */
|
||||||
|
setworn((struct obj *)0,
|
||||||
|
(obj->owornmask & (W_WEP|W_SWAPWEP|W_QUIVER)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
freeinv(otmp);
|
freeinv(otmp);
|
||||||
throwit(otmp, wep_mask, twoweap);
|
throwit(otmp, wep_mask, twoweap);
|
||||||
|
|||||||
Reference in New Issue
Block a user