make damage type -> boom type DRY

This commit is contained in:
2024-11-26 13:11:52 -06:00
committed by Celtic Minstrel
parent 3068e97868
commit 3a9c5ea208
3 changed files with 14 additions and 15 deletions

View File

@@ -9,6 +9,7 @@ void use_item(short pc,short item);
bool use_space(location where);
bool adj_town_look(location where);
void set_sound_type(eDamageType dam_type, short& sound_type);
short get_boom_type(eDamageType dam_type);
short damage_monst(cCreature& which_m, short who_hit, short how_much, eDamageType dam_type, short sound_type = -1, bool do_print = true);
void petrify_monst(cCreature& which_m,int strength);
void kill_monst(cCreature& which_m,short who_killed,eMainStatus type = eMainStatus::DEAD);