Example #1
0
        internal static Move[] GetMoveset(AdeptClass adeptClass)
        {
            List <Move> moves = new List <Move>();

            string[] moveNames = adeptClass.Movepool;

            foreach (string s in moveNames)
            {
                Move m = PsynergyDatabase.GetPsynergy(s);
                moves.Add(m);
            }
            return(moves.ToArray());
        }
Example #2
0
        internal static Move[] GetMoveset(AdeptClass adeptClass)
        {
            var moves     = new List <Move>();
            var moveNames = adeptClass.Movepool;

            foreach (var s in moveNames)
            {
                var m = PsynergyDatabase.GetMove(s);
                moves.Add(m);
            }

            return(moves.ToArray());
        }