diff options
author | Haru <haru@dotalux.com> | 2019-05-05 18:09:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-05 18:09:32 +0200 |
commit | 78f9922a3e8276b920cbbdf9c273e03e22c6eb8d (patch) | |
tree | af2a9b0425228bd17a06e2c9fd36c7618b2bebe7 /doc/mob_db.txt | |
parent | d55b291c88cff726c5ac99b4d6f40efe416cf83e (diff) | |
parent | 781011398ba501a50e120d6ad8dc86d155c8ce9e (diff) | |
download | hercules-78f9922a3e8276b920cbbdf9c273e03e22c6eb8d.tar.gz hercules-78f9922a3e8276b920cbbdf9c273e03e22c6eb8d.tar.bz2 hercules-78f9922a3e8276b920cbbdf9c273e03e22c6eb8d.tar.xz hercules-78f9922a3e8276b920cbbdf9c273e03e22c6eb8d.zip |
Merge pull request #2309 from guilherme-gm/201810-randomopt-drop
Support for monster drops with Random Options
Diffstat (limited to 'doc/mob_db.txt')
-rw-r--r-- | doc/mob_db.txt | 68 |
1 files changed, 53 insertions, 15 deletions
diff --git a/doc/mob_db.txt b/doc/mob_db.txt index 29d2ab465..d62181048 100644 --- a/doc/mob_db.txt +++ b/doc/mob_db.txt @@ -63,10 +63,14 @@ mob_db: ( MvpExp: mvp experience (int, defaults to 0) MvpDrops: { AegisName: chance (string: int) + // or + AegisName: (chance, "Option Drop Group") // ... } Drops: { - AegisName: chance (string: int) + AegisName: chance (string: int) + // or + AegisName: (chance, "Option Drop Group") // ... } }, @@ -199,21 +203,55 @@ MvpExp: Base Experience given by the monster to the player who inflict more atta MvpDrops: Sets monster mvp drops list. Requires to have MvpExp to trigger. - Accepted values are AegisName as defined on item_db.conf and a chance. + There are two ways to define a drop: + 1) The first one is used for simple drops and uses the item AegisName + as defined on item_db.conf and a chance. + Format: + AegisName: chance Chance is an integer from 1 to 10000 (10000 = 100%). - Required format: - MvpDrops: { - AegisName: chance - // ... - } - When not specified, becomes false. + + 2) The second way to define a drop allows setting a random option drop + group to be used by this drop. + Format: + AegisName: (chance, "Option Drop Group") + + The item drop chance refers to the chance of dropping this item, same as chance in the first option. + the "Option Drop Group" parameter refers to an entry on option_drop_group database file. The specified + entry will be used when this item is dropped in order to add random options to the dropped equipment. + + A monster drop list may use both format for different items. + Required Format: + Drops: { + AegisName: chance + // or + AegisName: (chance, "Option Drop Group") + } + + When not specified, becomes false (no drops). Drops: Sets monster drops list. - Accepted values are AegisName as defined on item_db.conf and a chance. + There are two ways to define a drop: + 1) The first one is used for simple drops and uses the item AegisName + as defined on item_db.conf and a chance. + Format: + AegisName: chance Chance is an integer from 1 to 10000 (10000 = 100%). - Required format: - Drops: { - AegisName: chance - // ... - } - When not specified, becomes false. + + 2) The second way to define a drop allows setting a random option drop + group to be used by this drop. + Format: + AegisName: (chance, "Option Drop Group") + + The item drop chance refers to the chance of dropping this item, same as chance in the first option. + the "Option Drop Group" parameter refers to an entry on option_drop_group database file. The specified + entry will be used when this item is dropped in order to add random options to the dropped equipment. + + A monster drop list may use both format for different items. + Required Format: + Drops: { + AegisName: chance + // or + AegisName: (chance, "Option Drop Group") + } + + When not specified, becomes false (no drops). |