player.join("functions");
public function onHealPlayer(amount) { this.hearts = min(this.hearts += temp.amount, this.fullhearts); }