Updated Lua Parser (markdown)

Alex 2013-06-20 13:39:36 -07:00
parent 178b1515f0
commit 76af39e986

@ -775,6 +775,29 @@ Note: Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unles
> } > }
> ``` > ```
* event_weapon_proc
> Triggered when a client procs when using this item.
> Passes an event table as an argument:
> ```
> {
> ItemInst self;
> Client owner;
> 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;
> }
> ```
<a name="wiki-spell-events"></a> <a name="wiki-spell-events"></a>
### Spell Events ### Spell Events