public static IReadOnlyList <ModifierGenerator> GenerateSet(string modifierFormat, double modifierValue, params string[] modifierNames) { var sets = new ModifierGenerator[modifierNames.Length]; for (int i = 0; i < modifierNames.Length; i++) { sets[i] = new ModifierGenerator(string.Format(modifierFormat, modifierNames[i]), modifierValue); } return(sets); }
public override string ToString() { return($"godEdict_{name} = {{\n{ModifierGenerator.Join(modifiers)}\n}}\n"); }