RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Treasure of Tokuno 2.0 (spawn rate)?

shaggster

Sorceror
Treasure of Tokuno 2.0 (spawn rate)?

ive changed this line up and down... Am i over looking a second command line somewhere ??? I want tot's to spawn at a fairly easy rate ... So far changing this up and down no one has gotten any tot's ...



HTML:
pm.ToTTotalMonsterFame += (int)(bc.Fame * (1 + Math.Sqrt( pm.Luck ) / 100));

This is the stock line from script ...


TY in advance for any help on this .....
 
that line does not affect the chance for them - these do:

Code:
			//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 );

either change this const double A = 0.000863316841;
to more like this: const double A = 0.001;

or
this const double B = 0.00000425531915;
to this: const double B = 0.000005;

i would mess more with changing "A" around - be caoune be very very toucnh on it
just raise it up in spurts

but looking at that formula, these are meant to be very very very rare
 
Top