Beispiel #1
0
 /// <summary>
 /// Class to hold the weapon bonus attributes and chances
 /// </summary>
 /// <param name="damageContainer">container with all possible types of damage related bonus and their chances.</param>
 /// <param name="accuracyContainer">container with all possible types of accuracy related bonus and their chances.</param>
 /// <param name="durabilityContainer">container with all possible types of durability related bonus and their chances.</param>
 public WeapMod(Damage damageContainer, Accuracy accuracyContainer, Durability durabilityContainer)
 {
     m_DamageContainer = damageContainer;
     m_AccuracyContainer = accuracyContainer;
     m_DurabilityContainer = durabilityContainer;
 }
Beispiel #2
0
 /// <summary>
 /// Class to hold the weapon bonus attributes and chances
 /// </summary>
 /// <param name="accuracyContainer">container with all possible types of accuracy related bonus and their chances.</param>
 /// <param name="durabilityContainer">container with all possible types of durability related bonus and their chances.</param>
 public WeapMod(Accuracy accuracyContainer, Durability durabilityContainer)
     : this(null, accuracyContainer, durabilityContainer)
 {
 }
Beispiel #3
0
 /// <summary>
 /// Class to hold the weapon bonus attributes and chances
 /// </summary>
 /// <param name="damageContainer">container with all possible types of damage related bonus and their chances.</param>
 /// <param name="durabilityContainer">container with all possible types of durability related bonus and their chances.</param>
 public WeapMod(Damage damageContainer, Durability durabilityContainer)
     : this(damageContainer, null, durabilityContainer)
 {
 }
Beispiel #4
0
 /// <summary>
 /// Class to hold the weapon bonus attributes and chances
 /// </summary>
 /// <param name="durabilityContainer">container with all possible types of durability related bonus and their chances.</param>
 public WeapMod(Durability durabilityContainer)
     : this(null, null, durabilityContainer)
 {
 }
Beispiel #5
0
 /// <summary>
 /// Class to hold the armor bonus attributes and chances
 /// </summary>
 /// <param name="protectionContainer">container with all possible types of armor protection related bonus and their chances.</param>
 /// <param name="durabilityContainer">container with all possible types of armor durability related bonus and their chances.</param>
 public ArMod(Protection protectionContainer, Durability durabilityContainer)
 {
     m_ProtectionContainer = protectionContainer;
     m_DurabilityContainer = durabilityContainer;
 }
Beispiel #6
0
 /// <summary>
 /// Class to hold the armor bonus attributes and chances
 /// </summary>
 /// <param name="durabilityContainer">container with all possible types of armor durability related bonus and their chances.</param>
 public ArMod(Durability durabilityContainer)
     : this(null, durabilityContainer)
 {
 }