User:Slash: Difference between revisions
From Melvor Idle
No edit summary |
No edit summary Tag: Manual revert |
||
(25 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable navigation-not-searchable" style="margin:auto; clear:both; width: 100%" | |||
-- | ! Prayers !! DLC !! {{Skill|Prayer|Prayers}} | ||
|- | |||
{{ | ! style="text-align:center;"rowspan=2| Standard | ||
| style="text-align:center; | {{Melvor}} | |||
| style="text-align:center;" | {{PrayerIcon|Thick Skin|size=16}} • {{PrayerIcon|Burst of Strength|size=16}} • {{PrayerIcon|Clarity of Thought|size=16}} • {{PrayerIcon|Sharp Eye|size=16}} • {{PrayerIcon|Mystic Will|size=16}} • {{PrayerIcon|Rock Skin|size=16}} • {{PrayerIcon|Superhuman Strength|size=16}} • {{PrayerIcon|Improved Reflexes|size=16}} • {{PrayerIcon|Rapid Heal|size=16}} • {{PrayerIcon|Protect Item|size=16}} • {{PrayerIcon|Hawk Eye|size=16}} • {{PrayerIcon|Mystic Lore|size=16}} • {{PrayerIcon|Steel Skin|size=16}} • {{PrayerIcon|Ultimate Strength|size=16}} • {{PrayerIcon|Incredible Reflexes|size=16}} • {{PrayerIcon|Protect from Magic|size=16}} • {{PrayerIcon|Protect from Ranged|size=16}} • {{PrayerIcon|Protect from Melee|size=16}} • {{PrayerIcon|Eagle Eye|size=16}} • {{PrayerIcon|Mystic Might|size=16}} • {{PrayerIcon|Redemption|size=16}} • {{PrayerIcon|Chivalry|size=16}} • {{PrayerIcon|Piety|size=16}} • {{PrayerIcon|Rigour|size=16}} • {{PrayerIcon|Augury|size=16}} • {{PrayerIcon|Stone Skin|size=16}} • {{PrayerIcon|Safeguard|size=16}} • {{PrayerIcon|Rejuvenation|size=16}} • {{PrayerIcon|Sharp Vision|size=16}} • {{PrayerIcon|Mystic Mastery|size=16}} • {{PrayerIcon|Battleheart|size=16}} | |||
= | |- | ||
| style="text-align:center; | {{TotH}} | |||
== | | style="text-align:center;" | {{PrayerIcon|Valor|size=16}} • {{PrayerIcon|Avidity|size=16}} • {{PrayerIcon|Divination|size=16}} • {{PrayerIcon|Grace|size=16}} • {{PrayerIcon|Holy Aegis|size=16}} • {{PrayerIcon|Divine Precision|size=16}} • {{PrayerIcon|Elusivity|size=16}} • {{PrayerIcon|Battleborn|size=16}} | ||
{{ | |- | ||
! style="text-align:center;"| Unholy | |||
== | | style="text-align:center; | {{AoD}} | ||
{{ | | style="text-align:center;" | {{PrayerIcon|Maim|size=16}} • {{PrayerIcon|Grudge|size=16}} • {{PrayerIcon|Profane|size=16}} • {{PrayerIcon|Consumption|size=16}} • {{PrayerIcon|Malice|size=16}} • {{PrayerIcon|Martyr|size=16}} • {{PrayerIcon|Shatter|size=16}} • {{PrayerIcon|Spite|size=16}} • {{PrayerIcon|Destruction|size=16}} • {{PrayerIcon|Punishment|size=16}} • {{PrayerIcon|Corruption|size=16}} • {{PrayerIcon|Defile|size=16}} • {{PrayerIcon|Retribution|size=16}} • {{PrayerIcon|Malevolence|size=16}} • {{PrayerIcon|Reckoning|size=16}} • {{PrayerIcon|Sacrilege|size=16}} • {{PrayerIcon|Eradicate|size=16}} | ||
|- | |||
== | ! style="text-align:center;"| Abyssal | ||
{{ | | style="text-align:center; | {{ItA}} | ||
| style="text-align:center;" | {{PrayerIcon|Savagery|size=16}} • {{PrayerIcon|Menace|size=16}} • {{PrayerIcon|Volatility|size=16}} • {{PrayerIcon|Endure|size=16}} • {{PrayerIcon|Focused|size=16}} • {{PrayerIcon|Elusion|size=16}} • {{PrayerIcon|Ravage|size=16}} • {{PrayerIcon|Ferocity|size=16}} • {{PrayerIcon|Terrorize|size=16}} • {{PrayerIcon|Instability|size=16}} • {{PrayerIcon|Piercer|size=16}} • {{PrayerIcon|Drain|size=16}} • {{PrayerIcon|Vanish|size=16}} • {{PrayerIcon|Renewal|size=16}} • {{PrayerIcon|Cruelty|size=16}} • {{PrayerIcon|Opress|size=16}} • {{PrayerIcon|Devastation|size=16}} • {{PrayerIcon|Melee Shroud|size=16}} • {{PrayerIcon|Ranged Shroud|size=16}} • {{PrayerIcon|Magic Shroud|size=16}} • {{PrayerIcon|Evisceration|size=16}} • {{PrayerIcon|Deadshot|size=16}} • {{PrayerIcon|Brutality|size=16}} • {{PrayerIcon|Tyranny|size=16}} • {{PrayerIcon|Obliteration|size=16}} • {{PrayerIcon|Dissipation|size=16}} • {{PrayerIcon|Meticulous|size=16}} • {{PrayerIcon|Siphon|size=16}} • {{PrayerIcon|Dispersion|size=16}} • {{PrayerIcon|Unrelenting|size=16}} • {{PrayerIcon|Annihilation|size=16}} | |||
== | |} | ||
{{ | <syntaxhighlight lang="javascript" line> | ||
let results = [`{| class="wikitable navigation-not-searchable" style="margin:auto; clear:both; width: 100%"\n! Prayers !! DLC !! {{Skill|Prayer|Prayers}}`], | |||
== | nsMap = new Map([['melvorF', ['Standard', '{{Melvor}}']], ['melvorTotH', ['', '{{TotH}}']], ['melvorAoD', ['Unholy', '{{AoD}}']], ['melvorItA', ['Abyssal', '{{ItA}}']]]); | ||
{{ | game.prayers.namespaceMaps.forEach((prayers, ns) => { | ||
let bookResults = '', | |||
== | nsValues = nsMap.get(ns), | ||
{{ | rowSpan = ns === 'melvorF' ? 'rowspan=2' : '', | ||
style = ns === 'melvorTotH' ? `| style="text-align:center; | ${nsValues[1]}` : `! style="text-align:center;"${rowSpan}| ${nsValues[0]}\n| style="text-align:center; | ${nsValues[1]}` | |||
={{ | results.push(`\n|-\n${style}\n| style="text-align:center;" |`); | ||
prayers.forEach(prayer => { | |||
== | bookResults += ` {{PrayerIcon|${prayer.name}|size=16}} •`; | ||
{{ | }); | ||
bookResults = bookResults.slice(0, bookResults.length - 2); results.push(bookResults); | |||
== | }); | ||
{{ | let outputString = ``; | ||
results.forEach(str => outputString += str); | |||
== | outputString += '\n|}'; | ||
{{ | self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(outputString, 'text') : copy(outputString); | ||
console.log(outputString); | |||
== | </syntaxhighlight> | ||
{{ | |||
={{AoD}} | |||
= | |||
{{: | |||
{{ | |||
Latest revision as of 22:08, 28 July 2024
Prayers | DLC | Error creating thumbnail: File missing Prayers
|
---|---|---|
Standard | Error creating thumbnail: File missing Thick Skin • Error creating thumbnail: File missing Burst of Strength • Error creating thumbnail: File missing Clarity of Thought • Error creating thumbnail: File missing Sharp Eye • Error creating thumbnail: File missing Mystic Will • Error creating thumbnail: File missing Rock Skin • Error creating thumbnail: File missing Superhuman Strength • Error creating thumbnail: File missing Improved Reflexes • Error creating thumbnail: File missing Rapid Heal • Error creating thumbnail: File missing Protect Item • Error creating thumbnail: File missing Hawk Eye • Error creating thumbnail: File missing Mystic Lore • Error creating thumbnail: File missing Steel Skin • Error creating thumbnail: File missing Ultimate Strength • Error creating thumbnail: File missing Incredible Reflexes • Error creating thumbnail: File missing Protect from Magic • Error creating thumbnail: File missing Protect from Ranged • Error creating thumbnail: File missing Protect from Melee • Error creating thumbnail: File missing Eagle Eye • Error creating thumbnail: File missing Mystic Might • Error creating thumbnail: File missing Redemption • Error creating thumbnail: File missing Chivalry • Error creating thumbnail: File missing Piety • Error creating thumbnail: File missing Rigour • Error creating thumbnail: File missing Augury • Error creating thumbnail: File missing Stone Skin • Error creating thumbnail: File missing Safeguard • Error creating thumbnail: File missing Rejuvenation • Error creating thumbnail: File missing Sharp Vision • Error creating thumbnail: File missing Mystic Mastery • Error creating thumbnail: File missing Battleheart
| |
Error creating thumbnail: File missing Valor • Error creating thumbnail: File missing Avidity • Error creating thumbnail: File missing Divination • Error creating thumbnail: File missing Grace • Error creating thumbnail: File missing Holy Aegis • Error creating thumbnail: File missing Divine Precision • Error creating thumbnail: File missing Elusivity • Error creating thumbnail: File missing Battleborn
| ||
Unholy | ![]() |
Error creating thumbnail: File missing Maim • Error creating thumbnail: File missing Grudge • Error creating thumbnail: File missing Profane • Error creating thumbnail: File missing Consumption • Error creating thumbnail: File missing Malice • Error creating thumbnail: File missing Martyr • Error creating thumbnail: File missing Shatter • Error creating thumbnail: File missing Spite • Error creating thumbnail: File missing Destruction • Error creating thumbnail: File missing Punishment • Error creating thumbnail: File missing Corruption • Error creating thumbnail: File missing Defile • Error creating thumbnail: File missing Retribution • Error creating thumbnail: File missing Malevolence • Error creating thumbnail: File missing Reckoning • Error creating thumbnail: File missing Sacrilege • Error creating thumbnail: File missing Eradicate
|
Abyssal | Error creating thumbnail: File missing
|
Error creating thumbnail: File missing Savagery • Error creating thumbnail: File missing Menace • Error creating thumbnail: File missing Volatility • Error creating thumbnail: File missing Endure • Error creating thumbnail: File missing Focused • Error creating thumbnail: File missing Elusion • Error creating thumbnail: File missing Ravage • Error creating thumbnail: File missing Ferocity • Error creating thumbnail: File missing Terrorize • Error creating thumbnail: File missing Instability • Error creating thumbnail: File missing Piercer • Error creating thumbnail: File missing Drain • Error creating thumbnail: File missing Vanish • Error creating thumbnail: File missing Renewal • Error creating thumbnail: File missing Cruelty • Error creating thumbnail: File missing Opress • Error creating thumbnail: File missing Devastation • Error creating thumbnail: File missing Melee Shroud • Error creating thumbnail: File missing Ranged Shroud • Error creating thumbnail: File missing Magic Shroud • Error creating thumbnail: File missing Evisceration • Error creating thumbnail: File missing Deadshot • Error creating thumbnail: File missing Brutality • Error creating thumbnail: File missing Tyranny • Error creating thumbnail: File missing Obliteration • Error creating thumbnail: File missing Dissipation • Error creating thumbnail: File missing Meticulous • Error creating thumbnail: File missing Siphon • Error creating thumbnail: File missing Dispersion • Error creating thumbnail: File missing Unrelenting • Error creating thumbnail: File missing Annihilation
|
let results = [`{| class="wikitable navigation-not-searchable" style="margin:auto; clear:both; width: 100%"\n! Prayers !! DLC !! {{Skill|Prayer|Prayers}}`],
nsMap = new Map([['melvorF', ['Standard', '{{Melvor}}']], ['melvorTotH', ['', '{{TotH}}']], ['melvorAoD', ['Unholy', '{{AoD}}']], ['melvorItA', ['Abyssal', '{{ItA}}']]]);
game.prayers.namespaceMaps.forEach((prayers, ns) => {
let bookResults = '',
nsValues = nsMap.get(ns),
rowSpan = ns === 'melvorF' ? 'rowspan=2' : '',
style = ns === 'melvorTotH' ? `| style="text-align:center; | ${nsValues[1]}` : `! style="text-align:center;"${rowSpan}| ${nsValues[0]}\n| style="text-align:center; | ${nsValues[1]}`
results.push(`\n|-\n${style}\n| style="text-align:center;" |`);
prayers.forEach(prayer => {
bookResults += ` {{PrayerIcon|${prayer.name}|size=16}} •`;
});
bookResults = bookResults.slice(0, bookResults.length - 2); results.push(bookResults);
});
let outputString = ``;
results.forEach(str => outputString += str);
outputString += '\n|}';
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(outputString, 'text') : copy(outputString);
console.log(outputString);