1 #pragma once 2 3 #include "tag-version.h" 4 5 enum killer_type // monster_die(), thing_thrown 6 { 7 KILL_NONE, // no killer 8 KILL_YOU, // you are the killer 9 KILL_MON, // no, it was a monster! 10 KILL_YOU_MISSILE, // in the library, with a dart 11 KILL_MON_MISSILE, // in the dungeon, with a club 12 KILL_YOU_CONF, // died while confused as caused by you 13 KILL_MISCAST, // as a result of a spell miscast 14 KILL_MISC, // any miscellaneous killing 15 KILL_RESET, // excised from existence 16 KILL_DISMISSED, // like KILL_RESET, but drops inventory 17 KILL_BANISHED, // monsters what got banished 18 #if TAG_MAJOR_VERSION == 34 19 KILL_UNSUMMONED, // summoned monsters whose timers ran out 20 #endif 21 KILL_TIMEOUT, // non-summoned monsters whose times ran out 22 KILL_PACIFIED, // only used by milestones and notes 23 KILL_CHARMD, // only used by milestones and notes 24 KILL_SLIMIFIED, // only used by milestones and notes 25 }; 26