Difference between revisions of "Template:Enchantments"
Jump to navigation
Jump to search
m (→top: Added category) |
(Remove Soul Wisdom) |
||
(45 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 => | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |