diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index a4167cd1..f72d6582 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -2320,6 +2320,9 @@ void Creature::OnBattleStart(Room* room) break; } } + if (IsPlayer() && room->GetCustomBattle()) { + TryAddBuffAndSetTime(this, kInvincibleBuffId, FRAME_RATE_MS * 2); + } } bool Creature::CanFollow(Creature* follower)