Template:ThievingTarget: Difference between revisions
From Melvor Idle
m (Resolve example error) |
m (lootTable -> lootList in line with {{Module:Skills}} changes) |
||
Line 9: | Line 9: | ||
{{#ifeq:{{#var:npc}}|Golbin (thieving)|{{#vardefine:npc|Golbin}}}} | {{#ifeq:{{#var:npc}}|Golbin (thieving)|{{#vardefine:npc|Golbin}}}} | ||
{{#vardefine:itemDrops|{{#invoke:Skills|getThievingNPCStat|{{#var:npc}}| | {{#vardefine:itemDrops|{{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|lootList}}}} | ||
{{#vardefine:itemDropsText|{{#ifeq:{{#var:itemDrops}}|||Normal Drops:<br/>{{#var:itemDrops}}<br/>}}}} | {{#vardefine:itemDropsText|{{#ifeq:{{#var:itemDrops}}|||Normal Drops:<br/>{{#var:itemDrops}}<br/>}}}} | ||
Revision as of 12:29, 15 May 2021
Usage: {{ThievingTarget|name=<NPC_Name>}}
. If the name parameter is omitted, the page name is used instead.
For example, {{ThievingTarget|name=Chef}}
returns:
Chef |
---|
Error creating thumbnail: File missing
|
Requirement: |
Max Hit: 108 |
Experience: XP |
Drops:
Rare Drops:
|