lua:ch:addaffect
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lua:ch:addaffect [2014/12/27 08:11] – vodur | lua:ch:addaffect [2026/10/14 04:12] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Syntax: | ||
| - | |||
| - | addaffect( where[" | ||
| - | addaffect( where[" | ||
| - | addaffect( where[" | ||
| - | addaffect( where[" | ||
| - | |||
| - | Arguments: | ||
| - | |||
| - | < | ||
| - | where - As indicated, could be affects, immune, resist, or vuln. | ||
| - | type - Skill name or " | ||
| - | level - Integer. | ||
| - | duration - Integer. Duration in ticks, -1 for indefinite. | ||
| - | bitvector - Affect flag to add ( see affect_flags table ). | ||
| - | customtag - String. Custom name for the affect. This is what will show with ' | ||
| - | </ | ||
| - | |||
| - | Example1: | ||
| - | |||
| - | <code lua> | ||
| - | |||
| - | ch: | ||
| - | ch: | ||
| - | |||
| - | </ | ||
| - | |||
| - | You are affected by the following spells: \\ | ||
| - | Special: Irena' | ||
| - | : modifies all skills by -100 indefinitely (Lvl 100) | ||
| - | |||
| - | Example2: | ||
lua/ch/addaffect.1419667884.txt.gz · Last modified: by vodur
