Difference between revisions of "AddNewEffect"
Jump to navigation
Jump to search
no edit summary
imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Adds a new effect to the effect list of the specified ingestible/object effect/actor effect, with the specified parameters. |name = AddN...") |
imported>Jazzisparis |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = JIP | |origin = JIP | ||
|summary = Adds a new effect to the effect list of the specified ingestible/object effect/actor effect, with the specified parameters. | |summary = Adds a new effect-entry to the effect list of the specified ingestible/object effect/actor effect, with the specified parameters. | ||
|name = AddNewEffect | |name = AddNewEffect | ||
|returnType = effectCount:int | |returnType = effectCount:int | ||
Line 36: | Line 36: | ||
==Notes== | ==Notes== | ||
*<i>range</i> and <i>area</i> are optional, and are defaulted to 0. | *<i>range</i> and <i>area</i> are optional, and are defaulted to 0. | ||
*If the effect was successfully added, the function will return the new effect-count, and -1 otherwise | *If the effect-entry was successfully added, the function will return the new effect-count, and -1 otherwise. | ||
==See Also== | ==See Also== | ||
*[[RemoveNthEffect]] | *[[RemoveNthEffect]] | ||
[[Category:Functions_(JIP)]] | [[Category:Functions_(JIP)]] | ||
[[Category:Effect Functions (JIP)]] | [[Category:Effect Functions (JIP)]] |