Skip to content

Commit

Permalink
Merge pull request #453 from MUnique/dev/fix-ancients-from-cc
Browse files Browse the repository at this point in the history
Fixed ancient drops from chaos castle.
  • Loading branch information
sven-n authored Aug 14, 2024
2 parents 45610d2 + 953eb2e commit 869a157
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/GameLogic/DefaultDropGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,10 @@ public DefaultDropGenerator(GameConfiguration config, IRandomizer randomizer)

item.Level = Math.Min(item.Level, item.Definition!.MaximumItemLevel);

if (selectedGroup.ItemType == SpecialItemType.Ancient)
{
this.ApplyRandomAncientOption(item);
}
else if (selectedGroup.ItemType == SpecialItemType.Excellent)
if (selectedGroup.ItemType == SpecialItemType.Excellent)
{
this.AddRandomExcOptions(item);
}
else
{
// nothing to add, others make no sense here.
}

return item;
}
Expand Down

0 comments on commit 869a157

Please sign in to comment.