버그 수정

This commit is contained in:
Hide_D committed 2020-07-15 02:43:00 +09:00
1 parent 38a688f918
commit 8aae688fb0
2 files changed
+2 -2

No files matched your search

@@ -35,7 +35,7 @@ class event_전투특기_공성 extends \sammo\BaseItem{
public function onCalcStat(General $general, string $statName, $value, $aux=null){
if(\sammo\Util::starts_with($statName, 'dex')){
$myArmType = 'dex'.GameUnitConst::T_CASTLE;
$myArmType = 'dex'.GameUnitConst::T_SIEGE;
$opposeArmType = 'dex'.$aux['opposeType']->armType;;
if($aux['isAttacker'] && $opposeArmType === $statName){
return $value + $general->getVar($myArmType);