Jump to content
  • 0
ryukazuna

Making Global Drop not Affected to MVP Slave's.

Question

Hello rAthena.

I want to ask something about global drop system. Currently im using the fuction OnNPCKillEvent. It makes player get some item with fixed percentage that i set. 

But, the downside are many player currently abusing that from MVP Slave summon like Dracula mobs that spawn Familiar as a Slave.

Is it possible to make the global drop system unaffected to MVP Slave? so if player kill MVP slave will not get any item from global drop. Also, i dont want these global drop only from MVP kill.

 

This is current script of global drops im using :

-	script	Global_ShadowBox#0	-1,{
OnNPCKillEvent:

setarray .items,9900001;
    set .theitem, getarraysize(.items);
    set .dasitem, @items[@theitem];
    if (rand(1,1000) <= 15) {
        getitem .items[rand(.theitem-1)],1;
    }
    end;

}

 

Thanks!!

Edited by ryukazuna
typo
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.