Skip to content

Remove drop level gap condition for jewels#697

Draft
ze-dom wants to merge 2 commits intoMUnique:masterfrom
ze-dom:bugfix/remove_jewels_level_drop_gap
Draft

Remove drop level gap condition for jewels#697
ze-dom wants to merge 2 commits intoMUnique:masterfrom
ze-dom:bugfix/remove_jewels_level_drop_gap

Conversation

@ze-dom
Copy link
Contributor

@ze-dom ze-dom commented Feb 19, 2026

Todo

  • UpdatePlugin (after discussion)
  • Comment changes with source references

This fix removes the drop level gap condition for Jewels, Imp, Angel, Uniria, Ale, and Town Portal Scroll, which was preventing these items from dropping by mobs with higher levels than that limit.

Remarks
Let me know your opinion on the following points, as to whether we should add them or not:

  1. Orbs, Scrolls and other skill items seem to have a lower drop rate (zTeamS6.3, emu) than other items. We could create a new drop group for this.
  2. Second and third class excellent items seem to be extra rarer (zTeamS6.3, emu) than other excellent items.
  3. Jewel of Chaos is not as rare as other jewels/Imp/Angel/Uniria/Ale/Town Portal Scroll (zTeamS6.3, emu) (about (3/7)/(1/11)=4.7 times less rare).

Apparently in zTeamS6.3, they moved the jewel item checks somewhere else and mobs didn't drop them. Maybe they sold them in NPC stores or something.

@ze-dom ze-dom changed the title First commit Remove drop level gap condition for jewels Feb 19, 2026
Comment on lines +442 to +446
if (monsterLevel > 66)
{
// Jewel of Chaos doesn't drop after a certain monster level
filteredPossibleItems.RemoveAll(it => it.Group == 12 && it.Number == 15);
}
Copy link
Contributor Author

@ze-dom ze-dom Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
else
{
filteredPossibleItems = [.. selectedGroup.PossibleItems.Where(it => it.DropLevel == 0 || (it.DropLevel <= monsterLevel && it.DropLevel > monsterLevel - 12))];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accordint to zTeamS6.3 (1, 2), emu (1, 2), the gap is 18 and not 12. Let me know if you want to change.

Comment on lines +32 to +37
var angel = this.CreatePet(0, "Guardian Angel", 23, (Stats.DamageReceiveDecrement, 0.8f, AggregateType.Multiplicate), (Stats.MaximumHealth, 50f, AggregateType.AddRaw));
this.AddItemToJewelItemDrop(angel);
var imp = this.CreatePet(1, "Imp", 28, (Stats.AttackDamageIncrease, 1.3f, AggregateType.Multiplicate));
this.AddItemToJewelItemDrop(imp);
var uniria = this.CreatePet(2, "Horn of Uniria", 25);
this.AddItemToJewelItemDrop(uniria);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alcohol.Height = 2;
alcohol.SetGuid(alcohol.Group, alcohol.Number);
alcohol.ConsumeEffect = this.GameConfiguration.MagicEffects.First(effect => effect.Number == (short)MagicEffectNumber.Alcohol);
this.AddItemToJewelItemDrop(alcohol);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definition.Width = 1;
definition.Height = 2;
definition.SetGuid(definition.Group, definition.Number);
this.AddItemToJewelItemDrop(definition);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments