示例#1
0
        public float GetValue(D3SkillAttribute attribute)
        {
            if (this.SkillAttributes == null || !this.SkillAttributes.ContainsKey(attribute))
            {
                return 0.0f;
            }

            return this.SkillAttributes[attribute];
        }
示例#2
0
        public float GetValue(D3SkillAttribute attribute)
        {
            float value = this.Skill.GetValue(attribute);
            if (this.Rune != null)
            {
                value += this.Rune.GetValue(attribute);
            }

            return value;
        }