Loading...   

  • event_timer

    Triggered when a timer attached to this item expires. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      String timer;
    }
    
  • event_scale_calc

    Triggered on a timer every 10 seconds for a scaling item. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
    }
    
  • event_item_enter_zone

    Triggered when a client enters the zone with this item. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
    }
    
  • event_item_click

    Triggered when a client right clicks an item. Only works on SoF+ clients. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      Integer slot_id;
    }
    
  • event_item_click_cast

    Triggered when a client right clicks an item to cast a spell with it. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      Integer slot_id;
    }
    

    Returning a non-zero value from this function will cause the spell effect attached to the clicky item to not trigger.

  • event_item_tick

    Triggered by a timer every 10 seconds randomly (driven by a db table). Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
    }
    
  • event_drop_item

    Triggered when a client attempts to drop an item on the ground. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
    }
    

    Returning a non-zero value will make the item not actually be dropped on the ground.

  • event_destroy_item

    Triggered when a client attempts to destroy an item on the ground. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
    }
    
  • event_weapon_proc

    Triggered when a client procs when using this item. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      Mob target;
      Spell spell;
    }
    

    Returning a non-zero value from this function will cause the proc spell to not cast at all.

  • event_loot

    Triggered when a client loots this item from a corpse Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      Corpse corpse;
    }
    
  • event_augment_item

    Triggered when a client augments this item. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      ItemInst aug;
      Integer slot_id;
    }
    
  • event_unaugment_item

    Triggered when a client unaugments this item. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      ItemInst aug;
      Integer slot_id;
    }
    
  • event_augment_insert

    Triggered when a client inserts this item into another as an augment. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      ItemInst item;
      Integer slot_id;
    }
    
  • event_augment_remove

    Triggered when a client inserts this item into another as an augment. Passes an event table as an argument:

    {
      ItemInst self;
      Client owner;
      ItemInst item;
      Integer slot_id;
      Booleanean destroyed;
    }