숙련 버그 수정

This commit is contained in:
2020-04-28 02:02:28 +09:00
parent 7aa826fc80
commit c831d539b6
4 changed files with 19 additions and 17 deletions
+6 -12
View File
@@ -237,19 +237,9 @@ class WarUnit{
$warPower *= $this->getComputedAtmos();
$warPower /= $oppose->getComputedTrain();
if($this instanceof WarUnitGeneral){
$genDexAtt = $general->getDex($this->getCrewType());
}
else{
$genDexAtt = ($this->cityRate - 60) * 7200;
}
$genDexAtt = $this->getDex($this->getCrewType());
if($this instanceof WarUnitGeneral){
$oppDexDef = $opposeGeneral->getDex($this->getCrewType());
}
else{
$oppDexDef = ($this->cityRate - 60) * 7200;
}
$oppDexDef = $oppose->getDex($this->getCrewType());
$warPower *= getDexLog($genDexAtt, $oppDexDef);
@@ -300,6 +290,10 @@ class WarUnit{
function addLose(){
}
function getDex(GameUnitDetail $crewType){
throw new NotInheritedMethodException();
}
function finishBattle(){
throw new NotInheritedMethodException();
}