GetAttribute() 공개 메소드

public GetAttribute ( AttributeType targetAttributeType ) : Attribute
targetAttributeType AttributeType
리턴 Attribute
예제 #1
0
        public override void ChangeValue(float targetValue)
        {
            Attribute armor = AttributePool.GetAttribute(AttributeType.Armor);

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

            base.ChangeValue(targetValue);
        }