예제 #1
0
파일: Game.cs 프로젝트: ofx360/rpg-project
        public static Stat CreateStat(string statName, string diceRollString)
        {
            Stat stat = new Stat();
            stat.id = statName;
            stat.baseValue = Dice.CreateDice("", diceRollString).RollDice();

            return stat;
        }
예제 #2
0
파일: Game.cs 프로젝트: ofx360/rpg-project
        public static Stat CreateStat(string statName, int val)
        {
            Stat stat = new Stat();
            stat.id = statName;
            stat.baseValue = val;

            return stat;
        }