feat(npc): expand monster raiser list

Add missing Act 1 and Act 3 shaman variants. Clarify the raiser list to reduce future maintenance errors.
This commit is contained in:
Genqila
2026-01-11 23:21:18 +07:00
committed by guiyomu-dev
parent 691d8f7e84
commit cae132c48b

View File

@@ -193,8 +193,10 @@ func (m Monster) IsSealElite() bool {
// IsMonsterRaiser returns true if the monster can spawn new monsters. // IsMonsterRaiser returns true if the monster can spawn new monsters.
func (m Monster) IsMonsterRaiser() bool { func (m Monster) IsMonsterRaiser() bool {
switch m.Name { switch m.Name {
case npc.FallenShaman, npc.CarverShaman, npc.DevilkinShaman, npc.DarkShaman, npc.WarpedShaman, case
npc.HollowOne, npc.Guardian, npc.Guardian2, npc.Unraveler, npc.Unraveler2, npc.HoradrimAncient, npc.BaalSubjectMummy, npc.HoradrimAncient2, npc.HoradrimAncient3: npc.FallenShaman, npc.CarverShaman, npc.DevilkinShaman, npc.DarkShaman, npc.WarpedShaman, npc.CarverShaman2, npc.DevilkinShaman2, npc.DarkShaman2, // Act 1
npc.HollowOne, npc.Guardian, npc.Unraveler, npc.HoradrimAncient, npc.BaalSubjectMummy, npc.Guardian2, npc.Unraveler2, npc.HoradrimAncient2, npc.HoradrimAncient3, // Act2
npc.RatManShaman, npc.FetishShaman, npc.FlayerShaman, npc.SoulKillerShaman, npc.StygianDollShaman, npc.FlayerShaman2, npc.StygianDollShaman2, npc.SoulKillerShaman2: // Act 3
return true return true
} }