public void SetProperty(string name, string val, bool notifyServer = true)
{
if(PropertyOverrides.ContainsKey(name) == false)
PropertyOverrides.Add(name, new Dictionary<string, object>(StringComparer.InvariantCultureIgnoreCase));
PropertyOverrides[name][Alternate()] = val;
if (notifyServer)
{
Program.Client.Rpc.SetCardProperty(this,Player.LocalPlayer,name, val, val.GetType().FullName);
}
}