PDA

View Full Version : Stack overflow with IF: CUSTOM conditional effects



Brynnan
October 7th, 2016, 07:53
Full details discussed here: https://www.fantasygrounds.com/forums/showthread.php?34368-Custom-Effects-Problem&p=293004#post293004

Using the IF: conditional with a custom effect throws a Script Error: [string "scripts/manager_actor.lua"]:132: stack overflow

It is readily repeatable.

For example, add the following effect to a PC:
IF: CUSTOM(Test); DMG: 2

If you attempt to roll damage, you get the script error.

However the equivalent conditional using IFT: works without error.

Tested and confirmed by Trenloe. He also stated the problem exists in the upcoming 3.2.