Jump to content
  • 0
kitty14

CUSTOM MOB EXP

Question

hello i have custom mob here

 

3222,Aposis,Aposis,Aposis,255,80390,1,99999999,99999999,2,1399,1799,141,68,189,105,72,85,132,72,10,12,2,0,63,0x37B5,160,140,384,288,0,0,0,0,0,0,0,7097,3000,994,30,6223,10,2680,1,1920,50,2621,1,2364,20,0,0,0,0,4429,1
 
 i wanted to double the exp when they kill the mob, how ever no mater how many 999999999999 i will place on EXP, and JEXP section they got the same exp, but if I add MEXP they recve more EXP but theyl become MVP which i dont want,cuz i had use a script (below) that if they kill MVP's theyl rcved special item ., i just want them a normal mob for faster leveling  when player level reach 200 - max 255 my rate is 5000x/5000x/100000x renewal is there anyway to make them MVP but the script below will not take effect on them? thanks much, =)

-	script	MVP Badge	-1,{
OnNPCKillEvent:
	if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && rand(100) < 100 ) {
		if ( getcharid(1) ) {
			getpartymember getcharid(1), 1;
			getpartymember getcharid(1), 2;
			for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
				if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) { // what happens if someone in the party member is offline =/
					[email protected][[email protected]] = [email protected][[email protected]];
					[email protected]++;
				}
			}
			getitem 25009, 1, [email protected][ rand( [email protected] ) ];
		}
		else {
			getitem 25009, 1;
		}
	}
	end;
}

 

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

sandbox like this? 

-    script    MVP Badge    -1,{

OnNPCKillEvent:

    if(killedrid == 3222) getexp 999999999,999999999;

    end;

    if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && rand(100) < 100 ) {

        if ( getcharid(1) ) {

            getpartymember getcharid(1), 1;

            getpartymember getcharid(1), 2;

            for ( .@i = 0; .@i < [email protected]; .@i++ ) {

                if ( isloggedin( [email protected][.@i], [email protected][.@i] ) ) { // what happens if someone in the party member is offline =/

                    .@partymemberaid[.@c] = [email protected][.@i];

                    .@c++;

                }

            }

            getitem 25009, 1, .@partymemberaid[ rand( .@c ) ];

        }

        else {

            getitem 25009, 1;

        }

    }

    end;

}

im getting error

Kido, yup i did that. but it didnt double the exp. :((

 

remember to hit tabs

-<tab>script<tab>MVP Badge<tab>-1,{
OnNPCKillEvent:
    if(killedrid == 3222) getexp 999999999,999999999;
    end;
    if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && rand(100) < 100 ) {
        if ( getcharid(1) ) {
            getpartymember getcharid(1), 1;
            getpartymember getcharid(1), 2;
            for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
                if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) { // what happens if someone in the party member is offline =/
                    [email protected][[email protected]] = [email protected][[email protected]];
                    [email protected]++;
                }
            }
            getitem 25009, 1, [email protected][ rand( [email protected] ) ];
        }
        else {
            getitem 25009, 1;
        }
    }
    end;
}

i'm not getting error

Link to comment
Share on other sites

There's another workaround...

 

Combine the OnNPCKillEvent then use 'getexp' command...

 

Ex.

OnNPCKillEvent:
	if(killedrid == 3222) getexp 999999999,999999999;
	end;

Edited by sandbox
Link to comment
Share on other sites

sandbox like this? 

-    script    MVP Badge    -1,{
OnNPCKillEvent:
    if(killedrid == 3222) getexp 999999999,999999999;
    end;
    if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && rand(100) < 100 ) {
        if ( getcharid(1) ) {
            getpartymember getcharid(1), 1;
            getpartymember getcharid(1), 2;
            for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
                if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) { // what happens if someone in the party member is offline =/
                    [email protected][[email protected]] = [email protected][[email protected]];
                    [email protected]++;
                }
            }
            getitem 25009, 1, [email protected][ rand( [email protected] ) ];
        }
        else {
            getitem 25009, 1;
        }
    }
    end;
}

im getting error

Kido, yup i did that. but it didnt double the exp. :((

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.