Non-threaded

Forums » Feature Wishing Well » Read Thread

Suggestions for improvements and additions to the site.
This feature was rejected 6/20/2014: A bit too complex for now, and not widely requestd

decimals?

11 years ago

Can you make the script editor accept decimals? 

This would've worked if it accepted decimals

 

%ATT :=  %MINATT + (%MAXATT-%MINATT) * (1D100/100) 

It will never work because 1D100 divided by 100 will always get rounded to the nearest whole number, which is 1 or 0. 

Or this,

Can you make the script editor accept using random variables as dices or dices' sides?

Such as this

Change 1D100 to

%RANDOM 'D' %RANDOM2

If that was possible, I could've done this.

%ATT := %MINATT + (1D%MAXATT - %MINATT)

Where %ATT is how much damage you do to your opponent, %MINATT is the minimum amount of damage you will do, and %MAXATT is the maximum amount of damage you can do. 

 

By the way, I tried the first one I posted only after I tried the second one.