weapons. Note that demon blades now become scimitars. This will be improved later.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4224 c06c8d41-db1a-0410-9941-cceddc491573
NIWYMEKDSS3KYWQNL2EHD2EEK6FMQXWG3QWIB5OILGIUTR4CXGLAC
bool demonic2nondemonic( item_def &item )
{
if (item.base_type != OBJ_WEAPONS)
return (false);
switch (item.sub_type)
{
default:
return (false);
case WPN_DEMON_BLADE:
item.sub_type = WPN_SCIMITAR;
break;
case WPN_DEMON_WHIP:
item.sub_type = WPN_WHIP;
break;
case WPN_DEMON_TRIDENT:
item.sub_type = WPN_TRIDENT;
break;
}
return (true);
} // end demonic2nondemonic()