Open Side Menu Go to the Top
Register
Expression Stat Help Expression Stat Help

06-29-2024 , 01:20 PM
Having trouble making an expression stat on H2N4. What I would like to do is: (1 - Value(Stat A)) * Value(Stat B)

Example:
Stat A = 60%
Stat B = 50%
Result = (1 - .60) * .50 = 20%

Last edited by ten25; 06-29-2024 at 01:26 PM.
Expression Stat Help Quote
06-29-2024 , 03:05 PM
Hello,

Could you try making the expression this way:

(1 - (Value(Stat A) / 100)) * (Value(Stat B) / 100) * 100
Expression Stat Help Quote
06-29-2024 , 05:23 PM
Quote:
Originally Posted by Hand2note
Hello,

Could you try making the expression this way:

(1 - (Value(Stat A) / 100)) * (Value(Stat B) / 100) * 100
I managed to solve the problem already by doing:

((100 - Value(Stat A)) * Value(Stat B)) / 100
Expression Stat Help Quote

      
m