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

This commit is contained in:
Hide_D authored and Gitea committed 2021-09-15 19:06:15 +00:00
1 parent ca49fc368a
commit dc835b86e9
2 files changed
+9 -1

No files matched your search

+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);