fix: previous inheritPoint 지정값 버그

This commit is contained in:
2021-09-15 19:06:15 +00:00
committed by Gitea
parent b9259353f4
commit 942b2752f5
9 changed files with 33 additions and 24 deletions
@@ -68,7 +68,7 @@ class SetNextSpecialWar extends \sammo\BaseAPI
}
$general->setAuxVar('inheritSpecificSpecialWar', $type);
$inheritStor->setValue('previous', [$previousPoint - $reqAmount, ['SetNextSpecialWar', $type]]);
$inheritStor->setValue('previous', [$previousPoint - $reqAmount, null]);
$general->applyDB($db);
return null;
}