Searched refs:hpcost (Results 1 – 6 of 6) sorted by relevance
120 if (glb_spelldefs[spell].hpcost) in encyc_viewSpellDescription()122 buf.sprintf("Health Cost: %d", glb_spelldefs[spell].hpcost); in encyc_viewSpellDescription()
294 (glb_spelldefs[spell].hpcost/2) + in pietyCastSpell()
2415 avatar->incrementMaxHP(glb_spelldefs[spell].hpcost); in performRandomAction()5512 if (avatar->getHP() < glb_spelldefs[spell].hpcost) in processAction()5515 glb_spelldefs[spell].hpcost); in processAction()
4251 myHP += glb_spelldefs[spell].hpcost; in cancelSpell()4295 myHP -= glb_spelldefs[spell].hpcost; in actionCast()
3279 if (myHP <= glb_spelldefs[spell].hpcost) in canCastSpell()3318 testability(ability, total, glb_spelldefs[spell].hpcost, myHP); in spellCastability()
1512 const int hpcost = abil.get_hp_cost(); in _check_ability_possible() local1513 if (hpcost > 0 && !enough_hp(hpcost, quiet)) in _check_ability_possible()