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 GP 10 - 50.

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

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