Template:MonsterDrops: Difference between revisions

From Melvor Idle
(Decided to make section break separate)
m (Removed data reference)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This template is for the Drops section for monsters. Content is pulled from [[Module:Monsters/data]] and filtered through [[Module:Monsters]].
This template is for the Drops section for monsters. Content is pulled through [[Module:Monsters]].


For example, {{T|MonsterDrops|Black Knight}} becomes {{MonsterDrops|Black Knight}}
For example, {{T|MonsterDrops|Black Knight}} becomes {{MonsterDrops|Black Knight}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Monsters|getMonsterDrops|{{#var:name}}}}
{{#invoke:Monsters|getMonsterDrops|{{{1|{{PAGENAME}}}}}}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Latest revision as of 21:59, 29 October 2022

This template is for the Drops section for monsters. Content is pulled 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 - 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.