Exemplo n.º 1
0
        public GameFightMinimalStats GetFightMinimalStats()
        {
            return(new GameFightMinimalStats()
            {
                actionPoints = ActionPoints.TotalInContext(),
                movementPoints = MovementPoints.TotalInContext(),
                maxActionPoints = ActionPoints.Total(),
                maxMovementPoints = MovementPoints.Total(),

                airElementReduction = AirReduction.TotalInContext(),
                airElementResistPercent = AirResistPercent.TotalInContext(),
                baseMaxLifePoints = (uint)MaxLifePoints,
                lifePoints = (uint)CurrentLifePoints,
                maxLifePoints = (uint)CurrentMaxLifePoints,
                invisibilityState = (sbyte)InvisibilityState,
                dodgePALostProbability = (ushort)DodgePAProbability.TotalInContext(),
                dodgePMLostProbability = (ushort)DodgePMProbability.TotalInContext(),
                pvpAirElementReduction = PvPAirReduction.TotalInContext(),
                pvpAirElementResistPercent = PvPAirResistPercent.TotalInContext(),
                pvpEarthElementReduction = PvPEarthReduction.TotalInContext(),
                pvpEarthElementResistPercent = PvPEarthResistPercent.TotalInContext(),
                pvpFireElementReduction = PvPFireReduction.TotalInContext(),
                pvpFireElementResistPercent = PvPFireResistPercent.TotalInContext(),
                pvpNeutralElementReduction = PvPNeutralReduction.TotalInContext(),
                pvpNeutralElementResistPercent = PvPNeutralResistPercent.TotalInContext(),
                pvpWaterElementReduction = PvPWaterReduction.TotalInContext(),
                pvpWaterElementResistPercent = PvPWaterResistPercent.TotalInContext(),
                shieldPoints = (uint)ShieldPoints,
                earthElementReduction = EarthReduction.TotalInContext(),
                earthElementResistPercent = EarthResistPercent.TotalInContext(),
                fireElementResistPercent = FireResistPercent.TotalInContext(),
                waterElementResistPercent = WaterResistPercent.TotalInContext(),
                neutralElementResistPercent = NeutralResistPercent.TotalInContext(),
                fireElementReduction = FireReduction.TotalInContext(),
                neutralElementReduction = NeutralReduction.TotalInContext(),
                waterElementReduction = WaterReduction.TotalInContext(),
                summoned = Summoned,
                summoner = SummonerId,
                tackleBlock = TackleBlock.TotalInContext(),
                tackleEvade = TackleEvade.TotalInContext(),
                pushDamageFixedResist = PushDamageReduction.TotalInContext(),
                permanentDamagePercent = (uint)PermanentDamagePercent.TotalInContext(),
                fixedDamageReflection = Reflect.TotalInContext(),
                criticalDamageFixedResist = CriticalDamageReduction.TotalInContext()
            });
        }