This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://melvoridle.com/assets/schema/gameData.json", | |
"namespace": "adventuring_extra", | |
"data": { | |
"skillData": [{ | |
"skillID": "adventuring:Adventuring", | |
"data": { | |
"areas": [ | |
{ | |
"id": "Giants_Lair", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AdventuringRenderQueue extends SkillRenderQueue { | |
constructor() { | |
super(); | |
} | |
} | |
export class Adventuring extends Skill { | |
constructor(namespace, game) { | |
super(namespace, 'Adventuring', game); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Melvor Tick Multiplier | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.1 | |
// @description Bloop Bleep | |
// @author NotCorgan#1234 | |
// @match https://melvoridle.com/* | |
// @match https://www.melvoridle.com/* | |
// @match https://test.melvoridle.com/* | |
// @exclude https://melvoridle.com/update/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Melvor Tick Multiplier | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.1 | |
// @description Bloop Bleep | |
// @author NotCorgan#1234 | |
// @match https://melvoridle.com/* | |
// @match https://www.melvoridle.com/* | |
// @match https://test.melvoridle.com/* | |
// @exclude https://melvoridle.com/update/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let __attackTable = {} | |
__attackTable[CONSTANTS.attackType.Melee] = [CONSTANTS.attackStyle.Magic, CONSTANTS.attackStyle.Defensive]; | |
__attackTable[CONSTANTS.attackType.Ranged] = [CONSTANTS.attackStyle.Stab, CONSTANTS.attackStyle.Slash, CONSTANTS.attackStyle.Block]; | |
__attackTable[CONSTANTS.attackType.Magic] = [CONSTANTS.attackStyle.Accurate, CONSTANTS.attackStyle.Rapid, CONSTANTS.attackStyle.Longrange]; | |
window.swapSets = true | |
let __updateEnemyMaxHit = updateEnemyMaxHit; | |
updateEnemyMaxHit = function() { | |
__updateEnemyMaxHit(); | |
if(![CONSTANTS.gamemode.Standard, CONSTANTS.gamemode.Adventure].includes(currentGamemode)) return; // Only run in Standard and Adventure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let hasMods = (i, modList) => Object.entries(randomModifiers.equipment).map(([slot, mods]) => Object.entries(mods).reduce((acc, [mod, val]) => modList.includes(mod) ? true : acc, false))[i]; | |
let hasQty = (i) => equippedItems[i] > 0 && getItemQtyRandomModifier(equippedItems[i])[0] > 1; | |
let hasGP = (i) => gp >= getRandomModifierCost(i) && equippedItems[i] > 0 | |
let corruptEquipment = () => equippedItems.forEach((item, slot) => { let [speed, qty, cost] = [hasMods(slot, modList), hasQty(slot), hasGP(slot)]; if(!speed && qty && cost) { getEquipmentCorruption(slot) } } ); | |
let modList = ['decreasedPlayerAttackSpeedPercent', 'increasedDamageReduction', 'increasedChanceToDoubleItemsGlobal', 'increasedLifesteal', 'increasedMinHitBasedOnMaxHit', 'increasedMeleeStrengthBonus'] | |
setInterval(corruptEquipment, 250) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let __updateCombat = updateCombat; | |
let __equipItem = equipItem; | |
let __setAttackStyle = setAttackStyle; | |
let __lastWeapon = equippedItems[4]; | |
let __attackStyle = attackStyle; | |
setAttackStyle = function() { | |
__setAttackStyle.apply(null, arguments); | |
if(isGolbinRaid) return; | |
console.log("__attackStyle = " + arguments[0]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(let id in SKILLS) { | |
if(SKILLS[id].hasMastery) { | |
let bar = $(`#mastery-pool-progress-${id}`)[0]; | |
for (let i = 0; i < masteryCheckpoints.length; i++) { | |
let mark = document.createElement('div'); | |
if (((MASTERY[id].pool / getMasteryPoolTotalXP(id)) * 100) >= masteryCheckpoints[i]) { | |
mark.className = 'bg-success'; | |
} else { | |
mark.className = 'bg-danger' | |
} |
NewerOlder