phan 1차
This commit is contained in:
1 parent
beb7553629
commit
180b3c7c5d
27 files changed
+76
-48
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user