Anonymous

Mining: Difference between revisions

From Melvor Idle
4,810 bytes added ,  21 April 2022
→‎Rock HP: Add information about passive HP regeneration
m (Added Pet)
(→‎Rock HP: Add information about passive HP regeneration)
(30 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{V0.16.1}}
{{V|1.0.3}}
{{Otheruses|the {{PAGENAME}} skill|training the skill|{{PAGENAME}}/Training}}


[[File:Mining (skill).svg|thumb|right|Mining]]
[[File:Mining (skill).svg|thumb|right|Mining]]


Mining is used for Mining ore, rune essence, and gems. Each Mining action takes 3 seconds, and can be reduced by pickaxe upgrades. Purchasing the [[Master of Nature]] god upgrade reduces this time by 20%. These reductions are multiplicative with each other. Ore and rune essence amounts can be doubled by wearing [[Mining Gloves]] with active charges. Raising Mining to level 99 will unlock the [[Mining Skillcape]] for purchase from the [[Shop]]. Equipping the [[Mining Skillcape]] will give 1 bonus [[Coal Ore]] for every Mining action.
'''{{PAGENAME}}''' is used for Mining [[#Ores|ore]], {{ItemIcon|Rune Essence}}, and [[#Gems|gems]]. Each Mining action takes 3 seconds, and can be reduced by 5-50% by purchasing [[#Pickaxes|pickaxe upgrades]], 15% by purchasing the {{UpgradeIcon|Master of Nature}} god upgrade, and 0.2 seconds by reaching the 50% [[#Mastery Pool Checkpoints|Mastery pool checkpoint]]. The [[#Pickaxes|pickaxe upgrade]] and {{UpgradeIcon|Master of Nature}} reductions are additive with each other, applying before the 0.2 second [[Mastery]] reduction, resulting in the lowest possible action time of 0.85 seconds. Ore and rune essence amounts can be doubled by wearing {{ItemIcon|Mining Gloves}} with active charges. Raising Mining to {{SkillReq|{{PAGENAME}}|99}} will unlock the {{ItemIcon|Mining Skillcape}} for purchase from the [[Shop]]. Equipping the [[Mining Skillcape]] will give 1 bonus {{ItemIcon|Coal Ore}} for every Mining action.


==Mastery Unlocks==
==Mastery Unlocks==
Mining [[Mastery]] has two bonus effects. Every 10 levels it gives it adds a cumulative 1% chance of getting 2 ores instead of 1; this effect is additive with the pickaxe bonus. Each level of Mining mastery also increases rock HP.
 
===Item Mastery Unlocks===
{{MasteryUnlocks}}
 
===Mastery Pool Checkpoints===
{{MasteryCheckpoints}}


===Rock HP===
===Rock HP===
Rock HP determines how many ores can be extracted from a rock before it has to regenerate. Maximum rock HP is calculated with this formula:
Rock HP determines how many ores can be extracted from a rock before it has to respawn. All rocks passively regenerate HP at a rate of 1 every 10 seconds, stopping when a rock reaches its maximum HP. Regeneration does not occur while a rock is respawning after being fully depleted.
 
Maximum rock HP is calculated as follows:
 
<!-- See in-game function: getRockMaxHP()
--><math> \text{Rock HP}=5 + \text{Mastery Level} + \text{Bonus} </math>


<math> \text{Rock HP}=\text{Mastery Level} + 5 </math>
Where <math>\text{Bonus}</math> starts at 0, increasing by:
* +10 if the 95% {{Icon|Mastery}} pool checkpoint has been reached
* +20 when both the {{ItemIcon|Mole}} and {{ItemIcon|Bear}} {{Skill|Summoning}} synergy and [[Perfect Swing Potion]] is active
* The below amounts when the relevant bonuses are active:
{{ModifierTable|MiningNodeHP|HP Bonus}}


[[Herblore#Skill_Potions|Perfect Swing Potions]] can be used to give a 10-80% chance to not lower rock HP while Mining.
In addition, the following can be used to provide a chance to deal no damage to rock HP while Mining:
{{ModifierTable|ChanceNoDamageMining|Preserve Chance}}
Using these bonuses effectively increases a rock's HP to <math>\frac{\text{Rock HP}}{1 - \text{Preserve Chance}}</math>. For example, a rock with a max HP of 12 while the {{ItemIcon|Perfect Swing Potion III}} is being used will have an effective max HP of <math>\frac{12}{1 - 0.4} = 20</math>.


Due to passive rock HP regeneration, it is possible (given a sufficiently high maximum rock HP) to ensure a rock always has HP and never has to respawn, no matter how long it has been mined for. To achieve this, the player's chance to deal zero damage to ores must be at least <math>\left \lceil 1 - \frac{\text{Action Interval (seconds)}}{10} \right \rceil</math>.
Therefore, the chance required in order to avoid respawns at the lowest possible interval (0.85 seconds) is <math>\left \lceil 1 - \frac{0.85}{10} \right \rceil = \left \lceil 0.915 \right \rceil = 0.92 = 92\%</math> or higher. This can be achieved by using {{ItemIcon|Perfect Swing Potion IV}}, {{ItemIcon|Miner's Helmet}}, and at least +9% from {{Icon|Terra|type=constellation}}.
Below lists the rock HP at various {{Icon|Mastery}} levels with and without the maximum possible bonus:
{| class="wikitable"
{| class="wikitable"
|- class="headerRow-0"
! rowspan="2" | Mastery Level !! colspan="2" | Max Rock HP
|- class="headerRow-1"
! Without Bonus !! With Bonus
|-
|-
! Mastery Level !! Max Rock HP
| 1 || 6 || 61
|-
|-
| 1 || 6
| 2 || 7 || 62
|-
|-
| 2 || 7
| 3 || 8 || 63
|-
|-
| 3 || 8
| 4 || 9 || 64
|-
|-
| 4 || 9
| 5 || 10 || 65
|-
|-
| 5 || 10
| 10 || 15 || 70
|-
|-
| 10 || 15
| 20 || 25 || 80
|-
|-
| 20 || 25
| 50 || 55 || 110
|-
|-
| 50 || 55
| 75 || 80 || 135
|-
|-
| 75 || 80
| 99 || 104 || 159
|-
| 99 || 104
|}
|}
== Skillcape ==
The [[Skillcapes|skillcape]] can be purchased from the store for {{GP|1000000}} after the player reaches {{SkillReq|{{PAGENAME}}|99}}.
{{SkillcapeInfo}}


== Pet ==
== Pet ==
The pet can be unlocked by doing any fishing action.
The [[Pets|pet]] can be unlocked by doing any Mining action.
{| class="wikitable"
{{PetSkillInfo}}
|-
! Pet !! Name !! Effect
|-
| [[File:Cool Rock (pet).svg|60px]] || [[Cool Rock]] || All mining nodes gain +5 Max HP.
|}


==Pickaxes==
==Pickaxes==
Pickaxes are permanent upgrades purchased from the [[Shop]] that decrease the amount of time it takes to mine ore by their bonus speed percentage. In addition they provide a chance to double ores.
Pickaxes are permanent upgrades purchased from the [[Shop]] that decrease the amount of time it takes to mine ore by their bonus speed percentage. In addition they provide a chance to double ores. The bonuses provided by these upgrades are permanently active once purchased, they do not need to be equipped or otherwise enabled.
{{PickaxeUpgradeTable}}
{{PickaxeUpgradeTable}}
== Ores ==
== Ores ==
Higher tiers of ore are unlocked as the player's Mining level increases. Mining [[Rune Essence]] yields double the amount of ore, however [[Gem Gloves]] will not work when Mining it. To begin Mining [[Dragonite Ore]] the player must have at least 270 Mining [[mastery]] levels in total.
Higher tiers of ore are unlocked as the player's Mining level increases. Mining {{ItemIcon|Rune Essence}} yields double the amount of ore, however {{ItemIcon|Gem Gloves}} will not work when Mining it. To begin Mining {{ItemIcon|Dragonite Ore}} the player must have at least 271 Mining [[mastery]] levels in total.
{{MiningOresTable}}
{{MiningOresTable}}


==Gems==
==Gems==
Each Mining action has a 1% gem find chance, which is increased to 100% when wearing [[Gem Gloves]]. The possible gem drops are shown in the table below:
Each Mining action has a 1% gem find chance, which can be increased by +1-15% when the increased chance to receive gems modifier from {{Icon|type=constellation|Terra}} is active, or can be increased to 100% when wearing {{ItemIcon|Gem Gloves}}. If the {{ItemIcon|Clue Chasers Insignia}} is equipped, then this chance is increased by 10% of its current value (For example, a 20% chance becomes <math>20\% \times 1.1 = 22\%</math> when Clue Chasers Insignia is equipped). The chance to receive a gem is capped at 100%, so any bonuses above this limit have no effect.
 
The {{ItemIcon|Mole}} and {{ItemIcon|Octopus}} [[Summoning#Synergies|synergy]] may also be used for a 15% chance to receive an additional gem of any type whenever a gem is dropped while Mining.
 
The possible gem drops are shown in the table below:
{{MiningGemsTable}}
{{MiningGemsTable}}
==Potion==
The [[Perfect Swing Potion]] provides a chance to mine from a rock without lowering the rock's HP.
{{PotionTable|Perfect Swing Potion}}
==Summoning Boosts==
This table shows all the {{Skill|Summoning}} Familiars and Synergies that provide a bonus to {{PAGENAME}}.
{{SkillSummoningBonusTable|{{PAGENAME}}}}
==Skill Boosts==
This table lists most sources of {{PAGENAME}}-specific modifier boosts. For a list of boosts that apply to all skills, see the [[Skill Boosts]] page. This list does not contain boosts provided from {{Icon|Mastery}} rewards.
{{ModifierTable|increasedSkillXP,decreasedSkillIntervalPercent,increasedSkillPreservationChance,decreasedSkillInterval,increasedChanceToDoubleItemsSkill,increasedChanceAdditionalSkillResource,increasedMasteryXP,increasedChanceNoDamageMining,increasedMiningNodeHP,increasedChanceToDoubleOres|{{PAGENAME}} Boosts|false|skill={{PAGENAME}}}}
==Trivia==
Prior to the release of [[V1.0]], the source code file for the Mining skill was called <code>rockHitting.js</code>, which is in contrast to other skills' source files which are named eponymously (i.e., <code>woodcutting.js</code> for [[Woodcutting]]). This used to be case for Mining as well[https://discord.com/channels/625838709203271680/625840209531240469/821955701303541780], however it turned out that some browsers or extensions block a script called <code>mining.js</code>, likely in an attempt to prevent unwanted crypto mining, so the file was eventually renamed.
Upon release of [[V1.0]], Mining became one of a small number of tick-based skills, at which point the source file was renamed once more to <code>rockTicking.js</code>.
{{Menu}}
{{Menu}}
[[Category:Skills]]
[[Category:Skills]]