AngeliA
Search Results for

    Show / Hide Table of Contents

    Class ItemDropAttribute

    Register item drop for the entity, use ItemSystem.DropItemFor(Entity) to perform the item drop.

    Constructors

    ItemDropAttribute(int, int, int)

    Register item drop for the entity, use ItemSystem.DropItemFor(Entity) to perform the item drop.

    Declaration
    protected ItemDropAttribute(int typeID, int dropChance, int dropCount = 1)
    int dropChance

    Probability of dropping this item. 0 means 0%, 1000 means 100%

    int dropCount

    How many items does it drop at once

    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค