예제 #1
0
        public AttributeModifier(Affix affix, bool cache = true)
            : base(affix)
        {
            if (cache)
            {
                _cachedAmount = GetAmount();
            }

            Enum.TryParse(Affix.AffixData.Attribute, out _attribute);
        }
예제 #2
0
 public LogicNode(Affix affix, Func <Lua> getLuaContext, AffixEntry affixData)
     : base(affix, getLuaContext)
 {
     _data = affixData;
 }
예제 #3
0
 public AffixNode(Affix affix, Func <Lua> getLuaContext = null)
 {
     Affix          = affix;
     _getLuaContext = getLuaContext;
 }