1
This commit is contained in:
parent
eeaf28e704
commit
0485634586
@ -37,7 +37,13 @@ const int HUM_NUM_DOWN_LIMIT = 2500;
|
|||||||
|
|
||||||
static RoomType_e GetHumanRoomType(const std::shared_ptr<BattleDataContext> netdata)
|
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()
|
void RoomMgr::Init()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user