mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-26 13:42:29 +00:00
Updated Lua Parser (markdown)
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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user