Example #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);
 }
Example #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();
        }