phan 1차

This commit is contained in:
2020-05-01 17:33:14 +09:00
parent f7a123c10b
commit ef5dd47604
27 changed files with 76 additions and 48 deletions
-6
View File
@@ -2,8 +2,6 @@
namespace sammo;
class WarUnitGeneral extends WarUnit{
protected $bonusPhase = 0;
function __construct(General $general, array $rawNation, bool $isAttacker){
$this->general = $general;
$this->raw = $general->getRaw();
@@ -56,10 +54,6 @@ class WarUnitGeneral extends WarUnit{
}
}
function addBonusPhase(int $cnt){
$this->bonusPhase += $cnt;
}
function getMaxPhase():int{
$phase = $this->getCrewType()->speed;
$phase = $this->general->onCalcStat($this->general, 'initWarPhase', $phase);