public static SpellConfig GetSpellConfig(this SpellData spell, SpellConfigControl control) { return new SpellConfig { SData = spell, DangerLevel = spell.Dangerlevel, Dodge = true, Draw = true, Radius = spell.Radius, PlayerName = spell.CharName }; } public static void OnValueChanged(ConfigValue key, object value)