Can you make the editor do this? 1D(%VARIABLE)
The 1 is the number of dice, and the %VARIABLE IS the number of sides the dices have.
Then reason I need this is because I'm trying to do this.
IF %MINATT >= %MAXATT THEN
BEGIN
%MINATT := %MAXATT
END
IF %MAXATT > %MINATT THEN
BEGIN
%ATTACK := (%MAXATT + %MINATT)/2 + 1D(%MAXATT - %MINATT)
END
Where %MINATT is the minimum attack you can dish out, and %MAXATT is the maximum attack you can dish out, and where %ATTACK is (%MINATT + MAXATT)/2 + 1D(%MAXATT - %MINATT)