View Single Post
Old 06.02.2007, 11:21   #4
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Look for the gg random and make a new random. Per example:
Code:
			if( gg->Rand(2) == 0 )
			{
				myself->GiveItem1(talker,5416,1);
			}
			else
			{
				myself->GiveItem1(talker,5418,1);
			}
you can make it:
Code:
			if( gg->Rand(1) == 0 )
			{
				myself->GiveItem1(talker,5416,1);
			}
			else
			{
				myself->GiveItem1(talker,5418,1);
			}
that would give 50% chances to getting any of those items instead of 33%/66%

You'd have to look for that part of the code in the class for that npc in ai.obj
m4rk is offline