This commit is contained in:
aozhiwei 2021-09-28 13:32:34 +00:00
parent ba6b3fa91f
commit acd2f08cb0
2 changed files with 7 additions and 0 deletions

View File

@ -2828,9 +2828,11 @@ bool Creature::CanFollow(Creature* follower)
if (follower->GetUniId() == GetUniId()) {
return false;
}
#if 0
if (!follower->IsPlayer()) {
return false;
}
#endif
if (follower->team_id != team_id) {
return false;
}
@ -2846,9 +2848,11 @@ bool Creature::CanFollow(Creature* follower)
return false;
}
#if 0
if (!IsPlayer()) {
return false;
}
#endif
if (HasBuffEffect(kBET_Jump)) {
return false;
}

View File

@ -256,6 +256,9 @@ void MatchTeam::UpdateMaster()
for (int i = 0; i < 4; ++i) {
AutoChoose(true);
}
for (auto& member : curr_member_hash_) {
member->state = kMatchPrepare;
}
phase_ = kMatchLock;
phase_start_tick_ = a8::XGetTickCount();
countdown_ = MetaMgr::Instance()->match_lock_time;