Epic Loot Integration - ASharpPen/Valheim.DropThat GitHub Wiki

Integrates to magic item roll system from Epic Loot. Allows for making items magic. See the mod page for more in-depth description of the magic system.

The settings work for both CharacterDrop and DropTable configurations.

Mod-specific configs can be added to each configuration entry as [<EntityPrepfabName>.<DropIndex>.<ModName>] These are implemented soft-dependant, meaning if the mod is not present, the configuration will do nothing.

The items are first given a rarity level, based on the configured options. The roll is done as a weighted distribution, meaning if you gave Magic 100 and Legendary 100, it would be 50% chance to become one of them. If you added Rare as 100, it would be 33% for any of them.

Example

CharacterDrop example of bonemass set to always drop a pair of epic pants.

[Bonemass.10]
PrefabName = ArmorBronzeLegs

[Bonemass.10.EpicLoot]
RarityWeightEpic = 1

DropTable example of adding a unique item to a chest.

[TreasureChest_forestcrypt]
DropChance=100
DropOnlyOnce=True

[TreasureChest_forestcrypt.0]
PrefabName=ArmorLeatherLegs
Weight=1
ConditionBiomes=BlackForest

[TreasureChest_forestcrypt.0.EpicLoot]
RarityWeightUnique = 1
UniqueIDs = HeimdallLegs

Config Options

Setting Type Default Example Description
RarityWeightNone float 0 250 Weight to use for rolling as a non-magic item
RarityWeightMagic float 0 100 Weight to use for rolling as rarity 'Magic'
RarityWeightRare float 0 75 Weight to use for rolling as rarity 'Rare'
RarityWeightEpic float 0 50 Weight to use for rolling as rarity 'Epic'
RarityWeightLegendary float 0 10 Weight to use for rolling as rarity 'Legendary'
RarityWeightUnique float 0 1 Weight to use for rolling unique items from the UniqueIDs array. If item rolls as unique, a single id will be selected randomly from the UniqueIDs
UniqueIDs string HeimdallLegs, RagnarLegs Id's for unique legendaries from Epic Loot. Will drop as a non-magic item if the legendary does not meet its requirements
⚠️ **GitHub.com Fallback** ⚠️