From d2d954a65ad92728b824191abb6a03c0fe1d6597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Gim=C3=A9nez?= Date: Thu, 7 Sep 2023 22:38:51 +0900 Subject: [PATCH] exclude BaalTaunt as enemy --- pkg/data/npc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/data/npc.go b/pkg/data/npc.go index d8f8f37..b347fc7 100644 --- a/pkg/data/npc.go +++ b/pkg/data/npc.go @@ -50,7 +50,7 @@ func (m Monsters) FindOne(id npc.ID, t MonsterType) (Monster, bool) { func (m Monsters) Enemies(filters ...MonsterFilter) []Monster { monsters := make([]Monster, 0) for _, mo := range m { - if !mo.IsMerc() && !mo.IsGoodNPC() && mo.Stats[stat.Life] > 0 { + if !mo.IsMerc() && mo.Name != npc.BaalTaunt && !mo.IsGoodNPC() && mo.Stats[stat.Life] > 0 { monsters = append(monsters, mo) } }