public static void OnPropChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ElementDamage a = d as ElementDamage;

            a.EleLabel.Content = a.ElementProp;
            Enum.TryParse <ElementType>(a.ElementProp, out a.element);
        }
        public static void OnPropChange3(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ElementDamage a = d as ElementDamage;

            if (a.BindAbilityDamage != null)
            {
                a.PhysCheck.IsChecked = true;
            }
            else
            {
                a.PhysCheck.IsChecked = false;
            }
        }