Quote:
Originally Posted by Capt. Jack
Hmm..
it looks like they are completely useless:
Code:
if( script.Token == "DropKind" )
{
DROPKIND dropKind;
script.GetToken(); // (
dropKind.dwIK3 = script.GetNumber(); // dwIK3
script.GetToken(); // ,
int a = script.GetNumber();
script.GetToken(); // ,
int b = script.GetNumber();
dropKind.nMinUniq = (short)( pProp->dwLevel - 5 ); // 자기레벨보다 2~5레벨 낮은 템이 드랍되도록.
dropKind.nMaxUniq = (short)( pProp->dwLevel - 2 );
if( dropKind.nMinUniq < 1 )
dropKind.nMinUniq = 1;
if( dropKind.nMaxUniq < 1 )
dropKind.nMaxUniq = 1;
script.GetToken(); // )
#ifdef __WORLDSERVER
pProp->m_DropKindGenerator.AddTail( dropKind ); // copy
#endif
}
The variables a and b are not used.
|
What do you mean by that?
What if i put it like this:
DropKind(IK3_SWD, 15, 30); => Will that drop swords ranging from level 15 - 30?