示例#1
0
 private static void ApplyAttribute( WeaponAttributes attrs, int min, int max, WeaponAttribute attr, int low, int high )
 {
     attrs[attr] = Scale( min, max, low, high );
 }
示例#2
0
 private static void ApplyAttribute( WeaponAttributes attrs, int min, int max, WeaponAttribute attr, int low, int high, int scale )
 {
     attrs[attr] = Scale( min, max, low / scale, high / scale ) * scale;
 }
示例#3
0
 public void SetAttributes(WeaponAttributes inAttributes)
 {
     attributes = inAttributes;
 }