fix: 수극으로 인한 저격 소모

This commit is contained in:
2023-08-07 13:19:52 +00:00
parent 6eb6014e80
commit 6d40783224
2 changed files with 5 additions and 0 deletions
@@ -22,6 +22,10 @@ class che_저격발동 extends BaseWarUnitTrigger
return true;
}
if(($selfEnv['저격발동자']?? -1) !== $this->raiseType){
return true;
}
if ($selfEnv['저격발동'] ?? false) {
return true;
}
@@ -44,6 +44,7 @@ class che_저격시도 extends BaseWarUnitTrigger{
}
$self->activateSkill('저격');
$selfEnv['저격발동자'] = $this->raiseType;
$selfEnv['woundMin'] = $this->woundMin;
$selfEnv['woundMax'] = $this->woundMax;
$selfEnv['addAtmos'] = $this->addAtmos;