-
June 22nd, 2020, 05:11 #11
it would be { "d6","d6","d6" }
adice is an array of dice.
MoreCore - Generic Ruleset
--- Projects ---
Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con
-
June 22nd, 2020, 23:35 #12
- Join Date
- Nov 2017
- Posts
- 60
Thank you damned! Helps alot!
-Thanks!
-
August 5th, 2020, 23:25 #13
Can multiple registerResultHandlers be set up in different scripts for the same roll?
I want to count consecutive saving throws in Pathfinder and it would be great to take advantage of the saving throw script that already exists.
I tried adding
ActionsManager.registerResultHandler("save", onRoll);
to onInit but the onRoll function I set up to debug with didn't trigger.bmos' pathfinder 1e extensions
he/him | Discord Tag: wil.thieme#3396
-
August 6th, 2020, 00:26 #14
MoreCore - Generic Ruleset
--- Projects ---
Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con
-
August 9th, 2020, 02:41 #15
I'm having a hard time triggering onRoll for some reason.
rRoll isCode:{ s'aDice' = { #1 = s'd20' }, s'nMod' = #1, s'tags' = s'diseasetracker', s'sType' = s'disease', s'nTarget' = #20, s'sDesc' = s'[DISEASE] Fortitude' }
Last edited by bmos; August 9th, 2020 at 13:20.
bmos' pathfinder 1e extensions
he/him | Discord Tag: wil.thieme#3396
-
August 9th, 2020, 05:25 #16
Just something you might try
Ln8: ActionsManager.registerResultHandler('diseasesave' , onDiseaseSave)
Ln213: function onDiseaseSave(rSource, rTarget, rRoll)
Ln214: Debug.chat('onDiseaseSave')
MoreCore - Generic Ruleset
--- Projects ---
Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con
-
August 9th, 2020, 12:13 #17
Last edited by bmos; August 9th, 2020 at 21:26.
bmos' pathfinder 1e extensions
he/him | Discord Tag: wil.thieme#3396
-
August 9th, 2020, 15:08 #18
- Join Date
- Aug 2014
- Posts
- 70
Thanks for putting so much effort into this! How would I make the die rolled an exploding die?
Last edited by Quorlox; August 9th, 2020 at 16:49.
-
October 12th, 2020, 21:43 #19
- Join Date
- Mar 2018
- Location
- Norway
- Posts
- 45
Thank you for making this guide.
I've used your example action and been able to implement it in a template, so that doubleclicking a frame makes it roll.
But if I would like to have the value in the frame as a modifier, how would I go about that?
I am trying to dig through and dissect the 3.5 lua files, but I am getting completly lost in the codes.
Is there an easy way of getting the value localy, or would I need to create strings and several functions in a lua file to make it function?
Thanks in advance.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks