diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index 2693ff38..0d8088ef 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -443,6 +443,8 @@ class General implements iAction } } + $statValue = Util::clamp($statValue, 0, GameConst::$maxLevel); + if ($withIActionObj) { foreach ([ $this->nationType,