Maptool Dice Functions

Doc requests, organization, and submissions

Moderators: dorpond, trevor, Azhrei

Post Reply
User avatar
RPTroll
TheBard
Posts: 3159
Joined: Tue Mar 21, 2006 7:26 pm
Location: Austin, Tx
Contact:

Maptool Dice Functions

Post by RPTroll »

Here is the link for the maptool chat functions usable for dice.

http://rptools.net/doku.php?id=dicelib

Examples

d20 = roll a random number between 1 and 20
2d6 = roll a random number between 2 and 12
10d6d2 = roll 10 random numbers between 1 and 6, dropping the 2 lowest
5d6k3 = roll 5 random numbers between 1 and 6, keeping the highest 3
3d6r2 = roll 3 random numbers between 1 and 6, re-rolling anything lower han a 2 (rerolling 1s)
10d6s4 = roll 10 random numbers between 1 and 6. Count the number of results that meet or exceed 4
max(d8e,d6e) = roll a d8 and d6 exploaded and take the highest of the two

Note: Updated now that you don't need a number in front of the 'd'
Last edited by RPTroll on Wed Oct 17, 2007 11:38 am, edited 1 time in total.
ImageImage ImageImageImageImage
Support RPTools by shopping
Image
Image

User avatar
Jector
Great Wyrm
Posts: 1164
Joined: Sun Aug 27, 2006 9:19 pm
Location: Atlanta

Post by Jector »

Ehrrr. 2d6 is a random number between 2 and 12?
I cast firecube! ~4E

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Post by Phergus »

Well the result is the sum of two random numbers generated between 1 and 6. So the result is generated with random numbers but strictly speaking it isn't a random number between 2 & 12.

That would be 1d11+1 :)

User avatar
Jector
Great Wyrm
Posts: 1164
Joined: Sun Aug 27, 2006 9:19 pm
Location: Atlanta

Post by Jector »

Just checking. I figured as much but had to know for sure. That kind of difference would really muck game balance in a big hurry. :)
I cast firecube! ~4E

User avatar
Glanrus
Cave Troll
Posts: 50
Joined: Tue Oct 02, 2007 10:09 pm
Location: Atlanta, GA

Re: Maptool Dice Functions

Post by Glanrus »

RPTroll wrote:Here is the link for the maptool chat functions usable for dice.

http://rptools.net/doku.php?id=dicelib
Have these changed much since this posting?

Also I could find no direct link to this on the webpage instruction manual. Should it be there or should this only be accessable from here?

Glanrus

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

It should be fairly accurate.

Our whole website is pending a rewrite
Dreaming of a 1.3 release

User avatar
RPMiller
Demigod
Posts: 2555
Joined: Sun Jul 01, 2007 1:23 am

Post by RPMiller »

So if I offered to redo your site, how many rpc would that earn me? ;)
You're just jealous 'cause the voices only talk to me.

ImageImage

Cweord
Great Wyrm
Posts: 1343
Joined: Sun Aug 12, 2007 10:49 am
Location: Midsomer Norton, (Near Bath), UK
Contact:

Post by Cweord »

Trevor,

I think you have just gotten a large bunch of online slaves that will work for rpc . . . . . . :wink:
Cweord

This message has been spell checked by Freudcheck - any mistakes are purley a figment of your imagination.
-------
My Tokens Directory
http://gallery.rptools.net/v/contrib/Cw ... er_Tokens/

User avatar
RPMiller
Demigod
Posts: 2555
Joined: Sun Jul 01, 2007 1:23 am

Post by RPMiller »

I didn't say I would do it. I was just asking what it would be worth. ;)
You're just jealous 'cause the voices only talk to me.

ImageImage

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

RPMiller wrote:I didn't say I would do it. I was just asking what it would be worth. ;)
No idea off hand :)
Dreaming of a 1.3 release

User avatar
RPTroll
TheBard
Posts: 3159
Joined: Tue Mar 21, 2006 7:26 pm
Location: Austin, Tx
Contact:

Post by RPTroll »

I took the 0+ and 1 out now that the dice rolls no longer need to start with a number.

I'll dig through the forums and get the hero dice examples up there at some point.
ImageImage ImageImageImageImage
Support RPTools by shopping
Image
Image

User avatar
RPMiller
Demigod
Posts: 2555
Joined: Sun Jul 01, 2007 1:23 am

Post by RPMiller »

To help you with that here is where you'll find the explosion example:

http://forums.rptools.net/viewtopic.php ... c&start=15
You're just jealous 'cause the voices only talk to me.

ImageImage

Post Reply

Return to “Documentation Requests/Discussion”