Skip to content

Instantly share code, notes, and snippets.

View Xirema's full-sized avatar

Xirema Xirema

  • Naperville, IL, USA
View GitHub Profile
A few notes:
- Builds that contain Barbarian Levels show both with and without Advantage from Reckless Attack feature
- The Barb3/Monk2 Builds have 16 strength and therefore a Strength modifier of +3
The Barb5 and Monk5 Builds have a Strength (or Dexterity) of 18, and therefore have a modifier of +4
Quick stats:
- Barbarian 5: +7 to hit, 2d6+6 damage (Greatsword, +4 Strength, +2 Rage), 3 total attacks (2 from Extra Attack, 1 from Frenzy Bonus Action)
- No point using the quarterstaff, since a pure Barbarian Build doesn't care.
- Barbarian 3/Monk2: +6 to hit, 1d8+5 damage (Quarterstaff Versatile, +3 Strength, +2 Rage), 1 OR 2 attacks depending on Houserule
- +6 to hit, 1d4+5 damage (Unarmed Strike, +3 Strength, +2 Rage), 2 attacks (Flurry of Blows)
#include<map>
#include<vector>
#include<array>
#include<iostream>
#include<iomanip>
#include<algorithm>
using arr_t = std::array<int, 6>;
std::map<arr_t, int64_t> get_rolls() {
std::map<arr_t, int64_t> map;
#include<Probability/BasicRolls.h>
#include<vector>
#include<unordered_set>
#include<map>
#include<unordered_map>
#include<iostream>
#include<string>
#include<chrono>
#include<numeric>
@Xirema
Xirema / 10d10
Created December 27, 2018 15:11
==============================
=========TERSE STATS==========
==============================
Stats for Roll [10d10]
====
Total Possible Rolls: 1.0E10 (10000000000)
Mean: 55.000000
Median: +55
Mode: +55 (4.3245764E8)
80% Range: [+43,+67]
==============================
=========TERSE STATS==========
==============================
Stats for Roll [[Level 5 Heavy Crossbow vs AC0]x2]
====
Total Possible Rolls: 4000000.0 (4000000)
Mean: 20.500000
Median: +21
Mode: +21 (341320.0)
80% Range: [+13,+27]
==============================
=========TERSE STATS==========
==============================
Stats for Roll [[Improved Crossbow Expert vs AC0]x2]
====
Total Possible Rolls: 4000000.0 (4000000)
Mean: 31.900000
Median: +33
Mode: +33 (340320.0)
80% Range: [+24,+39]
==============================
=========TERSE STATS==========
==============================
Stats for Roll [[Eldritch Blast vs AC0]x2]
====
Total Possible Rolls: 4000000.0 (4000000)
Mean: 11.000000
Median: +11
Mode: +10 (342444.0)
80% Range: [+5,+17]
#Variant: Metamagic Options for Sorcerers
Homebrewery: https://homebrewery.naturalcrit.com/edit/rJ4LoxP_J4
This revision is implied to be identical to the normal Sorcerer class, except for the changes listed here. By intent, this revision only alters the class at level 3, 10, and 17, replacing all of the features gained at those levels. All other normal features of the Sorcerer class behave as per their PHB appearance.
Metamagics are no longer memorized. Instead, starting at level 3, a Sorcerer can prepare their Metamagic options of their choice at the end of a long rest, as though choosing spells. They may prepare a number of Metamagic options up to their Intelligence Modifier (minimum of 1).
The extra learned Metamagics at levels 10 and 17 are no longer gained.
==============================
=========TERSE STATS==========
==============================
Stats for Roll [Normal Hit at Level1 vs AC0]
====
Total Possible Rolls: 46080.0 (46080)
Mean: 10.850000
Median: +11
Mode: +12 (5240.0)
95% Range: [0,+19]
==============================
=========TERSE STATS==========
==============================
Stats for Roll [[Primal Champion Greataxe 2h vs AC16]x2]
====
Total Possible Rolls: 7.64411904E12 (7644119040000)
Mean: 38.452500
Median: +36
Mode: +35 (5.10859490904E11)
95% Range: [+25,+65]