public static void CreateBuffConfigfile() { TBuffjsonhelper mem = new TBuffjsonhelper(); mem.List = BuffList.getNewBuffList(); string json = JsonConvert.SerializeObject(mem, Formatting.Indented); File.WriteAllText(BuffListPath, json.ToString()); }
public static List <TBuff> generateBuffList() { return(BuffList.getNewBuffList()); //Todo - find way to get all buffs //or not... I'd have to go through and manually assign prices and remove summons anyway. }