버그 수정
This commit is contained in:
1 parent
d603557c35
commit
7aa826fc80
6 files changed
+23
-57
No files matched your search
@@ -422,6 +422,16 @@ class General implements iAction{
|
||||
return $this->getStatValue('intel', $withInjury, $withIActionObj, $withStatAdjust, $useFloor);
|
||||
}
|
||||
|
||||
function getDex(GameUnitDetail $crewType){
|
||||
$armType = $crewType->armType;
|
||||
|
||||
if($armType == GameUnitConst::T_CASTLE){
|
||||
$armType = GameUnitConst::T_SIEGE;
|
||||
}
|
||||
|
||||
return $this->getVar("dex{$armType}");
|
||||
}
|
||||
|
||||
function addDex(GameUnitDetail $crewType, float $exp, bool $affectTrainAtmos=false){
|
||||
$armType = $crewType->armType;
|
||||
|
||||
|
||||
Reference in new issue
Block a user