bonus bStr,readparam(bStr)*20/100;
bonus bAgi,readparam(bAgi)*20/100;
bonus bVit,readparam(bVit)*20/100;
bonus bInt,readparam(bInt)*20/100;
bonus bDex,readparam(bDex)*20/100;
bonus bLuk,readparam(bLuk)*20/100;
Convert the problem to an equation using the percentage formula: (Percent * NUM = M) / 100 = Answer
Percent is 20, NUM is readparam(bStr), so the equation is 20% * 100%(let's say your Str is 100) = M
So in the equation: 20 * 100 = (M becomes 2000) / 100 = Answer
Answer = 20
So 20% of 100 is 20
This one is easy if rAthena can use float but the sad thing is.. The script only accept integers.. Easiest way is readparam(bStr)*0.20 wherein 0.20 is float.