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); } } }
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); } } }
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); } } }