This commit is contained in:
aozhiwei 2023-04-04 13:26:49 +08:00
parent adf0199bd5
commit 549dde3fca

View File

@ -27,6 +27,7 @@
#include "gungrasp.h"
#include "effect.h"
#include "stats.h"
#include "team.h"
#include "mt/Param.h"
#include "mt/Hero.h"
@ -2535,7 +2536,7 @@ void Creature::OnLand()
RemoveBuffByEffectId(kBET_Jump);
RemoveBuffByEffectId(kBET_ThroughWall);
#if 1
if (IsAndroid() && AsHuman()->team_uuid.empty()) {
if (IsAndroid() && AsHuman()->team_uuid.empty() && !GetTeam()->HasPlayer()) {
MustBeAddBuff(this, kBeRecycleBuffId);
}
#endif