Difference between revisions of "Template:Enchantments"

From Idlescape Wiki
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:
{{#ifeq: {{{1}}}|Shield|
 
 
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] :
<tr>
+
(b.requiredResources[0][514] ? b.requiredResources[0][514] :
<td class="it-data-input"><img src="https://idlescape.com/images/enchanting/scroll_of_weakening.png"></td>
+
(b.requiredResources[0][515] ? b.requiredResources[0][515] :
<td class="it-data-input">[[Scroll of Weakening]]</td>
+
(b.requiredResources[0][516] ? b.requiredResources[0][516] :
<td class="it-data-input">Helm, Body,<br>Legs, Weapon,<br>Shield</td>
+
(b.requiredResources[0][517] ? b.requiredResources[0][517] :
<td class="it-data-input">4</td>
+
(b.requiredResources[0][518] ? b.requiredResources[0][518] :
<td class="it-data-input">100</td>
+
(b.requiredResources[0][519] ? b.requiredResources[0][519] : ""))))))))))+ "</td>\n"
<td class="it-data-input">20x</td>
+
+ " <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 class="it-data-input">Air, Fire, Mind</td>
+
+ " <td>" + Object.values(window.Idlescape.data.enchantments).find(c =>
<td class="it-data-input">Decreases the level requirements of the item by 5.</td>
 
</tr>
 
<tr>
 
<td class="it-data-input"><img src="https://idlescape.com/images/enchanting/scroll_of_healing.png"></td>
 
<td class="it-data-input">[[Scroll of Healing]]</td>
 
<td class="it-data-input">Shield</td>
 
<td class="it-data-input">10</td>
 
<td class="it-data-input">200</td
 
 
[[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