public override void ZeroPenalty(float timeScale) { var healthPunishmentAmount = Stats.MaxAmount(Type.Health) * _healthPenaltyPercent; Stats.Remove(Type.Health, healthPunishmentAmount * (timeScale * GameClock.Speed) / GameClock.TimeMultiplier); }
protected override void Effect() { base.Effect(); Stats.IncreaseMaxAmount(Status.Type.Energy, 5f); GameLibOfMethods.CreateFloatingText("Now you have " + Stats.MaxAmount(Status.Type.Energy) + " max energy!", 4); }