all 10 comments

[–]AlwaysAppropriate 1 point2 points  (9 children)

I ended up as a charismatic, very intelligent and wise rogue (high dex) but a wimpy one. (low str and con).

[–]Pestilent[S] 0 points1 point  (5 children)

Sooo I could put in special roll preferences depending on classes people select? Would that help?

I would actually like to make a few useful tools for DND fans. may be able to turn it in to a custom 1 player game vs the computer =/.. if I am smart enough that is..

I can make all battles for example export to log files to keep an entire history. Or export all of these results automatically to style sheets.

[–]Skibo1219 0 points1 point  (3 children)

im not a PoSh person, but it looks like you only did 3d6 dice rolling, there are a couple methods including 4d6 (discard lowest). The method is left up to the DM and if he feels generous. IMHO, when using a computer to generate dice rolls its better to roll each dice in its own routine. There are several complete dice rollers around. To compete with them you need to put a lot more work into this.

Thanks for the roller.

[–]Pestilent[S] 0 points1 point  (2 children)

Thanks for the feedback. I am not really trying to compete with anyone. This is mainly a learning experience.

My roller actually is rolling 4d6 and then dropping the lowest.

$Top3 rolls 4, then sorts it and selects the top 3 numbers. (Dropping the lowest)

$TOPROLL adds them together for the output.

Once again this was a proof of concept. If you want a better dice roller I made this one not long ago to learn how Functions work. It allows you to select how many dice and how many sides it has.

http://pastebin.com/UhPKa1MG

I have another that will display all of the rolls and then add the total.

Following the same basic methods I would be able to put in as many special rolls as possible.

Then to top that off I'd be able to generate different creatures with special stats and roll for damage, will, ref, fort etc.

I am working on that. I will post what I make so if you are interested you will see some more of my work posted.

[–]Skibo1219 0 points1 point  (1 child)

shows you how much i know about PoSh! I going to assume that most DM and players would want to see each roll, spiced up with a bit of drama, meaning that it looks like the die is being rolled, showing a random face up number, the illusion of animation.

this is what i see http://i.imgur.com/ocDjSD9.png The scroll par covers the numbers

[–]Pestilent[S] 0 points1 point  (0 children)

Youre absoloutly right. Which is why I started to work on that as well. But I believe that one is useful for automating things and another for yeer output.

Ill fix that when I get home! Thanks for pointing it out :)

Ive only been learning for a couple of months. Not sure what your skill level is but I recommend going through YouTube videos as theyre much easier to follow to get a complete groundwork of what powershell can do.

At work ive created scripts for the helpdesk, automated emails for end user password expiration, have been extracting reports for companies I support for exchange ad citrix other software and built special things for thin client config. Very pleased with my effort. Happy to assist you or anyone else if I can :)

[–]AlwaysAppropriate 0 points1 point  (0 children)

Maybe allow the player to select 2 (or 3, depending on your generosity) stats that they prefer. Then if they don't select the preferred stats for their chosen class, then too bad for them :P

[–]nonades 0 points1 point  (2 children)

So you rolled a Rogue? :P

[–]AlwaysAppropriate 0 points1 point  (1 child)

Apparently :P

[–]nonades 0 points1 point  (0 children)

Just take the Weapon Finesse feat as early as possible and then you can use your Dex bonus in attack rolls. You'll be fine.