game: NPC 요양 기준 설정 가능

This commit is contained in:
Hide_D committed 2022-07-11 20:23:55 +09:00
1 parent d9beabbbbc
commit 88fcc64537
4 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -3718,7 +3718,7 @@ class GeneralAI
return $reservedCommand;
}
if ($general->getVar('injury') > 10) {
if ($general->getVar('injury') > $this->nationPolicy->cureThreshold) {
$result = buildGeneralCommandClass('che_요양', $general, $this->env);
$result->reason = 'do요양';
return $result;