public float GetPropertyScalar(CombatPropertyType property)
 {
     float total = 0;
     foreach(ICombatNode mod in mChildren) {
         total += mod.GetPropertyScalar(property);
     }
     return total;
 }
 public float GetPropertyScalar(CombatPropertyType property)
 {
     return mPropertyMultiply[(int)property];
 }
 public float GetProperty(CombatPropertyType property)
 {
     return mPropertyAdd[(int)property];
 }
Beispiel #4
0
 public float GetPropertyScalar(CombatPropertyType property)
 {
     float scaleValue = mRootNode.GetPropertyScalar (property);
     return 1 + (scaleValue / 100f);
 }
Beispiel #5
0
 public float GetPropertyRaw(CombatPropertyType property)
 {
     return mRootNode.GetProperty(property);
 }
Beispiel #6
0
 public float GetProperty(CombatPropertyType property)
 {
     float ret = GetPropertyRaw (property);
     ret *= GetPropertyScalar(property);
     return ret;
 }
Beispiel #7
0
 public CombatProperty()
     : base()
 {
     propertyType = CombatPropertyType.NONE;
 }