AngeliA
Search Results for

    Show / Hide Table of Contents

    Class ItemDropAttribute<I>

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

    Type Parameters
    Name Description
    I

    Which item does it drops

    Constructors

    ItemDropAttribute(int, int)

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

    Declaration
    public ItemDropAttribute(int dropChance, int dropCount = 1)
    Parameters
    Type Name Description
    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 ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค