Example #1
0
        public Character()
        {
            _EXP    = new SharableInt32();
            _Level  = new SharableInt32();
            BaseMEL = new SharableInt32();
            BaseRNG = new SharableInt32();
            BaseDEF = new SharableInt32();
            BaseSKL = new SharableInt32();
            BaseEVA = new SharableInt32();
            BaseHIT = new SharableInt32();

            _EXP.Value    = 0;
            _Level.Value  = 0;
            BaseMEL.Value = 0;
            BaseRNG.Value = 0;
            BaseDEF.Value = 0;
            BaseSKL.Value = 0;
            BaseEVA.Value = 0;
            BaseHIT.Value = 0;

            ArrayPilotSkill        = new BaseAutomaticSkill[0];
            ArrayRelationshipBonus = new BaseAutomaticSkill[0];
            ArrayPilotSpirit       = new ManualSkill[0];

            TerrainGrade = new TerrainGrades(0, 0, 0, 0);

            MaxWill                = 150;
            Will                   = 100;
            TeamTags               = new TagSystem();
            Effects                = new EffectHolder();
            DicCharacterLink       = new Dictionary <string, CharacterLinkTypes>();
            ListQuoteSetVersusName = new List <string>();
            DicAttackQuoteSet      = new Dictionary <string, QuoteSet>();
        }
Example #2
0
        private UnitStats()
        {
            _MaxHP       = new SharableInt32();
            _MaxEN       = new SharableInt32();
            _RegenEN     = new SharableInt32();
            _Armor       = new SharableInt32();
            _Mobility    = new SharableInt32();
            _MaxMovement = new SharableInt32();

            ArrayUpgrade = new SharableInt32[5] {
                new SharableInt32(), new SharableInt32(), new SharableInt32(), new SharableInt32(), new SharableInt32()
            };
            HPUpgrades       = new SharableInt32();
            ENUpgrades       = new SharableInt32();
            ArmorUpgrades    = new SharableInt32();
            MobilityUpgrades = new SharableInt32();
            AttackUpgrades   = new SharableInt32();

            HPUpgrades.Value       = 0;
            ENUpgrades.Value       = 0;
            ArmorUpgrades.Value    = 0;
            MobilityUpgrades.Value = 0;
            AttackUpgrades.Value   = 0;

            DicUnitLink = new Dictionary <string, UnitLinkTypes>();
            Boosts      = new StatsBoosts();
            Boosts.DicTerrainLetterAttributeModifier.Add(UnitStats.TerrainAir, 0);
            Boosts.DicTerrainLetterAttributeModifier.Add(UnitStats.TerrainLand, 0);
            Boosts.DicTerrainLetterAttributeModifier.Add(UnitStats.TerrainSea, 0);
            Boosts.DicTerrainLetterAttributeModifier.Add(UnitStats.TerrainSpace, 0);

            ArrayUnitAbility         = new BaseAutomaticSkill[0];
            ListAttack               = new List <Attack>();
            DicTerrainValue          = new Dictionary <string, int>();
            ListTerrainChoices       = new List <string>();
            ListCharacterIDWhitelist = new List <string>();

            Animations          = new UnitAnimations();
            ListAttackTemporary = new List <Attack>();
        }