1
This commit is contained in:
parent
0cdec57b59
commit
5b2be5aedf
@ -2950,6 +2950,7 @@ void Room::InitAndroidAI()
|
|||||||
int space = std::get<1>(tuple);
|
int space = std::get<1>(tuple);
|
||||||
if (rnd <= space) {
|
if (rnd <= space) {
|
||||||
hum->SetAiLevel(ai_level);
|
hum->SetAiLevel(ai_level);
|
||||||
|
++ai_num[ai_level];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2958,8 +2959,9 @@ void Room::InitAndroidAI()
|
|||||||
for (auto& pair : accountid_hash_) {
|
for (auto& pair : accountid_hash_) {
|
||||||
pair.second->SendDebugMsg
|
pair.second->SendDebugMsg
|
||||||
(
|
(
|
||||||
a8::Format("ai_num level1:%d level2:%d level3:%d level4:%d level5:%d level6:%d level7:%d level8:%d",
|
a8::Format("room_type:%d ai_num level1:%d level2:%d level3:%d level4:%d level5:%d level6:%d level7:%d level8:%d",
|
||||||
{
|
{
|
||||||
|
GetRoomType(),
|
||||||
ai_num[0],
|
ai_num[0],
|
||||||
ai_num[1],
|
ai_num[1],
|
||||||
ai_num[2],
|
ai_num[2],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user