public void SetSP(uint value) { if (value > MaxSP) value = MaxSP; if (value < 0) value = 0; SP = value; Handler9.SendUpdateSP(this); }