Function heal_entity

Source
pub fn heal_entity(
    sink: &mut dyn FightSink,
    entity: &Entity,
    amount: f64,
) -> Result<Option<i64>, Error>
Expand description

Native: heal entity, capping at its missing HP. Returns the applied heal (None if no heal was applied).