fix: 정란/벽력의 성벽선제가 정상적으로 반영되지 않는 문제
- 수비/성벽 - 점유율
This commit is contained in:
+6
-6
@@ -480,13 +480,13 @@ function processWar_NG(
|
||||
$attacker->finishBattle();
|
||||
$defender->finishBattle();
|
||||
|
||||
if($city->getDead()){
|
||||
$city->setSiege();
|
||||
$city->finishBattle();
|
||||
}
|
||||
if($city->getDead() || $defender instanceof WarUnitCity){
|
||||
if($city !== $defender){
|
||||
$city->finishBattle();
|
||||
$city->setSiege();
|
||||
}
|
||||
|
||||
if ($defender instanceof WarUnitCity) {
|
||||
$newConflict = $defender->addConflict();
|
||||
$newConflict = $city->addConflict();
|
||||
if ($newConflict) {
|
||||
$nationName = $attacker->getNationVar('name');
|
||||
$josaYi = JosaUtil::pick($nationName, '이');
|
||||
|
||||
Reference in New Issue
Block a user