fix: inheritSkill 연산을 위해 aux 필요
This commit is contained in:
@@ -623,7 +623,7 @@ function updateNationState()
|
|||||||
$nation['nation'],
|
$nation['nation'],
|
||||||
$targetKillTurn
|
$targetKillTurn
|
||||||
);
|
);
|
||||||
$nationGenList = General::createGeneralObjListFromDB($nationGenIDList, ['belong', 'npc'], 2);
|
$nationGenList = General::createGeneralObjListFromDB($nationGenIDList, ['belong', 'npc', 'aux'], 2);
|
||||||
$chiefObj = null;
|
$chiefObj = null;
|
||||||
|
|
||||||
$uniqueLotteryWeightList = [];
|
$uniqueLotteryWeightList = [];
|
||||||
|
|||||||
@@ -139,9 +139,11 @@ class General implements iAction{
|
|||||||
$this->itemObjs['book'] = buildItemClass($raw['book']);
|
$this->itemObjs['book'] = buildItemClass($raw['book']);
|
||||||
$this->itemObjs['item'] = buildItemClass($raw['item']);
|
$this->itemObjs['item'] = buildItemClass($raw['item']);
|
||||||
|
|
||||||
$rawInheritBuff = $this->getAuxVar('inheritBuff');
|
if(key_exists('aux', $this->raw)){
|
||||||
if($rawInheritBuff !== null){
|
$rawInheritBuff = $this->getAuxVar('inheritBuff');
|
||||||
$this->inheritBuffObj = new TriggerInheritBuff($rawInheritBuff);
|
if($rawInheritBuff !== null){
|
||||||
|
$this->inheritBuffObj = new TriggerInheritBuff($rawInheritBuff);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user