Exemplo n.º 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;
 }
Exemplo n.º 2
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;
 }