This commit is contained in:
aozhiwei 2023-06-20 15:18:21 +08:00
parent eeaf28e704
commit 0485634586

View File

@ -37,7 +37,13 @@ const int HUM_NUM_DOWN_LIMIT = 2500;
static RoomType_e GetHumanRoomType(const std::shared_ptr<BattleDataContext> netdata)
{
return RoomType_OldBrid1;
if (netdata->GetBattleTimes() < mt::Param::s().newbie_room_battle_times) {
return RoomType_OldBrid1;
}
if (netdata->GetRank() < mt::Param::s().mid_room_max_rank) {
return RoomType_OldBrid2;
}
return RoomType_OldBrid3;
}
void RoomMgr::Init()