Advertisement
Draco18s

T-Roll PF2 DPS #2

Sep 11th, 2018
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. function rolllightpick(n) =
  2. roll := 1d20;
  3. bonus := 12+n;
  4. targetac := 20;
  5.  
  6. if (roll+bonus)>=(targetac+10) then sum 5d8+10 else if roll>=20 then sum 5d8+10 else if (roll+bonus)>=targetac then sum 2d4+5 else 0
  7.  
  8. function rollhatchet(n) =
  9. roll := 1d20;
  10. bonus := 12+n;
  11. targetac := 20;
  12.  
  13. if (roll+bonus)>=(targetac+10) then sum 4d6+10 else if roll>=20 then sum 4d6+10 else if (roll+bonus)>=targetac then sum 2d6+5 else 0
  14.  
  15. function rollgreatsword(n) =
  16. roll := 1d20;
  17. bonus := 12+n;
  18. targetac := 20;
  19.  
  20. if (roll+bonus)>=(targetac+10) then sum 4d12+10 else if roll>=20 then sum 4d12+10 else if (roll+bonus)>=targetac then sum 2d12+5 else 0
  21.  
  22. function rollrapier(n) =
  23. roll := 1d20;
  24. bonus := 12+n;
  25. targetac := 20;
  26.  
  27. if (roll+bonus)>=(targetac+10) then sum 4d6+1d8+10 else if roll>=20 then sum 4d6+1d8+10 else if (roll+bonus)>=targetac then sum 2d6+5 else 0
  28.  
  29. function rolllongsword(n) =
  30. roll := 1d20;
  31. bonus := 12+n;
  32. targetac := 20;
  33.  
  34. if (roll+bonus)>=(targetac+10) then sum 4d8+10 else if roll>=20 then sum 4d8+10 else if (roll+bonus)>=targetac then sum 2d8+5 else 0
  35.  
  36. call rollrapier(0) + call rolllightpick(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement