public static void RemoveCustomFeat(Feat f) { _FeatsDB.DeleteItem(f); feats.Remove(f); Feat old; if (FeatMap.TryGetValue(f.Name, out old)) { if (old == f) { FeatMap.Remove(f.Name); Feat replace = feats.FirstOrDefault(a => a.Name == f.Name); if (replace != null) { FeatMap[replace.Name] = replace; } } } }
public void DeleteMonster(Monster monster) { _DBLoader.DeleteItem(monster); }