Template:CorruptionsTable: Difference between revisions
From Melvor Idle
m (Update table styling; Replaced effect links with EffectIcon template) |
m (Add data sort values) |
||
Line 1: | Line 1: | ||
<noinclude>{{/doc}}[[Category:Manual Tables]]</noinclude> | <noinclude>{{/doc}}[[Category:Manual Tables]]</noinclude> | ||
{| class="wikitable sortable | {| class="wikitable sortable" | ||
|- | |- | ||
! Min Monster Lvl | ! Min Monster Lvl | ||
! Effect | ! Effect | ||
|- | |- | ||
| Starts Unlocked | |data-sort-value="0"| Starts Unlocked | ||
| <span class="text-positive">+25% Accuracy Rating</span> | | <span class="text-positive">+25% [[Accuracy Rating]]</span> | ||
|- | |- | ||
| 6,000 | |data-sort-value="6000"| 6,000 | ||
| <span class="text-positive">+25% Global Evasion</span> | | <span class="text-positive">+25% [[Global Evasion]]</span> | ||
|- | |- | ||
| 6,000 | |data-sort-value="6000"| 6,000 | ||
| <span class="text-positive">Inflict a stack of {{EffectIcon|Laceration}} per hit. Laceration deals damage equal to 1% of the enemy's max hit per stack (Stacks up to 20 times) every 0.5s</span> | | <span class="text-positive">Inflict a stack of {{EffectIcon|Laceration}} per hit. {{EffectIcon|Laceration}} deals damage equal to 1% of the enemy's max hit per stack (Stacks up to 20 times) every 0.5s.</span> | ||
|- | |- | ||
| 8,000 | |data-sort-value="8000"| 8,000 | ||
| <span class="text-positive">On a hit, inflict a {{EffectIcon|Slow}} that lasts for 3 Attack Turns</span> | | <span class="text-positive">On a hit, inflict a {{EffectIcon|Slow}} that lasts for 3 Attack Turns.</span> | ||
|- | |- | ||
| 10,000 | |data-sort-value="10000"| 10,000 | ||
| <span class="text-positive">+50% Accuracy Rating</span> | | <span class="text-positive">+50% [[Accuracy Rating]]</span> | ||
|- | |- | ||
| 12,000 | |data-sort-value="12000"| 12,000 | ||
| <span class="text-positive">+50% Global Evasion</span> | | <span class="text-positive">+50% [[Global Evasion]]</span> | ||
|- | |- | ||
| 13,000 | |data-sort-value="13000"| 13,000 | ||
| <span class="text-positive">On a hit, inflict {{EffectIcon|Bleed}} that deals 200% of the damage dealt as damage over 10s</span> | | <span class="text-positive">On a hit, inflict {{EffectIcon|Bleed}} that deals 200% of the damage dealt as damage over 10s.</span> | ||
|- | |- | ||
| 17,000 | |data-sort-value="17000"| 17,000 | ||
| <span class="text-positive">Inflict a stack of {{EffectIcon|Blight}} per hit. Blight gives -3% Maximum Hit,-3% Global Accuracy,-3% Global Evasion every 1.5s (Stacks up to 10 times, removed at max stacks)</span> | | <span class="text-positive">Inflict a stack of {{EffectIcon|Blight}} per hit. {{EffectIcon|Blight}} gives -3% Maximum Hit,-3% [[Accuracy Rating|Global Accuracy]],-3% [[Global Evasion]] every 1.5s (Stacks up to 10 times, removed at max stacks).</span> | ||
|- | |- | ||
| 18,000 | |data-sort-value="18000"| 18,000 | ||
| <span class="text-positive">-10% [[Attack Interval]]</span> | | <span class="text-positive">-10% [[Attack Interval]]</span> | ||
|- | |- | ||
| 19,000 | |data-sort-value="19000"| 19,000 | ||
| <span class="text-positive">+10% Abyssal Resistance</span> | | <span class="text-positive">+10% {{Icon|Abyssal Resistance}}.</span> | ||
|- | |- | ||
| 22,000 | |data-sort-value="22000"| 22,000 | ||
| <span class="text-positive">On a hit, inflict {{EffectIcon|Ablaze}} that deals 50% of the enemy's max hit as damage over 2.5s</span> | | <span class="text-positive">On a hit, inflict {{EffectIcon|Ablaze}} that deals 50% of the enemy's max hit as damage over 2.5s.</span> | ||
|- | |- | ||
| 31,000 | |data-sort-value="31000"| 31,000 | ||
| <span class="text-positive">+75% Accuracy Rating</span> | | <span class="text-positive">+75% [[Accuracy Rating]]</span> | ||
|- | |- | ||
| 31,000 | |data-sort-value="31000"| 31,000 | ||
| <span class="text-positive">+40% Global Evasion and +40% Global Evasion</span> | | <span class="text-positive">+40% [[Global Evasion]] and +40% [[Global Evasion]]</span> | ||
|- | |- | ||
| 130,000 | |data-sort-value="130000"| 130,000 | ||
| <span class="text-positive">+75% Global Evasion</span> | | <span class="text-positive">+75% [[Global Evasion]]</span> | ||
|- | |- | ||
| 130,000 | |data-sort-value="130000"| 130,000 | ||
| <span class="text-positive">+50% Reflect Damage</span> | | <span class="text-positive">+50% Reflect Damage.</span> | ||
|- | |- | ||
| 320,000 | |data-sort-value="320000"| 320,000 | ||
| <span class="text-positive">-20% [[Attack Interval]]</span> | | <span class="text-positive">-20% [[Attack Interval]]</span> | ||
|- | |- | ||
| 320,000 | |data-sort-value="320000"| 320,000 | ||
| <span class="text-positive">+5% [[Lifesteal]]</span> | | <span class="text-positive">+5% [[Lifesteal]].</span> | ||
|- | |- | ||
| 321,000 | |data-sort-value="321000"| 321,000 | ||
| <span class="text-positive">On a hit, 25% chance to apply {{EffectIcon|Fear}}</span> | | <span class="text-positive">On a hit, 25% chance to apply {{EffectIcon|Fear}}.</span> | ||
|- | |- | ||
| 613,000 | |data-sort-value="613000"| 613,000 | ||
| <span class="text-positive">On a hit, inflict {{EffectIcon|Bleed}} that deals 200% of the damage dealt as damage over 10s and inflict a {{EffectIcon|Slow}} that lasts for 3 Attack Turns</span> | | <span class="text-positive">On a hit, inflict {{EffectIcon|Bleed}} that deals 200% of the damage dealt as damage over 10s and inflict a {{EffectIcon|Slow}} that lasts for 3 Attack Turns.</span> | ||
|- | |- | ||
| 696,969 | |data-sort-value="696969"| 696,969 | ||
| <span class="text-positive">-25% Attack Interval, +40% Global Accuracy and +40% Global Evasion</span> | | <span class="text-positive">-25% [[Attack Interval]], +40% [[Accuracy Rating|Global Accuracy]] and +40% [[Global Evasion]].</span> | ||
|- | |- | ||
| 999,000 | |data-sort-value="999000"| 999,000 | ||
| <span class="text-positive">On a hit, 25% chance to apply {{EffectIcon|Silence}} for 1 turn</span> | | <span class="text-positive">On a hit, 25% chance to apply {{EffectIcon|Silence}} for 1 turn.</span> | ||
|- | |- | ||
| 1,200,000 | |data-sort-value="1200000"| 1,200,000 | ||
| <span class="text-positive">+1 Attack Rolls (Select highest chance)</span> | | <span class="text-positive">+1 Attack Rolls (Select highest chance).</span> | ||
|- | |- | ||
| 1,450,000 | |data-sort-value="1450000"| 1,450,000 | ||
| <span class="text-positive">Attacks cannot miss</span> | | <span class="text-positive">Attacks cannot miss.</span> | ||
|} | |} |
Revision as of 18:55, 20 September 2024
A script is used to generate the following table. To use, open the game and paste the below into the console. The outputs will be copied to your clipboard automatically. After running the script, 'edit source' on Template:CorruptionsTable then Ctrl+A and Ctrl+V. Look over the contents to ensure everything looks fine.
let EFFECT_ICON_MODIFICATIONS = [ { effect: 'Bleed' }, { effect: 'Slow' }, { effect: 'Laceration' }, { effect: 'Ablaze' }, { effect: 'Blight' }, { effect: 'Fear' }, { effect: 'Silence' } ];
let LINKS_MODIFICATIONS = [ { effect: 'Attack Interval' }, { effect: 'Lifesteal' }, { effect: 'Accuracy Rating' }, { effect: 'Global Evasion' } ];
let ICON_MODIFICATIONS = [ { effect: 'Unholy Prayers' }, { effect: 'Barrier' }, { effect: 'Abyssal Resistance' } ];
[...EFFECT_ICON_MODIFICATIONS, ...LINKS_MODIFICATIONS, ...ICON_MODIFICATIONS].forEach(x => x["regex"] = new RegExp("\\b" + x.effect + "\\b", "ig"));
let modifyDescription = (text) => {
EFFECT_ICON_MODIFICATIONS.forEach((x, i) => { text = text.replace(x.regex, `{{EffectIcon|${x.effect}}}`); });
LINKS_MODIFICATIONS.forEach((x, i) => { text = text.replace(x.regex, `[[${x.effect}]]`); });
ICON_MODIFICATIONS.forEach((x, i) => { text = text.replace(x.regex, `{{Icon|${x.effect}}}`); });
text = text.replace('Global Accuracy', '[[Accuracy Rating|Global Accuracy]]');
return text
}
let results = `<noinclude>{{/doc}}[[Category:Manual Tables]]</noinclude>\n{| class="wikitable sortable"\n|-\n! Min Monster Lvl\n! Effect\n|-`;
game.corruption.corruptionEffects.allRows.sort((a,b) => a.minMonsterLevel - b.minMonsterLevel).forEach((row, i) => {
let description = modifyDescription(row.langStringID !== '' ? getLangString(row.langStringID) : row.customDescription),
monsterLevelReq = row.minMonsterLevel ? numberWithCommas(row.minMonsterLevel) : 'Starts Unlocked';
results += `\n|data-sort-value="${row.minMonsterLevel}"| ${monsterLevelReq}`;
results += `\n| <span class="text-positive">${description}</span>`;
if (i < game.corruption.corruptionEffects.allRows.length - 1) results += '\n|-';
});
results += '\n|}';console.log(results);
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(results, 'text') : copy(results);
Min Monster Lvl | Effect |
---|---|
Starts Unlocked | +25% Accuracy Rating |
6,000 | +25% Global Evasion |
6,000 | Inflict a stack of Laceration per hit. Laceration deals damage equal to 1% of the enemy's max hit per stack (Stacks up to 20 times) every 0.5s. |
8,000 | On a hit, inflict a Slow that lasts for 3 Attack Turns. |
10,000 | +50% Accuracy Rating |
12,000 | +50% Global Evasion |
13,000 | On a hit, inflict Bleed that deals 200% of the damage dealt as damage over 10s. |
17,000 | Inflict a stack of Error creating thumbnail: File missing Blight per hit. Error creating thumbnail: File missing Blight gives -3% Maximum Hit,-3% Global Accuracy,-3% Global Evasion every 1.5s (Stacks up to 10 times, removed at max stacks).
|
18,000 | -10% Attack Interval |
19,000 | +10% Error creating thumbnail: File missing Abyssal Resistance.
|
22,000 | On a hit, inflict Error creating thumbnail: File missing Ablaze that deals 50% of the enemy's max hit as damage over 2.5s.
|
31,000 | +75% Accuracy Rating |
31,000 | +40% Global Evasion and +40% Global Evasion |
130,000 | +75% Global Evasion |
130,000 | +50% Reflect Damage. |
320,000 | -20% Attack Interval |
320,000 | +5% Lifesteal. |
321,000 | On a hit, 25% chance to apply Error creating thumbnail: File missing Fear.
|
613,000 | On a hit, inflict Bleed that deals 200% of the damage dealt as damage over 10s and inflict a Slow that lasts for 3 Attack Turns. |
696,969 | -25% Attack Interval, +40% Global Accuracy and +40% Global Evasion. |
999,000 | On a hit, 25% chance to apply Error creating thumbnail: File missing Silence for 1 turn.
|
1,200,000 | +1 Attack Rolls (Select highest chance). |
1,450,000 | Attacks cannot miss. |