fix: onCalcOpposeStat이 제대로 전파되지 않았음

This commit is contained in:
2023-12-30 04:15:33 +00:00
parent f24aea0120
commit 1b858ae36c
+2 -2
View File
@@ -806,7 +806,7 @@ class General extends GeneralBase implements iAction
continue;
}
/** @var iAction $iObj */
$value = $iObj->onCalcStat($this, $statName, $value, $aux);
$value = $iObj->onCalcStat($general, $statName, $value, $aux);
}
return $value;
}
@@ -819,7 +819,7 @@ class General extends GeneralBase implements iAction
continue;
}
/** @var iAction $iObj */
$value = $iObj->onCalcOpposeStat($this, $statName, $value, $aux);
$value = $iObj->onCalcOpposeStat($general, $statName, $value, $aux);
}
return $value;
}