About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
doomfyre
Apprentice


Joined: 03 Jan 2002
Posts: 152
Location: USA

PostPosted: Mon Aug 12, 2002 4:45 pm   

Yet another roller
 
This is one of the easy ones i hope.

Full mud output:

Str: 10
Int: 13
Wis: 13
Dex: 13
Con: 12
Cha: 12
Lck: 11

You can let the mud assign your stats to the appropriate slots, or
you can customize which stats go to which slots.

Standard: Leaves stats as they are. Custom: Allows you to rearrange the slots.
Standard/Custom/Reroll:

End mud output.

All i need is for any three of the numbers to be 17+. I have the option of moving the numbers to any stat i want. I wrote something that will look for 17+ in str, dex, and lck, but the chance of that happening is pretty low. I suspect i'll have to scrap that entire "script", but here it is anyway:

#CLASS {RoWAuto}
#TRIGGER {^Str~: (%n)} {#var str %1}
#TRIGGER {^Int~: (%n)} {#var int %1}
#TRIGGER {^Wis~: (%n)} {#var wis %1}
#TRIGGER {^Dex~: (%n)} {#var dex %1}
#TRIGGER {^Con~: (%n)} {#var Con %1}
#TRIGGER {^Cha~: (%n)} {#var Cha %1}
#TRIGGER {^Lck~: (%n)} {#var Lck %1}
#TRIGGER {^Standard~/Custom~/Reroll~:} {#IF (((@str > 17) AND @dex > 17) AND @Lck > 17) {custom} {reroll}}
#CLASS 0

This works fine, but again, its really rare for 17+ to fall in precisely those spots. Its perfectly ok for a 17+ to be in int, wis and cha for instance, since i can move them where i want them. Thanks for any help
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Aug 12, 2002 5:54 pm   
 
#VAR roll 0 0
#CLASS {RoWAuto}
#TRIGGER {^Str~: (%d)} {#var str %1;#IF (%1 > 16) {#ADD roll 1}}
#TRIGGER {^Int~: (%d)} {#var int %1;#IF (%1 > 16) {#ADD roll 1}}
#TRIGGER {^Wis~: (%d)} {#var wis %1;#IF (%1 > 16) {#ADD roll 1}}
#TRIGGER {^Dex~: (%d)} {#var dex %1;#IF (%1 > 16) {#ADD roll 1}}
#TRIGGER {^Con~: (%d)} {#var Con %1;#IF (%1 > 16) {#ADD roll 1}}
#TRIGGER {^Cha~: (%d)} {#var Cha %1;#IF (%1 > 16) {#ADD roll 1}}
#TRIGGER {^Lck~: (%d)} {#var Lck %1;#IF (%1 > 16) {#ADD roll 1}}
#TRIGGER {^Standard~/Custom~/Reroll~:} {#IF (@roll > 2) {#VAR roll 0;custom} {#VAR roll 0;reroll}} {} {nocr|prompt}
#CLASS 0



LightBulb
Senior Member
Reply with quote
doomfyre
Apprentice


Joined: 03 Jan 2002
Posts: 152
Location: USA

PostPosted: Mon Aug 12, 2002 11:37 pm   
 
Works great, lightbulb. Thanks very much for your time.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net