Browse Source

Corrects Max Baby Third Parameter issue (#4578)

* Fixes #4576.
* Added missing case for returning battle config for Baby Third classes.
Thanks to @reunite-ro!
Aleos 5 năm trước cách đây
mục cha
commit
de9f667d2f
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/map/pc.cpp

+ 5 - 1
src/map/pc.cpp

@@ -12739,7 +12739,11 @@ short pc_maxparameter(struct map_session_data *sd, enum e_params param) {
 
 	// Always check babies first
 	if( class_ & JOBL_BABY ){
-		return battle_config.max_baby_parameter;
+		if( class_ & JOBL_THIRD ){
+			return battle_config.max_baby_third_parameter;
+		}else{
+			return battle_config.max_baby_parameter;
+		}
 	}
 
 	// Summoner