PDA

View Full Version : custom die roll... d1?



Morenu
November 28th, 2023, 11:27
**** Edit: answered, added a small piece of code to an existing extension to get the d1 in the custom die menu ****

**Original post**

not sure if this is PF1e specific, but here we go.

I need a duration for the following and I would like it to be automated:


*Allies within 60 feet who can hear your berserker’s cry (including yourself ) are heartened and gain a +1 morale bonus on damage rolls made with melee attacks for a number of rounds equal to half your character level + your Charisma bonus.


in PF1e I can get to custom dice via the d6 radial menu, but it has d3, d2 & d0 in there. (and I see my pic says CL and it should be CL/2)

59376

I need a d1 to drag to the die multiplier for round calculation. anyone know any other options?

thx

Neovirtus
November 28th, 2023, 12:24
Pretty sure you can just click on the field and type 1. No die required.

Morenu
November 28th, 2023, 13:48
Pretty sure you can just click on the field and type 1. No die required.

I just tried left clicking on the first box with the dice images and then typing. Not working fir me. Right clicking gives me an X and and erase option.

Neovirtus
November 28th, 2023, 13:59
Ah, sorry. I don't play PF 1E so my bad. Sometimes people don't realize they can type in fields because a cursor doesn't pop up, but that doesn't seem to be the case here.

Zacchaeus
November 28th, 2023, 20:50
I think you are just going to have to use the 'Fixed' box to enter the number of turns or you could enter the Cha in the abilities section and then the level in the 'Fixed' box. I don't think there is a way to automate the number of turns in this case - but I'm no expert on PF1 to be fair.

Morenu
November 29th, 2023, 00:11
Thx for the replies :)

guess I will make one of the variables fixed, Thanks.

odd that there are d3, d2, & d0 dice. no easy way to make a d1? plenty of space lol

Trenloe
November 29th, 2023, 00:18
You could grab the original d0 extension and edit that to make a d1: https://www.fantasygrounds.com/forums/showthread.php?27805-Show-cumulative-effect-bonuses&p=248241&viewfull=1#post248241

dogfisc
December 4th, 2023, 20:01
In PF1e you can leave the dice field blank, and it just won’t roll anything.

Morenu
December 4th, 2023, 20:24
Hmmm. Will try it but it may need a roll. I will post a pic in a bit.

Morenu
December 5th, 2023, 03:45
Nope, entering no die is essentially 0 x even CLs + CHA = rounds 59412

Working on Trenloe's suggestion but Dont want to add another extension just for his, so I am mashing it into the Spellclass sort extension I recommend for the mod, but will make it mildly required for a few feats if it works.

and Trenloe, I would like to send you the code for the extension to make sure you are ok with the edits, as it was mostly your code plus a piece from Mosttornbrain. PM me if you would like to see it before I update the extension on forge

Morenu
December 5th, 2023, 04:03
Well that worked. Thanks Trenloe (and all that offered help) 59421

In the picture, the d1 custom die works fine and gives a duration of

(even CL) d1 + CHA. in the picture above that show 4d1+1 as the character is CL8 and CHA +1

Works perfect and will be correct as the character levels.

I added an slightly edited version of Trenloe's d1 ext he linked above to the Spellclass sort Ext he and MTB created for me and allowed me to add to the forge. I figure the code would be unlikely to interfere with other extensions and adds nothing that most people would see let alone use. and it means 1 less extension.

dogfisc
December 5th, 2023, 15:53
Huh, I would have sworn we’d done that before, but I looked last night and couldn’t find it.