Arion
May 30th, 2014, 09:18
Valarian was kind enough to do a few modifications for me based on the OpenD6 ruleset for a game i am writing. It is working well, but i may need to tweak some rules, specifically the result of 1 on the wild dice. Normally this 1 would be subtracted from the total, another dice would be rolled and that also subtracted, and the highest remaining dice also subtracted.
I am not, and never i think will be a programmer, but i am keen to learn bits. I have pasted the code below that i assume refers to the exploding dice rules from chat_chat.lua
I someone able to explain in fairly simple terms how the script handles the exploding dice. I know that it will force another dice roll on a 1 or a 6, and then add or subtract results. But how, for example, would i get it to simply report a result of half of the total rather than rolling and subtracting extra dice on a 1?
https://www.arion-games.com/code.jpg
I am not, and never i think will be a programmer, but i am keen to learn bits. I have pasted the code below that i assume refers to the exploding dice rules from chat_chat.lua
I someone able to explain in fairly simple terms how the script handles the exploding dice. I know that it will force another dice roll on a 1 or a 6, and then add or subtract results. But how, for example, would i get it to simply report a result of half of the total rather than rolling and subtracting extra dice on a 1?
https://www.arion-games.com/code.jpg