update warlock pet

This commit is contained in:
vietdungdev
2026-03-05 13:54:46 +07:00
parent 6c3b135688
commit 9840b0c026

View File

@@ -162,7 +162,9 @@ 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) || m.States.HasState(state.BindDemon) || m.States.HasState(state.BindDemonUnderling) { if m.States.HasState(state.Revive) ||
m.States.HasState(state.BindDemon) ||
m.States.HasState(state.BindDemonUnderling) {
return true return true
} }
@@ -171,7 +173,8 @@ 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.Tainted3, npc.WarGoatman, npc.WarDefiler: npc.ShadowWarrior, npc.ShadowMaster,
npc.WarDefiler, npc.WarGoatman, npc.Tainted, npc.Tainted2, npc.Tainted3:
return true return true
} }