MUnique / OpenMU

This project aims to create an easy to use, extendable and customizable server for a MMORPG called "MU Online".
https://munique.net
MIT License
707 stars 296 forks source link

Fixed item set completion bonuses #414

Closed sven-n closed 3 months ago

sven-n commented 3 months ago

This fixes a major design flaw in the data model. ItemSets now have a reference to a ItemOptionDefinition instead of a collection of options. This way, we have a clean way to define set options without many-to-many references to IncreasableItemOption. This also solves the multiple foreign keys in the IncreasableItemOption table and different options for the composition root.

Had to introduce some sql at the ef migrations to fix existing data.