public void PopulateStats(DexData dd)
        {
            Attributes = dd.Attributes.DeepCopy();
            PkmnStat        TOU        = new PkmnStat("Tough", 1, 5);
            PkmnStat        COO        = new PkmnStat("Cool", 1, 5);
            PkmnStat        BEA        = new PkmnStat("Beauty", 1, 5);
            PkmnStat        CUT        = new PkmnStat("Cute", 1, 5);
            PkmnStat        CLE        = new PkmnStat("Clever", 1, 5);
            List <PkmnStat> socattList = new List <PkmnStat> {
                TOU, COO, BEA, CUT, CLE
            };

            SocialAttributes = new PkmnStatCollection(socattList, 0, 0);

            PkmnStat        BRAWL     = new PkmnStat("Brawl", 0, 1);
            PkmnStat        CHANN     = new PkmnStat("Channel", 0, 1);
            PkmnStat        CLASH     = new PkmnStat("Clash", 0, 1);
            PkmnStat        EVADE     = new PkmnStat("Evasion", 0, 1);
            PkmnStat        ALERT     = new PkmnStat("Alert", 0, 1);
            PkmnStat        ATHLE     = new PkmnStat("Athletic", 0, 1);
            PkmnStat        NATUR     = new PkmnStat("Nature", 0, 1);
            PkmnStat        STEAL     = new PkmnStat("Stealth", 0, 1);
            PkmnStat        ALLUR     = new PkmnStat("Allure", 0, 1);
            PkmnStat        ETIQU     = new PkmnStat("Etiquette", 0, 1);
            PkmnStat        INTIM     = new PkmnStat("Intimidate", 0, 1);
            PkmnStat        PERFO     = new PkmnStat("Perform", 0, 1);
            List <PkmnStat> skillList = new List <PkmnStat> {
                BRAWL, CHANN, CLASH, EVADE, ALERT, ATHLE, NATUR, STEAL, ALLUR, ETIQU, INTIM, PERFO
            };

            Skills = new PkmnStatCollection(skillList, 0, 0);

            Happiness = new PkmnStat("Happiness", 0, 5);
            Loyalty   = new PkmnStat("Happiness", 0, 5);

            Item       = "";
            Nature     = "";
            Confidence = 0;
            Status     = "";
            Accessory  = "";
            Ribbons    = "";
            Notes      = "";

            HP   = new PkmnSimpleStat(dd.BaseHP, dd.BaseHP, dd.BaseHP);
            Will = new PkmnSimpleStat(0, Attributes.GetStatByTag("Insight").Value + 2, Attributes.GetStatByTag("Insight").Value + 2);

            LearnableMoves = Attributes.GetStatByTag("Insight").Value + 2;
            string[] moveStrings = new string[LearnableMoves];
        }
Beispiel #2
0
        public void PopulateStats()
        {
            PkmnStat str = new PkmnStat("Strength", 1, 5);
            PkmnStat dex = new PkmnStat("Dexterity", 1, 5);
            PkmnStat vit = new PkmnStat("Vitality", 1, 5);
            PkmnStat ins = new PkmnStat("Insight", 1, 5);

            Attributes = new PkmnStatCollection(new List <PkmnStat> {
                str, dex, vit, ins
            }, 0, 0);

            PkmnStat tou = new PkmnStat("Tough", 1, 5);
            PkmnStat coo = new PkmnStat("Cool", 1, 5);
            PkmnStat bea = new PkmnStat("Beauty", 1, 5);
            PkmnStat cle = new PkmnStat("Clever", 1, 5);
            PkmnStat cut = new PkmnStat("Cute", 1, 5);

            SocialAttributes = new PkmnStatCollection(new List <PkmnStat> {
                tou, coo, bea, cle, cut
            }, 0, 0);

            PkmnStat brawl = new PkmnStat("Brawl", 0, 5);
            PkmnStat threw = new PkmnStat("Throw", 0, 5);
            PkmnStat evade = new PkmnStat("Evasion", 0, 5);
            PkmnStat weapo = new PkmnStat("Weapons", 0, 5);
            PkmnStat alert = new PkmnStat("Alert", 0, 5);
            PkmnStat athle = new PkmnStat("Athletics", 0, 5);
            PkmnStat natur = new PkmnStat("Nature", 0, 5);
            PkmnStat steal = new PkmnStat("Stealth", 0, 5);
            PkmnStat allur = new PkmnStat("Allure", 0, 5);
            PkmnStat etiqu = new PkmnStat("Etiquette", 0, 5);
            PkmnStat intim = new PkmnStat("Intimidate", 0, 5);
            PkmnStat perfo = new PkmnStat("Performance", 0, 5);
            PkmnStat craft = new PkmnStat("Crafts", 0, 5);
            PkmnStat lore  = new PkmnStat("Lore", 0, 5);
            PkmnStat medic = new PkmnStat("Medicine", 0, 5);
            PkmnStat scien = new PkmnStat("Science", 0, 5);

            Skills = new PkmnStatCollection(new List <PkmnStat> {
                brawl, threw, evade, weapo, alert, athle, natur, steal, allur, etiqu, intim, perfo, craft, lore, medic, scien
            }, 0, 0);

            HP   = new PkmnSimpleStat(Attributes.GetStatByTag("Vitality").Value, Attributes.GetStatByTag("Vitality").Value, Attributes.GetStatByTag("Vitality").Value);
            Will = new PkmnSimpleStat(0, Attributes.GetStatByTag("Insight").Value + 2, Attributes.GetStatByTag("Insight").Value + 2);

            Notes = "";
        }