|
@@ -12360,7 +12360,7 @@ void clif_parse_SelectCart(int fd,struct map_session_data *sd) {
|
|
type = (int)RFIFOB(fd,6);
|
|
type = (int)RFIFOB(fd,6);
|
|
|
|
|
|
// Check type
|
|
// Check type
|
|
- if( type < 10 || type > MAX_CARTS )
|
|
|
|
|
|
+ if( type < 10 || type > 12 )
|
|
return;
|
|
return;
|
|
|
|
|
|
pc_setcart(sd, type);
|
|
pc_setcart(sd, type);
|
|
@@ -12388,6 +12388,9 @@ void clif_parse_ChangeCart(int fd,struct map_session_data *sd)
|
|
|
|
|
|
if(
|
|
if(
|
|
#ifdef NEW_CARTS
|
|
#ifdef NEW_CARTS
|
|
|
|
+#if PACKETVER >= 20191106
|
|
|
|
+ (type == 13 && sd->status.base_level > 100) ||
|
|
|
|
+#endif
|
|
(type == 9 && sd->status.base_level > 130) ||
|
|
(type == 9 && sd->status.base_level > 130) ||
|
|
(type == 8 && sd->status.base_level > 120) ||
|
|
(type == 8 && sd->status.base_level > 120) ||
|
|
(type == 7 && sd->status.base_level > 110) ||
|
|
(type == 7 && sd->status.base_level > 110) ||
|