Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT. The time now is 19:31.