Jump to content
Aveyond Studios Community

Diceroll HeroActions based upon RogueSharp and using Dice Notation

Recommended Posts


I converted over RogueSharp to Unity C# some time ago.  It is under an open MIT License on Github.  Here is the link:- https://bitbucket.org/FaronBracy/roguesharp

Here are some links on Dice Notation:-



To be fair RogueSharp does a whole lot more than Dice Notation and parsing of strings to get integer results of 'diceroll strings' but...

I've created 5 HeroActions:-

- Get Integer (from Diceroll);     // calcs an integer result based on a string Diceroll ie. "3D8-4"  //

- Get Float (from Diceroll);     // calcs a float result based on a string Diceroll ie. "2D6-1" //

- Get Integer Minimum (from Diceroll);     // calcs an integer based on the lowest of X dicerolls ie. the highest result of "3D12+9" having been rolled X times //

- Get Integer Maximum (from Diceroll);     // calcs an integer based on the highest of X dicerolls ie. the lowest outcome of "2D10+2" having rolled that string X times //

- Get Integer Average (from Diceroll);     // calcs an integer based on the average of X dicerolls //

Attached is a Unity Package for it (including my conversion of RogueSharp).  There's probably far more that can be used in RogueSharp...

HeroActions - DiceRoll Actions - Based On RogueSharp - v1.0.unitypackage

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...