예제 #1
0
        public static string GetStat(int abilityid, string stat)
        {
            string result = StatParser.XMLStats(abilityid, stat, "monster_abilities.xml");

            return(result ?? getDefaultStat(stat));
        }
예제 #2
0
        public static string GetStat(int monsterid, string stat)
        {
            string result = StatParser.XMLStats(monsterid, stat, "monsters.xml");

            return(result ?? getDefaultStat(stat));
        }
예제 #3
0
        public static string GetStat(int itemid, string stat)
        {
            string result = StatParser.XMLStats(itemid, stat, "items.xml");

            return(result ?? getDefaultStat(stat));
        }