private void HPChangeInBar(Live live) { //NewHpBar.Health = live.CurrentHealthPoints / live.MaxHealthPoints < 0 ? 0 : live.CurrentHealthPoints / live.MaxHealthPoints; }