$maxhpupdate = ( $level * $battleopt[hpmodifier] * $hpmulti) + $hpmodifier;
$maxhpupdate = ( $level * $battleopt[hpmodifier]) + $hpmodifier;