OpenPerpetuum / PerpetuumServer

The Open Perpetuum Project's fork of the Perpetuum Standalone Server
https://openperpetuum.com
Other
44 stars 21 forks source link

NPCReinforcements: allow random/weighted selection from multiple matching criteria #387

Open MikeJeffers opened 3 years ago

MikeJeffers commented 3 years ago

A reinforcement wave for a boss, or ore field, is matched by zone, or boss definition, and the "level" of the wave progression.

Given the existing match criteria, allow for the datamodel and selector/reader to fetch multiple matches, and pick randomly (optional: with weights!) among the matches.