1 Attachment(s)
Table Roll Modifiers within the Code
Hi All, I would like to know if it is possible to add modifiers in the LUA code when rolling on a Table. The attached table is a good example where 2d6 are rolled and it could have a 0, +1 or +2 modifier depending on the targets motive type. I know I can use the modifier box in the main desktop to add this number but can it be done within the code to automate the process. The current section of code that calls the table to be rolled on is:
TableManager.processTableRoll("", "Vehicle Motive Systems Damage");
I have started to look at the Manager_table.lua code (from CoreRPG Ruleset copied into my own extension) but cannot see what could be done, if anything.
Any help would be greatly appreciated.