|
hellokitty Newbie
Joined: 25 Jun 2010 Posts: 8
|
Posted: Fri Jun 25, 2010 9:13 am
WTB Zmud Stat Roller for 7.21, please help. |
been lurking around the forum for a stat roller, some looks very promising but when I try to adapt that to my game it fails to work.
Seemingly there seems to be two circumstance which is 1.) Trigger checks for desired stat (eg. STR 15-17 etc) 2.) Sum up the total of stats.
Here is the line:
##start
Str: 14 Int: 13 Wis: 12 Dex: 13 Con: 12
Type 'keep' to keep stats, or hit enter to reroll!
Str: 9 Int: 11 Wis: 16 Dex: 10 Con: 15
Type 'keep' to keep stats, or hit enter to reroll!
Str: 12 Int: 13 Wis: 14 Dex: 12 Con: 15
Type 'keep' to keep stats, or hit enter to reroll!
##end
Hope that helps with coming up with an autoroller, thank you in advance guys. |
|
|
|
hellokitty Newbie
Joined: 25 Jun 2010 Posts: 8
|
Posted: Fri Jun 25, 2010 11:24 am |
My apologies for double post, but I have it figured out now after searching along with my dumb non-programming brain of mine.
Behold.
Pattern:
Str: %1 Int: %2 Wis: %3 Dex: %4 Con: %5
Command:
#reset roller
#add str %1
#add int %2
#add wis %3
#add dex %4
#add con %5
#add rolls 1
#MATH total %1+%2+%3+%4+%5
#show %ansi( high, blue)Total:%ansi( high, red)@total
#if @total>83 {keep} {#cr}
Description:
What this will do is roll for summation of your total stats, and chooses to "keep" it if it is 83 or higher.
you'll notice that this is quite similiar to the other post, the only difference is the #MATH function line.
My apologies for messing up the board, but I figured this would benefit 100% non-programming brains in the future.
GG GL HF
- - -
credits to nlm9802 for the structure. |
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Sat Jun 26, 2010 1:57 am |
Actually, that should be different than it is.
Here is mine, you can mod the pattern to fit yours:
Code: |
#TRIGGER {New stats: Str (%d)/(%d), Int (%d), Wis (%d), Dex (%d), Con (%d), Cha (%d)} {#IF (%1 > 14 & %3 > 18 & %4 > 18 & %5 > 15 & %6 > 13) {n;save;#ECHO done rerolling!!} {buy reroll}} |
Just copy and paste that to your zMUD command line and edit as needed. :) |
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
myddrun Wanderer
Joined: 31 Mar 2005 Posts: 58
|
Posted: Fri Jul 02, 2010 11:36 am |
Here's another version you could try to modify. This was for Realms of the Dragon before they moved to a point allocation method but the principle will be the same. With the RoD you only needed 3 max stats for each character class but you could add more if required.
This actual code was taken from a web site by an player called Epicar which can be found here http://www.angelfire.com/art/epicar/zmud_rearrange.htm. It's for an older version of zmud but the code is so simple it will work.
Trigger: Str : (%d)
Commands:
stat1=%1
#if (@stat1 > 19) {#CO yellow}
Class: roll
Trigger: Int : (%d)
Commands:
stat2=%1
#if (@stat2 > 18) {#CO yellow}
Class: roll
Trigger: Con : (%d)
Commands:
stat3=%1
#if (@stat3 > 16) {#CO yellow}
Class: roll
<Optional, doesn't do anything but highlight>
Trigger: <fourth stat> : (%d)
Commands:
#if (%1 > 14) {#CO yellow}
Class: roll
Trigger: ^Type 'keep' to keep stats, or hit enter to reroll!
Commands:
#if (@stat1 < 20 or @stat2 < 19 or @stat3 < 17) {#CR
#ECHO Rerolling... @stat1, @stat2, @stat3} {#ECHO How about this roll? @stat1 @stat2 @stat3}
Class: roll |
|
|
|
Nemath Newbie
Joined: 13 Jul 2010 Posts: 4
|
Posted: Tue Jul 13, 2010 9:42 pm |
Hi everyone
I have been trying to figure out how to make an autoroller for the mud im playing, although after many tries I have still not figured it out even with the help of the forums.
This is a copy/paste for the stat roller for my mud.
Choose from any of the following groups of abilities...
Code: |
Group: 1 2 3 4 5
Str: 12 11 13 11 14
Dex: 12 12 13 12 11
Con: 16 11 11 15 9
Int: 11 14 13 16 13
Wis: 9 12 13 11 14
Choose a group <1-5>, or press return to reroll(Help <attribute> for more information) --> |
Would love if someone could help me out because me and programming is not best friends so to say :)
If it makes it easier for you to try the autoroller the mud im playing is DarkCastle(dcastle.org 6666)
Thanx in advance
/Nemath
EDIT (MattLofton): added code tags to preserve spacing |
|
|
|
|
|