/// <summary> /// Example of checking stats to see if something is below 20% health. /// </summary> public static bool ExampleIsWeak(IUseStats target) { return(target.GetStatValue(StatType.Health) < target.GetStatMax(StatType.Health) / 4); }