예제 #1
0
 public int DynamicAdjustor(ValueDataInfo vd, ValueDataType type)
 {
     if (type == ValueDataType.TYPE_TOTAL)
     {
         return(this.GenericCalculator(vd, DynamicProperty.Adjustor(vd)));
     }
     return(this.GenericBaseCalculator(vd, DynamicProperty.Adjustor(vd)));
 }
예제 #2
0
 public int DynamicAdjustorForMgcEffect(ValueDataInfo vd, ValueDataType type)
 {
     if (type == ValueDataType.TYPE_TOTAL)
     {
         int num = this.GenericCalculator(vd, DynamicProperty.Adjustor(vd));
         return(num + vd.totalEftValueByMgc);
     }
     return(this.GenericBaseCalculator(vd, DynamicProperty.Adjustor(vd)));
 }
예제 #3
0
        public int DynamicAdjustorForMgcEffect(ValueDataInfo vd, ValueDataType type)
        {
            if (type != ValueDataType.TYPE_TOTAL)
            {
                return(this.GenericBaseCalculator(vd, DynamicProperty.Adjustor(vd)));
            }
            int num = this.GenericCalculator(vd, DynamicProperty.Adjustor(vd));

            if (vd.totalEftRatioByMgc > 0)
            {
                num += (vd.totalEftRatioByMgc * this.mActorValue[2].totalValue) / 0x2710;
            }
            return(num);
        }