Skip to main content

InventoryItemHasEffect

Callable

  • InventoryItemHasEffect(Item: Item, Effect?: EffectName, CheckProperties?: boolean): boolean

  • Returns TRUE if an item has a specific effect


    Parameters

    • Item: Item

      The item from appearance that must be validated

    • optionalEffect: EffectName

      The name of the effect to validate, can be undefined to check for any effect

    • optionalCheckProperties: boolean = true

      If properties should be checked (defaults to true)

    Returns boolean

    true if the effect is on the item