Template:ThievingTarget: Difference between revisions
From Melvor Idle
(Invoke getTheivingNPCStat from Module:Skills instead) |
(Correct experience value) |
||
Line 18: | Line 18: | ||
| '''Requirements:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|level}} | | '''Requirements:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|level}} | ||
|- | |- | ||
| '''Perception:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|perception}} | | '''Perception:''' {{formatnum:{{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|perception}}}} | ||
|- | |- | ||
| '''Max Hit:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|maxHit}} | | '''Max Hit:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|maxHit}} | ||
|- | |- | ||
| '''Experience:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}| | | '''Experience:''' {{#invoke:Skills|getThievingNPCStat|{{#var:npc}}|baseExperience}} XP | ||
|}</includeonly></onlyinclude> | |}</includeonly></onlyinclude> |
Revision as of 17:18, 26 October 2022
Usage: {{ThievingTarget|<NPC_Name>}}
. If the name parameter is omitted, the page name is used instead.
For example, {{ThievingTarget|Chef}}
returns:
Chef |
---|
Error creating thumbnail: File missing
|
Area: Banquet |
Requirements: Error creating thumbnail: File missing Level 34
|
Perception: 350 |
Max Hit: 108 |
Experience: 31 XP |