weapons with multiple damage types.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9876 c06c8d41-db1a-0410-9941-cceddc491573
WQ3X24ZRDCWBUXFEGAITB2PS4P2EH4HGLVU6RMRFZ6BS42WPKGXQC L4VKAB4CIIE77UFPXY3SUGDDL3PNKRBTV2OTB7Q5BANSQ52SJV5QC 3AEGGDP5NBKWDQD37ENFT6LXWOP7KBQLSFTP6ZWQ5RVQ5NY6HEAAC A43NYENITQ3BRLUMCFT3T5CM2NFXCIDRX7OCMEAXXGNTJIDDS6YQC SVY2PTCLXR3KNPQAWXVXTTGCC5DR334HOAKHYO3VDDRWM2BWMALAC SRQJVKQVUY7QGCEBA2VQTWEJ7ADIUSY7L46HJQSQNM5DXYRRH5KAC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC FLAGBNUNSIQNFDN53CDWABJRTTFWDL4PG34AI474ZKPXDEPYHOAQC R22TTMI6WXWULC7ODKFF3QCB7MOTETQQ6IR4BUCUPOCQKQNCTT5AC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC KBNY5FWKTEAKABFCLPC3QFKFSVZKAGXINPCIFV6WDSWFO4VCKNTAC 2WVP47RBNL5OVYMAZH7TKRYD7F2TGSZ5X74PWVGAYCQP26G3JUHQC // Types of damage a weapon can do... currently assuming that anything// with BLUDGEON always does "AND" with any other specified types,// and and sets not including BLUDGEON are "OR".
// These are the types of damage a weapon can do. You can set more// than one of these.
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);int single_damage_type(const item_def &item);
// has a non-weapon in hand. -- bwr// Exception: vampire bats only _bite_ to allow for drawing blood
// has a non-weapon in hand. - bwr// Exception: vampire bats only bite to allow for drawing blood.