Did you just died again?
Run away!
When low on health, you should run away from enemies.
if (Hero.Health < Hero.MaxHealth / 2) // If health is less than half of max health
{
Hero.RunAway();
}
Start again!
When your hero dies, don't be sad. You can always create more using CreateHero method.
public class MyParty : AutomaticParty
{
public override void OnAllHeroesDied()
{
CreateHero("Grim", "Hero");
}
}
Note
That this logic wouldn't make sense on one of your heroes, so you must create your own party class to be able to override the OnAllHeroesDied method. Checkout Party tutorial for more information.