Add warlock summons to IsPet

This commit is contained in:
CarlPoppa
2026-02-21 12:56:35 +00:00
parent 619d125378
commit ffbc3dc39a

View File

@@ -162,7 +162,7 @@ func (m Monster) IsMerc() bool {
func (m Monster) IsPet() bool { func (m Monster) IsPet() bool {
// Necromancer revive. // Necromancer revive.
if m.States.HasState(state.Revive) { if m.States.HasState(state.Revive) || m.States.HasState(state.BindDemon) {
return true return true
} }
@@ -171,7 +171,7 @@ func (m Monster) IsPet() bool {
npc.OakSage, npc.DruBear, npc.DruPlaguePoppy, npc.VineCreature, npc.OakSage, npc.DruBear, npc.DruPlaguePoppy, npc.VineCreature,
npc.DruCycleOfLife, npc.ClayGolem, npc.BloodGolem, npc.IronGolem, npc.DruCycleOfLife, npc.ClayGolem, npc.BloodGolem, npc.IronGolem,
npc.FireGolem, npc.NecroSkeleton, npc.NecroMage, npc.Valkyrie, npc.Decoy, npc.FireGolem, npc.NecroSkeleton, npc.NecroMage, npc.Valkyrie, npc.Decoy,
npc.ShadowWarrior, npc.ShadowMaster: npc.ShadowWarrior, npc.ShadowMaster, npc.Tainted3, npc.WarGoatman, npc.WarDefiler:
return true return true
} }