fix: maxPhase 연산에서는 oppose가 없음

This commit is contained in:
2021-09-15 19:06:15 +00:00
committed by Gitea
parent ca49fc368a
commit dc835b86e9
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -34,6 +34,14 @@ class DummyGeneral extends General{
return new WarUnitTriggerCaller();
}
public function onCalcStat(General $general, string $statName, $value, $aux=null){
return $value;
}
public function onCalcOpposeStat(General $general, string $statName, $value, $aux=null){
return $value;
}
function applyDB($db):bool{
if($this->logger){
$this->initLogger(1, 1);