Zader

Power

Mar 8th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.00 KB | None | 0 0
  1.     [ProtoContract]
  2.     public class Power
  3.     {
  4.         /// <summary>
  5.         /// Default Power Scaler:
  6.         /// Turret default power calculation == ((power * idleScaler) defaultScaler)
  7.         /// The default power value for a weapon is described by the turret just being placed , on with no tracking......
  8.         /// </summary>
  9.         public float defaultScaler { get; set; }
  10.         /// <summary>
  11.         /// Idle Power Scaler:
  12.         /// Turret default power calculation == (power * idleScaler)
  13.         /// The Idle power value for a weapon is used when a turret is in between volleys in a fire sequence.
  14.         /// </summary>
  15.         public float idleScaler { get; set; }
  16.         /// <summary>
  17.         /// Power:
  18.         /// Ingame Power can be modified with a slider, this give you a percentage of the whole value
  19.         /// when idle and default are calucleated they are subjuect to the power slider value as well.
  20.         /// </summary>
  21.         public float power { get; set; }
  22.     }
Advertisement
Add Comment
Please, Sign In to add comment