In TreasuresOfTokuno.cs
Around line 223 you will find:

C#:
//const double A = 8.63316841 * Math.Pow( 10, -4 );
const double A = 0.000863316841;
//const double B = 4.25531915 * Math.Pow( 10, -6 );
const double B = 0.00000425531915;

double chance = A * Math.Pow(10, B * x);

if (chance > Utility.RandomDouble())

You can ignore the formula,and just change the chance variable in the if statement for your desired chance,example with 1% chance for drop:
C#:
if (0.01 > Utility.RandomDouble()) //Chance is now 1%
 
In TreasuresOfTokuno.cs
Around line 223 you will find:

C#:
//const double A = 8.63316841 * Math.Pow( 10, -4 );
const double A = 0.000863316841;
//const double B = 4.25531915 * Math.Pow( 10, -6 );
const double B = 0.00000425531915;

double chance = A * Math.Pow(10, B * x);

if (chance > Utility.RandomDouble())

You can ignore the formula,and just change the chance variable in the if statement for your desired chance,example with 1% chance for drop:
C#:
if (0.01 > Utility.RandomDouble()) //Chance is now 1%
Ty very much =D
 

Active Shards

Donations

Total amount
$80.00
Goal
$1,000.00
Back