private void BattleOver() { startingCharacterStatistics.BattleOver(Winner); characterGoingLastStatistics.BattleOver(Winner); combatant.StillStanding(this); opponent.StillStanding(this); ToString(); }
public string NextArenaEvent(bool healUpFirst = false) { if (NextOpponent == null) { GenerateNextOpponent(); } gladiators[NextOpponent.id] = NextOpponent; if (healUpFirst) { Player.CurHitPoints = Player.MaxHitPoints; } Battle b = new Battle(Player, NextOpponent); battles.Add(b); if (NextOpponent.StillStanding(b)) { } else { gladiators.Remove(NextOpponent.id); deceasedGladiators[NextOpponent.id] = NextOpponent; } NextOpponent = null; if (Player.StillStanding(b)) { } else { string savingThrows = Player.DeathSavingThrows(); if (!Player.IsAlive) { gladiators.Remove(Player.id); deceasedGladiators[Player.id] = Player; } return(savingThrows); } return(null); }