public bool HasStatusEffect <T>() where T : AbstractStatusEffect { return(StatusEffects.Any(item => item.GetType() == typeof(T))); }
public bool HasEffect(string name) => StatusEffects.Any(x => x.Name == name);