game: 수비자는 전멸 시 증가하는 사기량을 50%만 적용
This commit is contained in:
@@ -157,7 +157,13 @@ class WarUnitGeneral extends WarUnit
|
||||
$general->increaseRankVar('occupied', 1);
|
||||
}
|
||||
|
||||
$general->multiplyVarWithLimit('atmos', 1.1, null, GameConst::$maxAtmosByWar);
|
||||
if($this->isAttacker()){
|
||||
$general->multiplyVarWithLimit('atmos', 1.1, null, GameConst::$maxAtmosByWar);
|
||||
}
|
||||
else{
|
||||
$general->multiplyVarWithLimit('atmos', 1.05, null, GameConst::$maxAtmosByWar);
|
||||
}
|
||||
|
||||
|
||||
$this->addStatExp(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user