Question about propMoverEx.inc

06/09/2016 16:39 Burdenz2007#1
I got a question regarding propMoverEx.inc

What does the (6,6) represents?
Does anyone know's?


[Only registered and activated users can see links. Click Here To Register...]
06/09/2016 17:34 Capt. Jack#2
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.
06/10/2016 05:56 Burdenz2007#3
Quote:
Originally Posted by Capt. Jack View Post
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? :confused:

What if i put it like this:

DropKind(IK3_SWD, 15, 30); => Will that drop swords ranging from level 15 - 30?
06/10/2016 09:45 Nortix#4
You can put whatever you want, it won't change anything.