|| (otmp)->otyp == ELVEN_CLOAK\
|| (otmp)->otyp == ELVEN_SHIELD\
|| (otmp)->otyp == ELVEN_BOOTS)
+#define is_elven_weapon(otmp) ((otmp)->otyp == ELVEN_ARROW\
+ || (otmp)->otyp == ELVEN_SPEAR\
+ || (otmp)->otyp == ELVEN_DAGGER\
+ || (otmp)->otyp == ELVEN_SHORT_SWORD\
+ || (otmp)->otyp == ELVEN_BROADSWORD\
+ || (otmp)->otyp == ELVEN_BOW)
#define is_orcish_armor(otmp) ((otmp)->otyp == ORCISH_HELM\
|| (otmp)->otyp == ORCISH_CHAIN_MAIL\
|| (otmp)->otyp == ORCISH_RING_MAIL\
STATIC_DCL int FDECL(ready_weapon, (struct obj *));
-/* elven weapons vibrate warningly when enchanted beyond a limit */
-#define is_elven_weapon(optr) ((optr)->otyp == ELVEN_ARROW\
- || (optr)->otyp == ELVEN_SPEAR\
- || (optr)->otyp == ELVEN_DAGGER\
- || (optr)->otyp == ELVEN_SHORT_SWORD\
- || (optr)->otyp == ELVEN_BROADSWORD\
- || (optr)->otyp == ELVEN_BOW)
-
/* used by will_weld() */
/* probably should be renamed */
#define erodeable_wep(optr) ((optr)->oclass == WEAPON_CLASS \
}
/* an elven magic clue, cookie@keebler */
+ /* elven weapons vibrate warningly when enchanted beyond a limit */
if ((uwep->spe > 5)
&& (is_elven_weapon(uwep) || uwep->oartifact || !rn2(7)))
Your("%s unexpectedly.",