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CTT5AC
YATODO2EN3AW7IXW5PL25HHK34YHF6Y32QBMOUZXEATZZ4YQQWZQC
bool is_demonic( const item_def &item );
bool is_blessed_blade( const item_def &item );
bool is_convertible( const item_def &item );
bool convert2good( item_def &item, bool allow_blessed = true );
bool is_demonic(const item_def &item);
bool is_blessed_blade(const item_def &item);
bool is_convertible(const item_def &item);
bool convert2good(item_def &item, bool allow_blessed = true);
int get_vorpal_type( const item_def &item );
int get_damage_type( const item_def &item );
bool does_damage_type( const item_def &item, int dam_type );
int get_vorpal_type( const item_def &item );
int get_damage_type( const item_def &item );
bool does_damage_type( const item_def &item, int dam_type );
if (you.species == SP_DEMONSPAWN
&& (weapon->sub_type == WPN_DEMON_BLADE
|| weapon->sub_type == WPN_DEMON_WHIP
|| weapon->sub_type == WPN_DEMON_TRIDENT))
{
if (you.species == SP_DEMONSPAWN && is_demonic(*weapon))