Updated Lua Parser (markdown)

Alex 2013-06-21 13:59:47 -07:00
parent 58a77d4e02
commit 22e0692710

@ -743,6 +743,7 @@ Note: Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unles
> Integer slot_id; > 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 * event_item_tick
> Triggered by a timer every 10 seconds randomly (driven by a db table). > Triggered by a timer every 10 seconds randomly (driven by a db table).
@ -799,6 +800,50 @@ Note: Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unles
> } > }
> ``` > ```
* event_augment_item
> Triggered when a client augments this item.
> Passes an event table as an argument:
> ```
> {
> ItemInst self;
> Client owner;
> ItemInst aug;
> }
> ```
* event_unaugment_item
> Triggered when a client unaugments this item.
> Passes an event table as an argument:
> ```
> {
> ItemInst self;
> Client owner;
> ItemInst aug;
> }
> ```
* 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;
> }
> ```
* 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;
> }
> ```
<a name="wiki-spell-events"></a> <a name="wiki-spell-events"></a>
### Spell Events ### Spell Events