Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 06-25-2006, 01:10 PM   #1 (permalink)
Forum Novice
 
shaggster's Avatar
 
Join Date: Dec 2005
Age: 33
Posts: 105
Default 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 Code:
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 .....
shaggster is offline  
Old 06-25-2006, 06:55 PM   #2 (permalink)
Master of the Internet
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,201
Send a message via Yahoo to Lord_Greywolf
Default

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
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline  
Old 06-25-2006, 07:02 PM   #3 (permalink)
Forum Novice
 
shaggster's Avatar
 
Join Date: Dec 2005
Age: 33
Posts: 105
Default

ty for the help ill play with those codes ... ty agin the players on my shard will love it ..
shaggster is offline  
Old 06-28-2006, 04:58 AM   #4 (permalink)
Newbie
 
Join Date: Apr 2006
Posts: 37
Default

which file can i find these codes?thanks
tramper is offline  
Old 06-28-2006, 11:56 AM   #5 (permalink)
Master of the Internet
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,201
Send a message via Yahoo to Lord_Greywolf
Default

treasures of tukono is also the file name
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline  
Old 06-29-2006, 06:17 AM   #6 (permalink)
Newbie
 
Join Date: Apr 2006
Posts: 37
Default

thanks a lot
tramper is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5