Jump to content
  • 0

Monsters shouldn't drop items when killed by Homunculus


Hayato

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  66
  • Reputation:   10
  • Joined:  11/15/17
  • Last Seen:  

Hi is it in any way possible to disable loot when a homunculus kills something?

Im running this script on my server:

-    script    Poring_Coin    -1,{
OnNPCKillEvent:

if ( rand( 100 ) <= 10 ) {

.@item_id = F_Rand( 7539 );

getitem .@item_id,1;

}

end;

}

which makes every monster drop Poring Coins at 10%

 

sadly it drops for my afk homunculus too and lands directly in my inventory. is there  a way to prevent this?

edit: or a way to set this item on @alootid? alootid doesnt work with homunculus. i mean this script makes you loot the coin even without autoloot on...

Edited by rye305
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   72
  • Joined:  10/20/12
  • Last Seen:  

You could use `checkidle` to check if a player is afk-farming.

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...