Template:MonsterDrops: Difference between revisions

From Melvor Idle
(Update to use automatic generation)
(Decided to make section break separate)
Line 3: Line 3:
For example, {{T|MonsterDrops|Black Knight}} becomes {{MonsterDrops|Black Knight}}
For example, {{T|MonsterDrops|Black Knight}} becomes {{MonsterDrops|Black Knight}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>
== Drops ==
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Monsters|getMonsterDrops|{{#var:name}}}}
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Monsters|getMonsterDrops|{{#var:name}}}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Revision as of 19:36, 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 Always Drops:

Item Qty
Bones 1

Loot:

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

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

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