Vlek / RuinsAndRiches

Ruins & Riches Ultima Online Server Files
6 stars 0 forks source link

Fix the atrocities in QuestStories.cs #148

Open Vlek opened 10 months ago

Vlek commented 10 months ago

The dev used Utility.RandomMinMax in order to get a number and then uses a SWITCH STATEMENT in order to get the value that he wants out of a poor man's collection of items.

It's insane. This needs to change.

Utility has a thing where you can pass it an arbitrary list of items and it'll give you an item from that list that we can use instead.