Created
February 26, 2023 00:34
-
-
Save brubsby/2d9f2f5d76e65f300302a147f087159e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function: MOD saving throw dc DC { | |
result: d20+MOD < DC | |
} | |
function: ATTACK attack vs AC { | |
result: d20+ATTACK >= AC | |
} | |
function: true or half SUCCESS DAMAGE { | |
result: DAMAGE / (2 - SUCCESS) | |
} | |
function: true or none SUCCESS DAMAGE { | |
result: SUCCESSdDAMAGE | |
} | |
function: TRUE_EXPR if COND:n else FALSE_EXPR { | |
if COND > 0 { | |
result: TRUE_EXPR | |
} else { | |
result: FALSE_EXPR | |
} | |
} | |
TARGET_INT:8 | |
TARGET_WIS:6 | |
TARGET_DEX:-1 | |
TARGET_AC:17 | |
SPELL_SAVE:16 | |
SPELL_ATTACK:8 | |
CANTRIP_DICE:2 | |
METEOR_TARGETS:d{1:3,2:4,3:3,4:1} | |
INT_FAIL_CHANCE:[TARGET_INT saving throw dc SPELL_SAVE] | |
WIS_FAIL_CHANCE:[TARGET_WIS saving throw dc SPELL_SAVE] | |
DEX_FAIL_CHANCE:[TARGET_DEX saving throw dc SPELL_SAVE] | |
SLIVER_DEX_FAIL_CHANCE:[TARGET_DEX-1d4 saving throw dc SPELL_SAVE] | |
ATTACK_CHANCE:[SPELL_ATTACK attack vs TARGET_AC] | |
MAGIC_MISSILE: 3d4+3 | |
MIND_SLIVER: [true or none INT_FAIL_CHANCE CANTRIP_DICEd6] | |
FIRE_BOLT: [true or none ATTACK_CHANCE CANTRIP_DICEd10] | |
TOLL_DEAD_ONE: [true or none WIS_FAIL_CHANCE CANTRIP_DICEd8] | |
TOLL_DEAD_TWO: [true or none WIS_FAIL_CHANCE CANTRIP_DICEd12] | |
output FIRE_BOLT > TOLL_DEAD_TWO named "firebolt bolt vs toll the dead (d12)" | |
output MAGIC_MISSILE > TOLL_DEAD_TWO named "magic missile vs toll the dead (d12)" | |
output MAGIC_MISSILE > FIRE_BOLT named "magic missile vs fire bolt" | |
output MAGIC_MISSILE named "magic missile" | |
output FIRE_BOLT named "fire bolt" | |
output TOLL_DEAD_TWO named "toll the dead (d12)" | |
output TOLL_DEAD_ONE named "toll the dead (d8)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment