예제 #1
0
 private void SetRangeSpecial()
 {
     foreach (Limb limb in Enum.GetValues(typeof(Limb)))
     {
         if (GameAttributes.ContainsKey(Attributes.RangeSpecial[(int)limb]))
         {
             GameAttributes[Attributes.RangeSpecial[(int)limb]] = Calculator.GetRangeSpecial(limb);
         }
     }
 }
예제 #2
0
 private void SetMeleeType()
 {
     foreach (Limb limb in Enum.GetValues(typeof(Limb)))
     {
         if (GameAttributes.ContainsKey(Attributes.MeleeType[(int)limb]))
         {
             GameAttributes[Attributes.MeleeType[(int)limb]] = Calculator.GetMeleeType(limb);
         }
     }
 }
예제 #3
0
 private void CalcRangeMax()
 {
     foreach (Limb limb in Enum.GetValues(typeof(Limb)))
     {
         if (GameAttributes.ContainsKey(Attributes.RangeMax[(int)limb]))
         {
             GameAttributes[Attributes.RangeMax[(int)limb]] = Calculator.CalcRangeMax(limb);
         }
     }
 }