Note why the necro pets keep their DB effects rows
static_npc_mobbase_effects is shrunk to the 100 NECROPETSTATS rows (sql/3.4-mobbase-effects-shrink.sql); the Wild Boar 13236 PEACE row is dropped as unused (no spawns, contracts or summon power). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4bf3cf9a27
commit
2593e397a9
1 file changed
+1
-1
@@ -124,7 +124,7 @@ public class MobBase extends AbstractGameObject {
|
||||
this.mobBaseStats = (rune != null) ? new MobBaseStats(rune) : MobBaseStats.GetGenericStats();
|
||||
this.effectsList = new ArrayList<>(MobBaseEffects.getEffectsForRune(this.loadID));
|
||||
|
||||
// Server-made rows with no rune entry: NECROPETSTATS on 12021/12022, Wild Boar 13236 PEACE
|
||||
// Server-made NECROPETSTATS on necro pets 12021/12022; NEC-018 and DRU-066 require it on the target
|
||||
for (MobBaseEffects serverEffect : DbManager.MobBaseQueries.GET_RUNEBASE_EFFECTS(this.loadID))
|
||||
if (!this.effectsList.contains(serverEffect))
|
||||
this.effectsList.add(serverEffect);
|
||||
|
||||
Reference in new issue
Block a user