示例#1
0
 public FightDataFormat(EnemyDataFormat enemy)
 {
     this.attributeOriginCache    = new CommonAttributeFormat(true);
     this.attributesAggregateBuff = new CommonAttributeFormat(true);
     this.finalAttributesCache    = new CommonAttributeFormat(true);
     this.DotManager       = new BattleDotManagerFormat();
     this.OneTurnFightData = new OneTurnFightDataFormat();
     this.InitFight(enemy);
 }
示例#2
0
        public FightDataFormat()
        {
            this.attributeOriginCache    = new CommonAttributeFormat(true);
            this.attributesAggregateBuff = new CommonAttributeFormat(true);
            this.finalAttributesCache    = new CommonAttributeFormat(true);
            this.DotManager       = new BattleDotManagerFormat();
            this.OneTurnFightData = new OneTurnFightDataFormat();

            this.CalculateFinalAttributes();
        }