Template:MonsterDrops: Difference between revisions

From Melvor Idle
(Created Drops template for monsters)
 
(Update to use automatic generation)
Line 1: Line 1:
This template is for the Drops section for monsters.
This template is for the Drops section for monsters. Content is pulled from [[Module:Monsters/data]] and filtered through [[Module:Monsters]].


Content is automatically generated by a bot and thus any modifications could be lost whenever the game is updated.
For example, {{T|MonsterDrops|Black Knight}} becomes {{MonsterDrops|Black Knight}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>
== Drops ==
== Drops ==
<noinclude>
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Monsters|getMonsterDrops|{{#var:name}}}}
Requires {{{name}}}LootTable template for each monster.
</noinclude>
 
{{{drops}}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Revision as of 19:34, 24 September 2020

This template is for the Drops section for monsters. Content is pulled from Module:Monsters/data and filtered through Module:Monsters.

For example, {{MonsterDrops|Black Knight}} becomes

Drops

Always Drops:

Item Qty
Bones 1

Loot:

In addition to loot, the monster will also drop 10 - 50GP.

Item Qty Price Chance
Black Boots 1 18GP 5/204 2.45%
Black Dagger 1 10GP 1/68 1.47%
Black Helmet 1 18GP 1/68 1.47%
Black 2H Sword 1 25GP 1/102 0.98%
Black Battleaxe 1 25GP 1/102 0.98%
Black Shield 1 48GP 1/102 0.98%
Black Sword 1 10GP 1/102 0.98%
Black Scimitar 1 10GP 1/255 0.39%
Black Platelegs 1 25GP 1/408 0.25%
Black Platebody 1 48GP 1/2,040 0.049%
Total: 1/10 10.00%

The loot dropped by the average kill is worth 2.04GP if sold.
Including GP and bones, the average kill is worth 37.04GP.