void ApplyAdditiveBoost(StatBooster booster, int value)
 {
     booster.AddBoost(EnhancementOperation.Additive, value, StatBooster.Priority.First);
 }
Пример #2
0
 void AddBoost(StatBooster booster, EnhancementOperation operation, int value)
 {
     // weapon enhancements are all first-priority
     booster.AddBoost(operation, value, StatBooster.Priority.First);
 }
 void ApplyHealthBoost(StatBooster booster, int vitality, int healthPerVitality)
 {
     ApplyAdditiveBoost(booster, healthPerVitality * vitality);
 }