This commit is contained in:
aozhiwei 2023-12-05 18:53:30 +08:00
parent 2393e84bf7
commit 664c5acbdb

View File

@ -2320,6 +2320,9 @@ void Creature::OnBattleStart(Room* room)
break; break;
} }
} }
if (IsPlayer() && room->GetCustomBattle()) {
TryAddBuffAndSetTime(this, kInvincibleBuffId, FRAME_RATE_MS * 2);
}
} }
bool Creature::CanFollow(Creature* follower) bool Creature::CanFollow(Creature* follower)