game: 빙의장도 유산 획득이 가능하도록 수정

- 유산 실 반영 시점을 은퇴, 천통 시점으로 변경
This commit is contained in:
2021-12-09 00:26:47 +09:00
parent fc3b854add
commit 1727d34853
7 changed files with 65 additions and 13 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ use function sammo\cutTurn;
use function sammo\getGeneralSpecialWarName;
use function sammo\getRandTurn;
use function sammo\pushAdminLog;
use function sammo\resetInheritanceUser;
use function sammo\applyInheritanceUser;
class Join extends \sammo\BaseAPI
{
@@ -155,7 +155,7 @@ class Join extends \sammo\BaseAPI
$admin = $gameStor->getValues(['scenario', 'turnterm', 'turntime', 'show_img_level', 'startyear', 'year', 'month']);
$inheritTotalPoint = resetInheritanceUser($userID);
$inheritTotalPoint = applyInheritanceUser($userID);
$inheritRequiredPoint = 0;
$userLogger = new UserLogger($userID, $admin['year'], $admin['month'], false);