Difference between revisions of "Template:Enchantments"

From Idlescape Wiki
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]].
<table class="itemTable">
+
<noinclude><!--Javascript to generate partially
<tr>
+
Object.values(window.Idlescape.data.items).filter(a => a.class == "enchanted-scroll" && a.name != "Scroll" && a.requiredResources[0]).map(
<th class="it-header-row"><img src="https://idlescape.com/images/enchanting/enchanted_scroll.png" height="60"></th>
+
b => "<tr>\n"
<th class="it-header-row">Scroll Name</th>
+
+ " <td>{{img|" + b.name + "|40|word=1}}</td>\n"
<th class="it-header-row">Slot</th>
+
+ " <td>" + b.categories.map(c => c.charAt(0).toUpperCase() + c.slice(1)).join(", ").replaceAll("set", " Set") + "</td>\n"
<th class="it-header-row">Enchanting<br>Level</th>
+
+ " <td style=\"text-align:center;\">" + b.level + "</td>\n"
<th class="it-header-row">Silver Amount</th>
+
+ " <td style=\"text-align:center;\">" + b.requiredResources[0][111] + "</td>\n"
<th class="it-header-row">Rune Amount</th>
+
+ " <td style=\"text-align:center;\">" + (b.requiredResources[0][510] ? b.requiredResources[0][510] :
<th class="it-header-row">Runes</th>
+
(b.requiredResources[0][511] ? b.requiredResources[0][511] :
<th class="it-header-row">Effect per scroll</th>
+
(b.requiredResources[0][512] ? b.requiredResources[0][512] :
</tr>
+
(b.requiredResources[0][513] ? b.requiredResources[0][513] :
{{#ifexpr: ( {{#ifeq:{{{1}}}|Shield|1|0}}+{{#ifeq:{{{1}}}|Weapon|1|0}}+{{#ifeq:{{{1}}}|Helm|1|0}}+{{#ifeq:{{{1}}}|Body|1|0}}+{{#ifeq:{{{1}}}|Chest|1|0}}+{{#ifeq:{{{1}}}|Legs|1|0}} )>0|
+
(b.requiredResources[0][514] ? b.requiredResources[0][514] :
<tr>
+
(b.requiredResources[0][515] ? b.requiredResources[0][515] :
<td class="it-data-input"><img src="https://idlescape.com/images/enchanting/scroll_of_weakening.png"></td>
+
(b.requiredResources[0][516] ? b.requiredResources[0][516] :
<td class="it-data-input">[
+
(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>

Latest revision as of 03:26, 9 October 2024

List of useful Enchantments.


Scrollcrafting Scroll Slot Level Silver Amount Rune Amount Runes Effect per scroll