This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
lua:ch:setresist [2014/12/27 08:24] vodur created |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Syntax: | ||
| - | |||
| - | CH:setresist( resist [, value] ) | ||
| - | |||
| - | First argument is a string. See 'res_flags' table for valid values. | ||
| - | |||
| - | Optional second argument is a boolean value determining whether the immunity is being set (true) or removed (false). Default is considered true, so the resist is set if no 2nd argument is provided. | ||