Difference between revisions of "Template:Enchantments"
Jump to navigation
Jump to search
m |
(Remove Soul Wisdom) |
||
(40 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
List of useful [[Enchanting#List of Enchantments|Enchantments]]. | List of useful [[Enchanting#List of Enchantments|Enchantments]]. | ||
− | + | <noinclude><!--Javascript to generate partially | |
− | + | Object.values(window.Idlescape.data.items).filter(a => a.class == "enchanted-scroll" && a.name != "Scroll" && a.requiredResources[0]).map( | |
− | + | b => "<tr>\n" | |
− | + | + " <td>{{img|" + b.name + "|40|word=1}}</td>\n" | |
− | + | + " <td>" + b.categories.map(c => c.charAt(0).toUpperCase() + c.slice(1)).join(", ").replaceAll("set", " Set") + "</td>\n" | |
− | + | + " <td style=\"text-align:center;\">" + b.level + "</td>\n" | |
− | + | + " <td style=\"text-align:center;\">" + b.requiredResources[0][111] + "</td>\n" | |
− | + | + " <td style=\"text-align:center;\">" + (b.requiredResources[0][510] ? b.requiredResources[0][510] : | |
− | + | (b.requiredResources[0][511] ? b.requiredResources[0][511] : | |
− | + | (b.requiredResources[0][512] ? b.requiredResources[0][512] : | |
− | + | (b.requiredResources[0][513] ? b.requiredResources[0][513] : | |
− | + | (b.requiredResources[0][514] ? b.requiredResources[0][514] : | |
− | + | (b.requiredResources[0][515] ? b.requiredResources[0][515] : | |
− | + | (b.requiredResources[0][516] ? b.requiredResources[0][516] : | |
− | + | (b.requiredResources[0][517] ? b.requiredResources[0][517] : | |
+ | (b.requiredResources[0][518] ? b.requiredResources[0][518] : | ||
+ | (b.requiredResources[0][519] ? b.requiredResources[0][519] : ""))))))))))+ "</td>\n" | ||
+ | + " <td>" + Object.values(_.map(b.requiredResources[0], (c, d) => d)).filter(e => e >=510 && e <= 519).map((f) => Object.values(window.Idlescape.data.items).find(g => g.id == f).name).join(", ").replaceAll(" Rune", "") + "</td>\n" | ||
+ | + " <td>" + Object.values(window.Idlescape.data.enchantments).find(c | ||
|}} | |}} | ||
− | </table> | + | </table>{{#ifeq: {{{1}}}|Helm|[[Category:Helm]]|}}{{#ifeq: {{{1}}}|Body|[[Category:Body]]|}}{{#ifeq: {{{1}}}|Chest|[[Category:Body]]|}}{{#ifeq: {{{1}}}|Legs|[[Category:Legs]]|}}{{#ifeq: {{{1}}}|Gloves|[[Category:Gloves]]|}}{{#ifeq: {{{1}}}|Boots|[[Category:Boots]]|}}{{#ifeq: {{{1}}}|Weapon|[[Category:Weapon]]|}}{{#ifeq: {{{1}}}|Shield|[[Category:Shield]]|}}{{#ifeq: {{{1}}}|Combat-Amulet|[[Category:Combat Amulet]]|}}{{#ifeq: {{{1}}}|Necklace|[[Category:Necklace]]|}}{{#ifeq: {{{1}}}|Ring|[[Category:Ring]]|}}{{#ifeq: {{{1}}}|Pickaxe|[[Category:Pickaxe]]|}}{{#ifeq: {{{1}}}|Hatchet|[[Category:Hatchet]]|}}{{#ifeq: {{{1}}}|Hoe|[[Category:Hoe]]|}}{{#ifeq: {{{1}}}|Cape|[[Category:Cape]]|}}{{#ifeq: {{{1}}}|Tacklebox|[[Category:Tacklebox]]|}}{{#ifeq: {{{1}}}|Tongs|[[Category:Tongs]]|}}{{#ifeq: {{{1}}}|Ladle|[[Category:Ladle]]|}}{{#ifeq: {{{1}}}|Chisel|[[Category:Chisel]]|}}<noinclude> |
− | <noinclude> | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |