This commit is contained in:
aozhiwei 2020-12-10 14:00:16 +08:00
parent 9ee9244bba
commit c8d0b871ca
2 changed files with 6 additions and 0 deletions

View File

@ -78,6 +78,10 @@ void Android::GiveEquip()
weapons[GUN_SLOT1].Recalc(); weapons[GUN_SLOT1].Recalc();
curr_weapon = &weapons[GUN_SLOT1]; curr_weapon = &weapons[GUN_SLOT1];
} }
sex = robot_meta->i->sex();
if (sex == 0) {
sex = rand() % 3;
}
} }
void Android::SetAiLevel(int ai_level) void Android::SetAiLevel(int ai_level)

View File

@ -149,6 +149,8 @@ message Robot
optional int32 zbmode_weapon_id = 6; optional int32 zbmode_weapon_id = 6;
optional int32 zbmode_weapon_lv = 7; optional int32 zbmode_weapon_lv = 7;
optional int32 sex = 8;
} }
message Skill message Skill