Jump to content

[Mapflag] droprate 1.0


About This File

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

88x31.png

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.


What's New in Version 1.0

Released

  • 1.0 Initial release.

×
×
  • Create New...