fix: 빙의장은 제대로 유산을 받지 못하는 버그 수정

This commit is contained in:
2022-08-13 03:18:31 +09:00
parent 053288b227
commit 970b702a2b
+1 -1
View File
@@ -306,7 +306,7 @@ class InheritancePointManager
}
[$startYear, $year] = $gameStor->getValuesAsArray(['startyear', 'year']);
if (($year - $pickYearMonth) * 2 <= ($year - $startYear)) {
if (($year - Util::parseYearMonth($pickYearMonth)[0]) * 2 <= ($year - $startYear)) {
return;
}
}