성벽을 때렸을 때 차숙이 오르지 않는 버그 해결

This commit is contained in:
2018-08-07 04:00:31 +09:00
parent bb707b4a03
commit 1b3380c2ca
+4
View File
@@ -125,6 +125,10 @@ function addGenDex($no, $atmos, $train, $type, $exp) {
$db = DB::db();
$armType = GameUnitConst::byId($type)->armType;
if($armType == GameUnitConst::T_CASTLE){
$armType = GameUnitConst::T_SIEGE;
}
if($armType < 0){
return;
}