-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update LootGenerationFactory.cs #1205
Conversation
Creates loot for creatures that do not have a CreateList
refactored a bit so that it could accomodate magical, nonmagical and mundane items.
Fixes chests for new loot system changes.
Both CreateList and DeathTreasureTier is used
@@ -55,7 +55,9 @@ private void SetEphemeralValues() | |||
//Eventually these case statements would be linked to indivual treasure generators. Each one should be a different profile, but currently it will be the complete appropriate tier profile. | |||
for (int i = 0; i < GeneratorProfiles.Count; i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the generator profiles.. if the where create hasflag RegenLocationType.Treasure
it should do a look up in the death treasure table for that value of the wcid
if its just Contain, it needs no look up and that's the actual wcid
right now the code below is assuming anything below 500 is a death treasure which could be wrong
just created another PR. some things no longer needed to be touched from here, so just started clean. |
Updates max damages per tier to be variable value. Previously, all weapons defaulted to their max value. This changes it so they are based on a bell curve for values within a range.