public float GetValue(D3SkillAttribute attribute) { if (this.SkillAttributes == null || !this.SkillAttributes.ContainsKey(attribute)) { return 0.0f; } return this.SkillAttributes[attribute]; }
public float GetValue(D3SkillAttribute attribute) { float value = this.Skill.GetValue(attribute); if (this.Rune != null) { value += this.Rune.GetValue(attribute); } return value; }