# V0.21

## Alpha v0.21 - (13th August 2021)

### Introduction

This Major Update is a lot different than all previous ones released. It focuses on providing an extremely important feature to the game, as well as fixing a lot of issues that have been present.

The lack of new content or changes to explore in this update might be disappointing to some, but I hope what it does provide is the functionality and stability you have been looking for in Melvor Idle.

I also want to point out that pretty much all credit for this update must be handed over to Coolrox95. He was the one who developed the Combat Rewrite and Offline Combat portion of this update. It has allowed for easier growth and scalability within the game, and also enabled one of the most important and highly requested features of the game to become a reality.

I ask that you pass on all thanks to him for this, as this update is not mine to take any credit for.

### Combat Rewrite

It was well overdue, but the complete rewrite of has been done. This rewrite will allow for faster development, as well as cleaning up many inconsistencies that exist throughout the previous Combat system.

#### What has Changed?

Most of the rework focused on the back-end side of things, changing the way Combat itself works and operates behind the scenes.

From a general player perspective, you won't notice much of a change at all. There are a few new QoL additions which are detailed below.

The most important change is that Combat has been transitioned to a tick-based system. What this means is that Combat performs its operations every 50ms, allowing for accurate calculations as well as increasing general performance.

#### New Stuff & QoL

There's a few new features and QoL that you will enjoy:

• All buffs and debuffs will now display as an icon next to your HP (as well as the Enemy's). They also contain a tooltip detailing their effects and a number showing how many turns are remaining on the debuff.
• Improved Damage Splashes allow for better visualization of when players/enemies are damaged and healed, and what source the damage is from.
• Special Attack descriptions that contain buffs/debuffs will now highlight the buff/debuff in a different text colour.
• Hot-swapping equipment is now possible, which means you can swap gear with a full bank and not have to worry about clearing a slot to unequip something if it is a direct swap.
• Equipping a two-handed weapon, Javelins or Throwing Knives will now display that same weapon within the 2nd slot it takes up (slightly faded image).
• There is now a Setting to disable Combat Progress bars if they are causing performance issues.
• Due to the tick-based functionality, the new Combat system will mitigate browser throttling automatically by comparing timestamps and awarding you the correct progress if a large enough difference is detected.

There has also been some changes to Player Stat Calculations which will make them consistent across the board.

#### Changes to Player Stat Calculations

Several formulas for player stat calculations have been tweaked slightly to make them consistent with the stat calculations of enemies, as well as correcting some inconsistencies between the different ranged, magic and melee calculations. Overall these changes have resulted in a slight buff to players in combat. Outlined below are the changes to each of the core stats.

##### Melee & Ranged Max Hits

The base calculation for Melee and Ranged max hit has remained the same and is as follows:

$\text{Mat Hit} = \left \lfloor \text{Gamemode Multiplier} \times \left (1.3 + \frac{\text{Effective Strength Level}}{10} + \frac{\text{Strength Bonus}}{80} + \frac{\text{Effective Strength Level} \times \text{Strength Bonus}}{640} \right ) \right \rfloor$

Strength bonus refers to the bonus provided by equipment. Gamemode Multiplier refers to the multiplier to all HP related values for a gamemode. This is 10 for Standard and Hardcore mode, and 100 for Adventure mode. Effective Strength Level is calculated from the player's skill levels and any hidden levels. This calculation has been changed for players to be consistent with enemies as follows:

###### Effective Melee Strength Level

Old: $\text{Strength Level} + \text{Hidden Strength Levels} + 8$

New: $\text{Strength Level} + \text{Hidden Strength Levels} + 9$

###### Effective Ranged Strength Level

Old: $\text{Ranged Level} + \text{Hidden Ranged Levels} + \text{Style Bonus}$

New: $\text{Ranged Level} + \text{Hidden Ranged Levels} + 9$

Note: The style bonus for the Accurate style has been changed to just provide +3 Hidden Ranged Levels. Overall this change increases the Effective Ranged Strength level by +9.

##### Magic Max Hits

The base calculation for magic max hit as remained the same for players:

$\text{Max Hit} = \left \lfloor \text{Gamemode Multiplier} \times \text{Spell Max Hit} \times \left ( 1 + \frac{\text{Magic Damage Bonus}}{100} \right ) \left ( 1 + \frac{\text{Magic Level} + \text{Hidden Magic Levels} + 1}{200} \right ) \right \rfloor$

Magic Damage Bonus is the percent bonus provided by equipment.

Enemies have been changed to use the same formula as players, and have had their spell selection and magic damage bonuses adjusted to produce similar max hits as before, resulting in slightly lower values overall.

##### Evasion Ratings

The base calculation for evasion ratings is as follows:

$\text{Evasion Rating} = \text{Effective Defence Level} \times \left ( \text{Defence Bonus} + 64 \right )$

###### Melee Evasion

The effective Defence level calculation has been changed to be consistent with Ranged and Magic Evasion.

Old: $\text{Defence Level} + \text{Hidden Defence Levels} + 8$

New: $\text{Defence Level} + \text{Hidden Defence Levels} + 9$

###### Ranged Evasion

The effective Defence level calculation has remained the same as:

Effective Defence Level: $\text{Defence Level} + \text{Hidden Defence Levels} + 9$

###### Magic Evasion

The effective Defence level calculation has remained the same as:

Effective Defence Level: $0.7 \times \left ( \text{Magic Level} + \text{Hidden Magic Levels} \right ) + 0.3 \times \left ( \text{Defence Level} + \text{Hidden Defence Levels} + 9 \right )$

##### Accuracy Ratings

The base calculation for accuracy rating is as follows:

$\text{Accuracy Rating} = \text{Effective Attack Level} \times \left ( \text{Attack Bonus} + 64 \right )$

The attack bonus is the bonus provided by equipment.

###### Melee Accuracy

The effective Attack level calculation has been changed:

Old: $\text{Attack Level} + \text{Hidden Attack Levels} + 8$

New: $\text{Attack Level} + \text{Hidden Attack Levels} + 9$

###### Ranged Accuracy

The effective Attack level calculation has been changed:

Old: $\text{Ranged Level} + \text{Hidden Ranged Levels} + \text{Style Bonus}$

New: $\text{Ranged Level} + \text{Hidden Ranged Levels} + 9$

Note: The style bonus for the Accuracy style has been changed to just provide +3 Hidden Ranged Levels. Overall this change increases the Effective Attack Level by +1.

###### Magic Accuracy

The effective Attack level calculation has been changed:

Old: $\text{Magic Level} + \text{Hidden Magic Levels} + 8$

New: $\text{Magic Level} + \text{Hidden Magic Levels} + 9$

##### Summoning Max Hit

max hit has been changed to combine the values of both Summons. Previously it was the largest value of both Summons.

### Offline Combat

Along with the rewrite, Offline Combat has also been added.

Offline Combat follows the same rules and functionality of all other Skills in the game. There is a 12 hour Offline cap, and you will be provided with your experience and items upon returning to the game.

The benefit of a tick-based system really shows here, allowing for players to log back into the game at the exact moment they would be if they were training Online.

Here is a breakdown of general Offline Combat features:

• Offline Combat is calculated exactly as it would be if you were training Online.
• Returning from an Offline Session will continue exactly where you would be if you were training Online. This includes the progress of a Dungeon, the HP of you or the Monster, and also how far into an Attack you are.
• All dynamic modifiers to players and enemies are taken into account while Offline, including temporary modifiers from special attacks.
• All Combat content can be completed Offline, with the exception of where you will return to the game at the start of the first boss fight (due to the Dungeon Pause mechanic).
• works Offline, and follows the same rules as Online does when selecting a new Monster to fight.
• works Offline and will collect all Loot, as long as you have the available Bank space. Training without this Amulet will cause your loot to fill up the loot container (max 16 slots).
• works Offline and will bury all Bones that are dropped automatically.
• All Familiars and their respective Synergies work Offline.
• Offline Progress popup will display relevant XP gained, Monsters killed, food consumed, Points Used, Runes & Arrow consumption, earned, Tablet usage, number of Tasks completed.

#### Dying Offline

As mentioned above, it is possible to die while Offline in Combat.

Dying while Offline will result in the same consequences as dying Online. This means losing an Item for Standard/ Characters and losing your Character entirely for Characters.

If you die Offline, Combat will not progress. There is also no way of the game notifying you that you died while away due to the nature of the game.

To help mitigate the risk of accidental deaths, these have been added to the game:

• Offline Combat is disabled by default, and must be enabled by the Player.
• Attempting to enable Offline Combat will display a large warning screen, where a Player must agree to the listed points before being able to turn it on.
• Offline Combat can be disabled at any time. Re-enabling will require the same points as above to be agreed upon again.
• You can now view the stats and special attacks of Monsters you have killed from the Monster log.

Offline Combat is DISABLED by default for all Characters. You will be required to enable it for each Character if you wish to use it (you won't miss the notification in game). This can be enabled/disabled as you please from the Settings page.

### Changelog

#### New Features

• has been completely rewritten from the ground-up, transitioning to a tick-based system in the process.
• Offline Combat has been introduced, allowing for all Combat content to be completed Offline in the exact same manner as it would be done Online.
• Offline Combat can be enabled/disabled, which comes with a warning popup that must be agreed to every time you wish to enable Offline Combat.
• Returning to the game during an Offline Combat session will continue exactly where it would be if you were training Online.
• now performs all required calculations every 50ms instead of set intervals, allowing for more accurate gameplay as well as increased performance.
• Added icons for Buffs and Debuffs to the game that display next to HP values within . These icons contain a Tooltip detailing their effects as well as a number showing how many turns are remaining until it disappears.
• Improved Damage Splashes allow for better visualization of when players/enemies are damaged and healed, and what source the damage is from.
• Hot-swapping equipment is now possible, which means you can swap gear with a full bank and not have to worry about clearing a slot to unequip something if it is a direct swap.
• Special Attack descriptions that contain buffs/debuffs will now highlight the buff/debuff in a different text colour.
• Equipping a two-handed weapon, Javelins or Throwing Knives will now display that same weapon within the 2nd slot it takes up (slightly faded image).
• New Setting has been added to disable Combat Progress Bars.
• New Setting has been added to disable Combat Damage Splashes.
• A button has been added to the Marks Page within , allowing you to jump to the Create Familiar screen relating to that Mark.
• Quick buying of items from the Shop has been added. Items within crafting-related Skills now contain a small Shop icon in the top left corner can be clicked to quickly buy more of that item via a small popup window. This functionality has also been added to and within the Page.
• You can now see which Obstacle is currently built within the "Build Agility Obstacle" window.
• A small tick now displays on the Skilling Minibar to represent if that particular item is currently equipped in your active Equipment Set.
• The will now display on the Skilling Minibar, alongside the button for the Skill's respective Skillcape. This will only display once you have purchased at least 1 Max Skillcape.
• Added a "View Monster Stats" window to the game, allowing you to view the stats and Special Attacks/Passive of Monsters you have killed. This can be accessed by clicking the Monster's image in the Monster Log.
• Search Synergies page now contains an icon of the Skill relating to the Familiar in the top left corner.
• The new system will now attempt to mitigate browser throttling automatically by comparing timestamps and awarding you the correct progress if a large enough time difference is detected.
• A large popup will now display if your Force Save to the Cloud does not succeed for whatever reason.
• There is also a nice new notification confirming if the Cloud Save was successful.
• The confirmation popup when attempting to load a Save while connected to the Cloud will now also display the save's timestamp.

#### Changed Features

• Player Stats such as Max Hit, Evasion Rating and Accuracy Ratings have been adjusted as per the above breakdown.
• Increased the amount of Bank Slots a Character can buy to 78, up from 68.
• All images for Items have been converted to PNG format (they were previously SVG). This should drastically increase performance throughout the bank, specifically with banks that contain over 100 items.
• "Attack Speed" is now known as "Attack Interval" throughout the entire game to allow for clear descriptions of Modifiers.
• now has a Max Hit for Normal Attacks of 765, up from 10.
• Reduced Magic Damage Bonus to 8, down from 17. This is due to the above stat changes to ensure her Max Hit does not increase above her intended Max.
• Reduced Strength Level to 669, down from 700. Due to the above stat calculation changes, his Max Hit has increased by 1.
• Buff - Burn DOT Effect - Now deals damage equal to 15% of Current HP over 2.5s (up from 15% Current HP over 5s). "Current HP" refers to the HP of the Player/Enemy the Burn effect is applied to.
• Buff - + Synergy - +15% chance to receive +1 Cooked Food in . Cannot be doubled (up from 1%).
• Buff - + Synergy - +50% Lifesteal from Bleed damage (up from 1%).
• Buff - + Synergy - In , +30% chance for a random Silver or Gold Jewellery to drop instead of a (up from 1%).
• Buff - + Synergy - When successfully pick pocketing the in , +20% chance to get a random Gem (up from 10%).
• Buff - + Synergy - The in now deals no damage to you. Now also Grants +1 Base Items from the Chef.
• - New Special Attack Name & Description (still works the same, no mechanical changes) - Magic Ray (100%) Converts your selected Standard Magic Spell into a Magic Ray, dealing up to 40% of your normal damage 5 times over 1.6s. On a hit, gives the enemy +15% Attack Interval for 2 of the enemy's turns. Consumes Runes per hit.
• - Special Attack is now Melee Only and cannot be used if you are using a or Attack Type. It will not display in the Special Attack list if it cannot be used. Now requires Level 50 to equip. Special Attack chance is now 15%, down from 20%. Damage dealt is now 1% - 15% of Current Player HP, down from 5 - 15%.
• Sandstorm Special Attack - Damage dealt is now 1% - 15% of Current Enemy HP, down from 5 - 15%
• The format in which Local Saves are stored has changed. Local Saves now only store the compressed string into Local Storage. It no longer stores each individual save item. Old save formats are automatically converted to the new format upon loading. Old saves are still compatible with this version.

#### Bugfixes

• "Most Recent Save" banner on the character selection screen now displays accurately (this was hotfixed roughly 6 weeks ago).
• now correctly provide +50% Skill XP (additive).
• Merged drops from and general on the Welcome Back screen.
• Offline Progress spinner on the Welcome Back popup no longer causes a scroll bar to appear and disappear rapidly.
• Inconsistencies with mouse icon on horizontal menu items in crafting-related skills has been fixed.
• Issues loading into the game from Offline Progress that cause errors have mostly been rectified.
• Activating Offline by switching tab or minimizing the game will now consistently activate the Offline session, gaining the correct amount of XP.
• no longer provides a 10% bonus instead of the intended 15% bonus.
• Burning status icon in Combat is no longer displayed on Player permanently, without taking burn damage.
• Strength is no longer calculated twice if Throwing Knives/Javelins are equipped (was only a visual bug).
• Fixed comma notation on the Screen for currently selected item.
• Rare issues of using more food than intended should be fixed.
• no longer increases Costs by 1.
• Offline now correctly provides double log bonuses.
• and no longer provide a larger HP regen bonus than intended.
• now correctly applies the cost reduction bonus obtained at Level 99 .
• no longer provides +15% XP Bonus instead of the intended +30%.
• Double clicking loot will give both the clicked loot and the loot to the right without removing the right side loot allowing infinite duplication.
• Issue that caused the "Sell x" textbox in the Bank to lag considerably during long play sessions when changing the value has been rectified.
• Performance around equipping and unequipping items have been greatly improved.
• Tooltips within the Bank no longer have a slight delay when displaying due to high item counts.
• Very rare occurance of dying twice within the has been fixed.
• Memory Leak issues should be mostly eliminated for Steam users.
• 'Cancel' New Task selection button no longer disappears when Monsters respawn.
• Sidebar Menu item is now highlighted while training, instead of .
• Fixed rare occurrence of dungeons icons not working while fighting the second+ Monster.
• Dropped Loot tooltips now correctly show item descriptions, special attacks or healing value.
• label is no longer unhighlighted after equip/burying something from the bank or changing attack style.
• Magic Evasion debuff is now applied correctly while using .
• Rare occurrence of super fast attack interval within the Golbin Raid should be fixed.
• Combat Skill Progress Bars should be fixed and no longer show incorrect progress.
• Golbin Raid should now correctly set your character unlocks back to the intended values when leaving or dying within the Raid. This includes Prayers and Magic Spells.
• Activating Prayers now correctly turns the text of in the Sidebar green.
• Special Attacks persisting after weapon swapping in Golbin Raid should be fixed.
• Rare occurrence of fluctuating damage values for the should be fixed.
• Lack of description on Attack Bar tooltip within is now fixed.
• Summon attacks that miss in now correctly display a Miss indicator.
• Finding the within the Golbin Raid will no longer break everything.
• CPU usage due to progress bars within should now use much less CPU.
• Issue with unintentionally using Doubling Chance has been fixed.
• Ancient Magicks tooltip displaying how many clears are remaining should no longer go into negatives.
• are now inside the Combination Runes array.
• + Synergy no longer only uses charges on drop Online.
• + Synergy no longer uses charges when the potion is inactive.
• + Synergy no longer uses charges when the potion is inactive Online.
• + Synergy now properly uses charges Offline.
• + Synergy no longer uses charges when the potion is inactive.
• + Synergy no longer uses charges when the potion is inactive.
• + Synergy now properly uses charges in Online.
• + Synergy no longer only uses charges on gem drop.
• + Synergy no longer uses charges even when Ores with no output.
• + Synergy no longer uses charges when the potion is inactive.
• + Synergy charges no longer use the incorrect interval resulting in inaccurate XP provided Offline.
• + Synergy no longer uses the incorrect interval resulting in inaccurate XP provided.
• + Synergy no longer uses charges at the start of the interval.
• + Synergy now properly uses charges Offline.
• + Synergy no longer uses the incorrect interval resulting in inaccurate XP provided Offline.
• + Synergy no longer uses charges when even though it didn't use the potion.
• + Synergy no longer uses the incorrect interval resulting in inaccurate XP provided Offline.
• + Synergy no longer uses charges when items without requirements.
• + Synergy actually halved the interval, instead of doubling it for in lol.
• + Synergy no longer only uses charges when you fail the pickpocket while Online.
• + Synergy no longer incorrectly rolls the RNG value, resulting in inaccurate bonuses provided Online.
• + Synergy now properly uses charges Offline.
• + Synergy now properly uses charges when preserving resources.
• + Synergy no longer uses charges when the potion is inactive.
• + Synergy no longer uses the incorrect interval resulting in inaccurate XP provided Offline.
• + Synergy no longer uses charges when the potion is inactive.

Melvor Idle Version History (Current: v1.0.3)
2018 v0.01 .1, .2 | v0.02 | v0.03 .1, .2, .3, .4, .5, .6
2019 v0.04 .2, .3 | v0.05 .1 | v0.06 | v0.07 .1 | v0.08 .1, .2 | v0.09 .1, .2 | v0.10 .1, .2
2020 v0.11 .1, .2 | v0.12 .1, .2 | v0.13 | v0.14 .1, .2 | v0.15 .1, .2, .3, .4 | v0.16 .1, .2, .3 | v0.17 | v0.18 .1
2021 v0.18.2 | v0.19 .1, .2 | v0.20 | v0.21 | v0.22 .1 | v1.0 .1
2022 v1.0.2 v1.0.3