Exemple #1
0
        public override void ZeroPenalty(float timeScale)
        {
            var healthPunishmentAmount = Stats.MaxAmount(Type.Health) * _healthPenaltyPercent;

            Stats.Remove(Type.Health, healthPunishmentAmount * (timeScale * GameClock.Speed) /
                         GameClock.TimeMultiplier);
        }
Exemple #2
0
 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);
 }