Jump to content
  • 0

How to disable item drop in a map?


Pacman360

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   1
  • Joined:  04/25/14
  • Last Seen:  

I've been looking for a mapflag but I can't seem to find one.

How can I disable player's item drop in guild_vs5?

My emulator is eAthena.

 

Thanks in advance!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   1
  • Joined:  10/08/13
  • Last Seen:  

Theres a couple ways you could do it. You can do it in game using the command @mapflag or you can add it to the map flags folder inside the npc folder and load it like a npc.

//===== rAthena Script =======================================
//= Mapflag: Disable drops.
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 1.2
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: ========================================= 
//= Disables drops on all maps.
//===== Additional Comments: ================================= 
//= 1.0 Initial script.
//============================================================


//===== Maps =====================

guild_vs5	mapflag	nodrop

Just add this to the map flags folder then you need to add the file location to scripts_mapflags.conf like you would if you were adding npc's. This way you can add more maps to it in the future if you need to.

 

This link also gives you a list of all the map flags you can use:

 

http://rathena.org/wiki/Mapflag

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