Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NumberAbilityDice:=1; \ Change to alter the number of ability dice
- NumberProficiencyDice:=0; \ Change to alter the number of proficiency dice
- Target := 5; \Change to set the difficulty of the target number
- x := NumberAbilityDice d8;
- abilitysuccess:= count Target <= x;
- abilitycrit:= count (x keep 8); \Doubles the dice that roll 8s
- abilityfail:= count 1=x; \Subtracts dice that roll 1s
- abilityroll := abilitysuccess+abilitycrit-abilityfail;
- y := NumberProficiencyDice d12;
- proficiencysuccess:= count Target <= y;
- proficiencycrit:= count (y keep 12); \Doubles the dice that roll 12s
- proficiencyfail:= count 1=y; \Subtracts dice that roll 1
- proficiencyroll := proficiencysuccess+proficiencycrit-proficiencyfail;
- Skillcheck := abilityroll + proficiencyroll;
- Skillcheck
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement