Template:ThievingTarget: Difference between revisions

m
lootTable -> lootList in line with {{Module:Skills}} changes
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}}|lootTable}}}}
{{#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/>}}}}