This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
lua:ch:removeaffect [2014/12/27 08:06] vodur |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== removeaffect ====== | ||
- | |||
- | Syntax: | ||
- | |||
- | removeaffect( type[string] ) | ||
- | |||
- | removeaffect( "custom_affect", customtag[string] ) | ||
- | |||
- | removeaffect( affect[AFFECT] ) | ||
- | |||
- | Example1: | ||
- | |||
- | ch:removeaffect("custom_affect", "Irena's curse") | ||
- | |||
- | Example2: | ||
- | |||
- | Example3: | ||
- | |||
- | See also [[:lua:ch:addaffect|addaffect]] | ||