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