This commit is contained in:
aozhiwei 2023-04-04 13:22:54 +08:00
parent a71bc0a29f
commit adf0199bd5
2 changed files with 3 additions and 2 deletions

View File

@ -2534,8 +2534,8 @@ void Creature::OnLand()
//着陆 //着陆
RemoveBuffByEffectId(kBET_Jump); RemoveBuffByEffectId(kBET_Jump);
RemoveBuffByEffectId(kBET_ThroughWall); RemoveBuffByEffectId(kBET_ThroughWall);
#if 0 #if 1
if (IsAndroid() && team_uuid.empty()) { if (IsAndroid() && AsHuman()->team_uuid.empty()) {
MustBeAddBuff(this, kBeRecycleBuffId); MustBeAddBuff(this, kBeRecycleBuffId);
} }
#endif #endif

View File

@ -77,6 +77,7 @@ void Incubator::AllocAndroid(Human* target, int num, std::vector<Human*>* androi
int rand_len = rand() % mt::Param::s().incubator_rand_length; int rand_len = rand() % mt::Param::s().incubator_rand_length;
Human* hum = hold_humans_.at(0); Human* hum = hold_humans_.at(0);
glm::vec3 center = target->GetPos().ToGlmVec3() + dir * (float)(mt::Param::s().incubator_base_length + rand_len); glm::vec3 center = target->GetPos().ToGlmVec3() + dir * (float)(mt::Param::s().incubator_base_length + rand_len);
room->map_instance->Scale(center);
glm::vec3 point; glm::vec3 point;
if (room->map_instance->FindRandomPointAroundCircle if (room->map_instance->FindRandomPointAroundCircle
( (