git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2708 c06c8d41-db1a-0410-9941-cceddc491573
6JBULLXOSQVDJZP2R73BFMPV2OHWFT4V3KBPU5CTGN7REHBOB5NQC
CIPVRZGLOZHCERK6YPOBV3P2E4IAB4H6D5EHLRQE2O5E4P4VCBUAC
DTO3EUKWHZ5RJNGNCFYXSOVTIPVXPP637F2W7WFGYKJ7JK7VNKNQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
// Nagas don't get racial stuff. if (mons_genus(mon->type) == MONS_NAGA) item_race = MAKE_ITEM_NO_RACE;
// Nagas don't get racial stuff.
if (mons_genus(mon->type) == MONS_NAGA)
item_race = MAKE_ITEM_NO_RACE;
} // end of switch(menv [mid].type)
}
enum enchant_stat_type{ ENCHANT_TO_HIT, ENCHANT_TO_DAM};
enum enchant_stat_type
{
ENCHANT_TO_HIT,
ENCHANT_TO_DAM
};
bool enchant_weapon( int which_stat, bool quiet = false );
bool enchant_weapon( enchant_stat_type which_stat, bool quiet = false );
bool enchant_weapon( int which_stat, bool quiet )
bool enchant_weapon( enchant_stat_type which_stat, bool quiet )
};enum enchant_stat_type{ ENCHANT_TO_HIT, ENCHANT_TO_DAM