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

This commit is contained in:
2023-12-30 04:14:57 +00:00
parent 8ea85dd155
commit 88206354f1
+2 -2
View File
@@ -914,7 +914,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;
}
@@ -927,7 +927,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;
}