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