PDA

View Full Version : CoreRPG - High Variance



rhagelstrom
July 16th, 2021, 22:50
High Variance is an extension for CoreRPG which changes the results of the dice to the more extreme end of the spectrum.

Cursed Dice
All 20s on a d20 roll will be changed to 1

Blessed Dice
All 1s on a d20 roll will be changed to 20

Crit Fumble
All rolls on a d20 at or above the Critical Fumble Line will be changed to 20. All rolls below the Critical Fumble line will be changed to 1

High Variance
The overall average of the result is the same but possible outcomes shifted to the extremes. Possible results on dice are as follows.

d4 - 1,1,4,4
d6 - 1,1,2,5,6,6
d8 - 1,1,2,3,6,7,8,8
d10 - 1,1,2,2,3,8,9,9,0,0
d12 - 1,1,2,2,3,4,9,10,11,11,12,12
d20 - 1,1,1,2,2,3,3,4,5,6,15,16,17,18,18,19,19,20,20,20

Global Settings
The global settings chan be changed in the settings menu

Dice Set Dice set as described above or off (default)
Apply to Actors Apply the dice set to all actors, friends only, foes only
Apply to Rolls Which rolls to apply to. DMG/HEAL only applies to High Variance dice set
CritFumble Line The value at which the Critical Fumble dice set determines success or failure
Effects


Effect
Effects can be applied to indvidual actors and will override the global setting for this actor. Effects are formatted as follows

(label); HVROLL: (type); CRITLINE: (N)

(label) is type of one of the following:

highvariance
blesseddice
curseddice
critfumble


HVROLL is optional and will use the global setting if omitted. If used the type must be one of the following:

all
d20
atkdmgheal
dmgheal
dmg


CRITLINE is optional and will use the global setting if omitted. If used the type must be a number between 1-19. Only applies to dice type critfumble

Notes

This extension does not change the graphical numbers displayed on the dice, only the results
Changes in rolls only apply to rolls that have an actor source. Rolls not rolled from a character sheet will not be modified.

MeAndUnique
July 17th, 2021, 16:43
Yet another neat contribution, thanks!

kevininrussia
July 17th, 2021, 20:38
Tested the curseddice in 4e. Works. Going to add it to a cursed item in conjunction with Equipped Effects. Muhahaha ;-)

Thanks!

arcanjl
July 17th, 2021, 21:33
I am trying to figure out what a Critical Fumble Line is. Is it when they roll a 1 or a 20 and then it affects the second roll?

rhagelstrom
July 17th, 2021, 22:18
I am trying to figure out what a Critical Fumble Line is. Is it when they roll a 1 or a 20 and then it affects the second roll?

It should be. d20 roll >= Critical Fumble line changed to a 20, and the rest are changed to a 1

This came out of one of my games where an NPC sold the party a drug called Crit which lasts for 1 hr and has withdraw symptoms. It's was described as for daredevils and dreadnoughts and go big or go home. The party still has it in their inventory but are scared to try it. Guess they don't trust the DM

To add to this:

Blessed and Cursed came about because of some Dark Power power ideas I had with my Curse of Strahd
High Variance came about from a twitter post by Chris Perkins and Wyrmwood did a kickstarter https://www.kickstarter.com/projects/wyrmwood/dice-by-wyrmwood/description

arcanjl
July 17th, 2021, 22:38
Wait, so they only roll 1's and 20's! LOL that is the best!

thanks for the info, so cool! (thanks for sharing the ext)

rhagelstrom
February 19th, 2023, 21:46
Version Update: 1.1
Updated DB calls for how SW wants them with the incoming update
Added Luacheck for automated code analysis for errors/warning
Code Formatting

Xander StarFire
May 2nd, 2023, 01:58
Hi, sorry, i don't understand to use this extension on my campaign to ded 4 in fantasy ground. I'm sorry for my bad english

paladinlee
January 17th, 2024, 17:13
Checking to see if this extension is still available. I seem to get an error message when using it.

[1/17/2024 11:03:02 AM] CAMPAIGN: test High Variance
[1/17/2024 11:03:02 AM] RULESET: PFRPG
[1/17/2024 11:03:02 AM] NETWORK STATUS: [Server] [Connected]
[Server Type - CLOUD - PUBLIC]
[1/17/2024 11:03:09 AM] MEASURE: RULESETS LOAD - 7.1019063 - PFRPG
[1/17/2024 11:03:09 AM] MEASURE: EXTENSIONS LOAD - 0.0020026 - 1
[1/17/2024 11:03:17 AM] MEASURE: MODULE LIST BUILD - 7.2099691 - 127
[1/17/2024 11:03:17 AM] MEASURE: REFRESH IMAGE ASSETS - 0.0605435
[1/17/2024 11:03:17 AM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0246577
[1/17/2024 11:03:17 AM] MEASURE: REFRESH TOKEN ASSETS - 0.0705001
[1/17/2024 11:03:17 AM] MEASURE: ASSET LIST BUILD - 0.1557013
[1/17/2024 11:03:18 AM] MEASURE: LOAD - PART 1 - 15.3758556
[1/17/2024 11:03:19 AM] RULESET: Pathfinder (1E) ruleset (2023-12-12) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[1/17/2024 11:03:19 AM] RULESET: Dungeons and Dragons (3.5E) ruleset (2023-12-12) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[1/17/2024 11:03:19 AM] RULESET: Core RPG ruleset (2023-12-28) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[1/17/2024 11:03:19 AM] EXTENSION: High Variance v1.1\rby Ryan Hagelstrom 2021
[1/17/2024 11:03:20 AM] MEASURE: LOAD - PART 2 - 1.9886653
[1/17/2024 11:06:12 AM] MEASURE: MODULE LOAD - 3.0312556 - Pathfinder Core Rules
[1/17/2024 11:08:19 AM] Campaign saved. (0s)
[1/17/2024 11:08:34 AM] MEASURE: MODULE LOAD - 3.9018837 - Pathfinder Bestiary
[1/17/2024 11:09:40 AM] [ERROR] Script execution error: [string "HighVariance:..ager_actionsHighVariance.lua"]:193: attempt to index local 'die' (a number value)

rhagelstrom
January 20th, 2024, 21:32
Pushed a fix for this issue.