MCPcopy Create free account
hub / github.com/crawl/crawl / prism_damage

Function prism_damage

crawl-ref/source/mon-explode.cc:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141dice_def prism_damage(int hd, bool fully_powered)
142{
143 const int dice = fully_powered ? 3 : 2;
144 return dice_def(dice, 5 + div_rand_round(hd * 7, 4));
145}
146
147static void _setup_prism_explosion(bolt& beam, const monster& origin)
148{

Callers 5

_spell_damageFunction · 0.85
_setup_prism_explosionFunction · 0.85
mon-explode.ccFile · 0.85
_spell_damageFunction · 0.85

Calls 2

dice_defClass · 0.70
div_rand_roundFunction · 0.70

Tested by

no test coverage detected