buglist entry: hobbits and elven mithril armour
<Someone> wrote: "Also, hobbits can't wear armour, at least, you can't wear armour when polymorphed into a hobbit, even though hobbits do tend to be carrying elven mithril-coats. It's tempting to suggest adding an explicit exception in sliparm() for elven mithril just to keep the Tolkienness." - added a general routine for adding race-based /object combination exceptions. - hobbits can wear elven mithril-coats
This commit is contained in:
@@ -17,13 +17,6 @@
|
||||
|
||||
#ifdef OVLB
|
||||
|
||||
/* elven armor vibrates warningly when enchanted beyond a limit */
|
||||
#define is_elven_armor(optr) ((optr)->otyp == ELVEN_LEATHER_HELM\
|
||||
|| (optr)->otyp == ELVEN_MITHRIL_COAT\
|
||||
|| (optr)->otyp == ELVEN_CLOAK\
|
||||
|| (optr)->otyp == ELVEN_SHIELD\
|
||||
|| (optr)->otyp == ELVEN_BOOTS)
|
||||
|
||||
boolean known;
|
||||
|
||||
static NEARDATA const char readable[] =
|
||||
@@ -711,6 +704,7 @@ register struct obj *sobj;
|
||||
}
|
||||
break;
|
||||
}
|
||||
/* elven armor vibrates warningly when enchanted beyond a limit */
|
||||
special_armor = is_elven_armor(otmp) ||
|
||||
(Role_if(PM_WIZARD) && otmp->otyp == CORNUTHAUM);
|
||||
if (sobj->cursed)
|
||||
|
||||
Reference in New Issue
Block a user