game: 성벽 공격 시 소모 쌀 20% 감소
This commit is contained in:
@@ -271,6 +271,9 @@ class WarUnitGeneral extends WarUnit
|
|||||||
if (!$this->isAttacker) {
|
if (!$this->isAttacker) {
|
||||||
$rice *= 0.8;
|
$rice *= 0.8;
|
||||||
}
|
}
|
||||||
|
if ($this->oppose instanceof WarUnitCity){
|
||||||
|
$rice *= 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
$rice *= $this->crewType->rice;
|
$rice *= $this->crewType->rice;
|
||||||
$rice *= getTechCost($this->getNationVar('tech'));
|
$rice *= getTechCost($this->getNationVar('tech'));
|
||||||
|
|||||||
Reference in New Issue
Block a user