Jump to content
  • 0

Question

Posted (edited)

Hello I would like to ask how to make the item be on the players inventory ? Cause even with @autoloot, the item drops on the floor. Thanks !

here is the script:

 

- script gog -1,{

 
OnNPCKillEvent:
if(strcharinfo(3) == "thana_boss") {
 
getmapxy(.@gold$,.@gx,.@gy,0);
set .@Gold_Chance,rand(1,10); //Configure for chance
 
if(.@Gold_Chance == 3) //10% chance. Change to '< 2' for 20%, etc..
makeitem 12244,1,.@gold$,.@gx,.@gy;
}
end;


bump

Edited by Chromebore

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...