성벽을 때렸을 때 차숙이 오르지 않는 버그 해결
This commit is contained in:
@@ -125,6 +125,10 @@ function addGenDex($no, $atmos, $train, $type, $exp) {
|
|||||||
$db = DB::db();
|
$db = DB::db();
|
||||||
|
|
||||||
$armType = GameUnitConst::byId($type)->armType;
|
$armType = GameUnitConst::byId($type)->armType;
|
||||||
|
if($armType == GameUnitConst::T_CASTLE){
|
||||||
|
$armType = GameUnitConst::T_SIEGE;
|
||||||
|
}
|
||||||
|
|
||||||
if($armType < 0){
|
if($armType < 0){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user