Class DropConfig
Assembly: Jotunn.dll
Syntax
Properties
| Name |
Description |
|
Chance
|
Chance of this drop in percent. Defaults to 100f. |
|
Item
|
Name of the item prefab of this drop. Gets resolved by Jötunn at runtime. |
|
LevelMultiplier
|
Should the drop amount be multiplied by the creature level. Defaults to true. |
|
MaxAmount
|
Maximum amount of this drop. Defaults to 1. |
|
MinAmount
|
Minimum amount of this drop. Defaults to 1. |
|
OnePerPlayer
|
If true, only one instance per active player will be dropped regardless of min/max amount. Defaults to false. |
Methods
| Name |
Description |
|
GetDrop()
|
Creates a Valheim CharacterDrop.Drop from this config. |
Extension Methods