Log In
Username:
Password:
Guest account has been disabled.
Remember me
New Account?
[
scriptforum
] [
jump to comments
]
Title:
super TT++ stat roller
Date:
22/03/2009
Client:
TT++
User:
Anonymous
Copy to Clipboard
#nop ################################################### #nop ~~~~~~ GOOFIES ABANDONED REALMS STAT ROLLER ~~~~~~ #nop ################################################### #nop just '#read roll_stats.tt' at abandoned realms sign in #nop and set '#variable mgoal XX" where XX = how many #nop trains you will need to acheive your max stats. #nop ################################################### #nop EXAMPLE: #read roll_stats; #var mgoal 6 #nop this would achieve max stats after 6 training pts. #nop (in my opinion this 'perfect roll' is impossible) #nop ################################################### #nop EXAMPLE: #read roll_stats.tt; #var mgoal 7 #nop this would give you 1 stat point left to train after #nop you use your initial default 3x2(6) pts. #nop NOTE: the default mgoal is 10 #nop ##### STAT ROLL SCRIPT ########### #nop tn$stat for 'total needed' stat #nop m$stat for 'max' stat #nop r$stat for 'rolled' stat #nop $tntotal 'total needed' = current trains needed to max #nop mgoal for 'my goal' = desired trains needed to max? #nop 6 is the impossible 'perfect roll' #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #nop catches you max stats to show you later with 'showmax' #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #act {Max Str: %1 Int: %2 Wis: %3 Dex: %4 Con: %5} { #var {mstr} {%1}; #var {mint} {%2}; #var {mwis} {%3}; #var {mdex} {%4}; #var {mcon} {%5} } {5} #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #nop shows your max stats juxtaposed with a favourable roll #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #alias {showmax} { #showme Max Str: $mstr Int: $mint Wis: $mwis Dex: $mdex Con: $mcon} #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #nop catch rolled and subtract from max = find needed stats #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #act {[%1] Str: %2 Int: %3 Wis: %4 Dex: %5 Con: %6 Keep? (Y/N)} { #var {rstr} {%2}; #var {rint} {%3}; #var {rwis} {%4}; #var {rdex} {%5}; #var {rcon} {%6}; equate_stats } {5} #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #nop compare roll with goal and pause and show if favorable #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #alias {equate_stats} { #math {tnstr} {$mstr - $rstr}; #math {tnint} {$mint - $rint}; #math {tnwis} {$mwis - $rwis}; #math {tndex} {$mdex - $rdex}; #math {tncon} {$mcon - $rcon}; #math {tntotal} {$tnstr + $tnint + $tnwis + $tndex + $tncon}; check_stats } #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #nop how many trains you will need to acheive you max stats #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #var {mgoal} {10} #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #nop if you reach your goal compare with max and coose y/n? #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #alias {check_stats} { #if {$mtotal < $mgoal} { #showme Is this to your liking?;showmax} {n} } #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V #nop THE END #nop V~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~V
Replies:
[
scriptforum
] [
back to top
]
Post a reply:
Title:
Anonymous:
Reply: