Function spell_heal

Source
pub fn spell_heal(
    sink: &mut dyn FightSink,
    rng: &GameRng,
    lookups: &ContentLookups,
    caster: &Entity,
    target: &Entity,
    params: &SpellHealParams,
) -> Result<Option<i64>, Error>
Expand description

Native: heal target from caster’s attack stat. Returns the applied heal (None when no heal). Consumes crit_chance from rng (unless is_crit is forced), then heal_entity’s path (no RNG).