GetAttribute() public method

public GetAttribute ( AttributeType targetAttributeType ) : Attribute
targetAttributeType AttributeType
return Attribute
Exemplo n.º 1
0
        public override void ChangeValue(float targetValue)
        {
            Attribute armor = AttributePool.GetAttribute(AttributeType.Armor);

            if (armor != null)
            {
                targetValue += armor.CurrentValue;
            }

            base.ChangeValue(targetValue);
        }