Home
last modified time | relevance | path

Searched refs:overflow_damage (Results 1 – 2 of 2) sorted by relevance

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmondeath.cpp105 const float overflow_damage = std::max( -z.get_hp(), 0 ); in normal() local
106 const float corpse_damage = 2.5 * overflow_damage / max_hp; in normal()
107 const bool pulverized = corpse_damage > 5 && overflow_damage > z.get_hp_max(); in normal()
175 const float overflow_damage = std::max( -z.get_hp(), 0 ); in splatter() local
176 const float corpse_damage = 2.5 * overflow_damage / max_hp; in splatter()
177 bool pulverized = corpse_damage > 5 && overflow_damage > z.get_hp_max(); in splatter()
205 ( overflow_damage / max_hp + 1 ) ) ); in splatter()
211 float overflow_ratio = overflow_damage / max_hp + 1.0f; in splatter()
640 const float overflow_damage = std::max( -z.get_hp(), 0 ); in broken() local
641 const float corpse_damage = 2.5 * overflow_damage / max_hp; in broken()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dmondeath.cpp105 const float overflow_damage = std::max( -z.get_hp(), 0 ); in normal() local
106 const float corpse_damage = 2.5 * overflow_damage / max_hp; in normal()
107 const bool pulverized = corpse_damage > 5 && overflow_damage > z.get_hp_max(); in normal()
175 const float overflow_damage = std::max( -z.get_hp(), 0 ); in splatter() local
176 const float corpse_damage = 2.5 * overflow_damage / max_hp; in splatter()
177 bool pulverized = corpse_damage > 5 && overflow_damage > z.get_hp_max(); in splatter()
205 ( overflow_damage / max_hp + 1 ) ) ); in splatter()
211 float overflow_ratio = overflow_damage / max_hp + 1.0f; in splatter()
640 const float overflow_damage = std::max( -z.get_hp(), 0 ); in broken() local
641 const float corpse_damage = 2.5 * overflow_damage / max_hp; in broken()