숙련 버그 수정

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
+4
View File
@@ -68,6 +68,10 @@ class WarUnitCity extends WarUnit{
return $this->hp;
}
function getDex(GameUnitDetail $crewType){
return ($this->cityRate - 60) * 7200;
}
function decreaseHP(int $damage):int{
$damage = min($damage, $this->hp);
$this->dead += $damage;