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