Xantara Posted December 19, 2011 Posted December 19, 2011 File Name: [Mapflag] droprate File Submitter: Xantara File Submitted: 18 Dec 2011 File Category: Source Modifications Information This source modification allows certain maps that have the droprate mapflag attached to have a modified drop rate based on the state/flag given. It affects all mobs on that map, including MvP. However, items that are looted by mobs (eg. Poring) are not affected (they have to drop). The modified rate is applied after all the other rate modifiers (such as those in the conf/battle/exp.conf, monster size, etc.) This bypasses the min and max drops in the exp.conf file and the drop_rate0item configuration. Mapflags noloot, nomobloot, and nomvploot take precedence over the droprate mapflag. There is also a battle configuration that allows you to toggle the global droprate effect on and off. Great for event or special maps where you want the items to drop less or more frequently without having to duplicate the mob(s). Syntax <mapname> mapflag droprate{ <rate>} Configuration // Enable the droprate mapflag? (Note 1) droprate_mapflag: 1 Documentation The optional numeric parameter, rate, changes the drop rate of the mobs of the specified map. The number is in percent. Paramenter cannot be 0 (it will default to 100).Default is 100% (meaning that the drop rates are not affected). Example Snippet // Mobs that are killed in Prontera have their drop rate halved // ie. Poring normally drops Empty Bottle at 100% (@mi). If spawned in Prontera, the drop would become 50% prontera mapflag droprate 50 // Mobs that are killed in Geffen have a 2x (+200%) the drop rate // ie. Fabre normally drops Clover at 10% (@mi). If spawned in Geffen, the drop of Fluff would become 20% geffen mapflag droprate 200 Credits Created by Xantara This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Click here to download this file 1 Quote
Kichi Posted January 7, 2012 Posted January 7, 2012 its posible to reduce drop till 0? // Mobs that are killed in Geffen have a -100x (-100%) the drop rate // ie. Fabre normally drops Clover at 10% (@mi). If spawned in Geffen, the drop of Fluff would become 0% geffen mapflag droprate 0 Quote
Xantara Posted January 8, 2012 Author Posted January 8, 2012 No, you currently not able to set the drop to 0. This is because there are mapflags noloot, nomobloot, and nomvploot that can do this for you already =) Let me know if you have further questions~ I'll also update the patch file to be usable with the latest rAthena revision~ Quote
ngek202 Posted January 19, 2012 Posted January 19, 2012 wow was looking for the file on eAthena.ws and it was already here nice Quote
Hirasu Posted February 14, 2012 Posted February 14, 2012 can you say me please how to istall the patch file? I like to patch this to my server. Thanks you! Quote
Xantara Posted February 15, 2012 Author Posted February 15, 2012 Hi Hirasu, Thanks for your interest in my modification =) Here is a Wiki link regarding how to apply the patch file (either using TortoiseSVN or Manually): http://rathena.org/wiki/Diff Regards, ~ Xantara Quote
Hirasu Posted February 15, 2012 Posted February 15, 2012 @Xantara Thank you ! I like this mapflag is very useful!! 1 Quote
Emistry Posted February 25, 2012 Posted February 25, 2012 Is it possible to make mapflag exprate? think both of these can help you //mf_jexp 39 mapname mapflag jexp //mf_bexp 40 mapname mapflag bexp Quote
Wynn Posted February 26, 2012 Posted February 26, 2012 Is it possible to make mapflag exprate? think both of these can help you //mf_jexp 39 mapname mapflag jexp //mf_bexp 40 mapname mapflag bexp Thanks, I'll test it today~ Quote
nelsontyh Posted March 11, 2012 Posted March 11, 2012 Will the reduced drop rate be shown in the @mi and @rates? Or will it just show as normal as set in battle configuration while it is affected by this mapflag? Quote
Xantara Posted March 11, 2012 Author Posted March 11, 2012 Currently, the reduced drop rate won't show in @mi and @rates; it will show as normal. However, an edit to @mi (or a new atcommand) is possible for it to show the reduce drop rate for that map. Quote
Legato Posted July 19, 2012 Posted July 19, 2012 I agree. Edit / solution for those @commands should be posted here as well. Great work, btw! Quote
Thanna20 Posted March 25, 2019 Posted March 25, 2019 On 12/19/2011 at 12:04 PM, Xantara said: File Name: [Mapflag] droprate File Submitter: Xantara File Submitted: 18 Dec 2011 File Category: Source Modifications Information This source modification allows certain maps that have the droprate mapflag attached to have a modified drop rate based on the state/flag given. It affects all mobs on that map, including MvP. However, items that are looted by mobs (eg. Poring) are not affected (they have to drop). The modified rate is applied after all the other rate modifiers (such as those in the conf/battle/exp.conf, monster size, etc.) This bypasses the min and max drops in the exp.conf file and the drop_rate0item configuration. Mapflags noloot, nomobloot, and nomvploot take precedence over the droprate mapflag. There is also a battle configuration that allows you to toggle the global droprate effect on and off. Great for event or special maps where you want the items to drop less or more frequently without having to duplicate the mob(s). Syntax Configuration Documentation Example Snippet // Mobs that are killed in Prontera have their drop rate halved // ie. Poring normally drops Empty Bottle at 100% (@mi). If spawned in Prontera, the drop would become 50% prontera mapflag droprate 50 // Mobs that are killed in Geffen have a 2x (+200%) the drop rate // ie. Fabre normally drops Clover at 10% (@mi). If spawned in Geffen, the drop of Fluff would become 20% geffen mapflag droprate 200 Credits Created by Xantara This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Click here to download this file Hello there. Can you update this source edit please. Thank you. Quote
vulcan1991 Posted April 7, 2019 Posted April 7, 2019 @Xantara hi there, does this script works in 2019? Quote
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.