Anonymous

Mining: Difference between revisions

From Melvor Idle
7,999 bytes added ,  2 December 2022
Gem veins do not benefit from the chance to deal zero rock damage
m (Use auto generated pet info)
(Gem veins do not benefit from the chance to deal zero rock damage)
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{V|0.18.0}}
{{V|1.1.1}}
{{Otheruses|the Mining skill|training the skill|Mining/Training}}
{{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 [[#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]], 20% 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 multiplicative with each other, applying before the 0.2 second [[Mastery]] reduction. 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.
'''{{PAGENAME}}''' is a skill used to gather [[#Ores|ore]], {{ItemIcon|Rune Essence}}, {{ItemIcon|Pure Essence}}, and [[#Gems|gems]] for use in many other skills.


==Mastery Unlocks==
== Mechanics ==
Each Mining action takes 3 seconds. This time can be reduced by 5-50% by purchasing [[#Pickaxes|pickaxe upgrades]], 15% by purchasing the {{UpgradeIcon|Master of Nature}} god upgrade, 3% with the {{Skill|Agility|Elite Pillar of Expertise}}, 2% with {{PetIcon|Harold}}, 0.2 seconds by reaching the 50% [[#Mastery Pool Checkpoints|Mastery pool checkpoint]], and then by another 0.2 seconds while the {{ItemIcon|Mole}} + {{ItemIcon|Eagle}} [[Synergy]] is active. The percentage reductions are applied before the flat reductions, resulting in the lowest possible action time of 0.5 seconds when all reductions are active.
 
Ore 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. The {{ItemIcon|Superior Mining Skillcape}}, which becomes available once {{SkillReq|{{PAGENAME}}|120}} has been reached, increases the bonus [[Coal Ore]] quantity to 2 while also providing +5% chance to find gem veins while mining.
 
===Rock HP===
Rock HP determines how many ores can be extracted from a rock before it has to respawn. Ore and essence rocks other than {{Icon|Meteorite Ore|Meteorite|type=rock|img=Meteorite}} 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.


===Item Mastery Unlocks===
For ore and essence rocks besides {{Icon|Meteorite Ore|Meteorite|type=rock|img=Meteorite}}, the maximum HP is calculated as follows:
{{MasteryUnlocks}}


===Mastery Pool Checkpoints===
<!-- See in-game function: rockTicking.js, getRockMaxHP()
{{MasteryCheckpoints}}
--><math> \text{Rock HP}=5 + \text{Mastery Level} + \text{Bonus} </math>


===Rock HP===
Where <math>\text{Bonus}</math> starts at 0, increasing by:
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:
* +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}}


<math> \text{Rock HP}=5 + \text{Mastery Level} + \text{Pet Bonus} </math>
In addition, the following can be used to provide a chance to deal no damage to rock HP while Mining. Note that these bonuses work for ores or essence only, not gem veins.
{{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>.


Where <math>\text{Pet Bonus}</math> is 5 if {{PetIcon|{{PAGENAME}}}} is unlocked, or 0 otherwise.
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>.


[[Perfect Swing Potion|Perfect Swing Potions]] can be used to give a 10-80% chance to not lower rock HP while Mining.
Therefore, the chance required in order to avoid respawns at the an interval of 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. Currently the maximum possible chance is 91% when the highest tier of {{Icon|Perfect Swing Potion}} and all other available bonuses are utilized.


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 || 86
|-
|-
| 1 || 6
| 2 || 7 || 87
|-
|-
| 2 || 7
| 3 || 8 || 88
|-
|-
| 3 || 8
| 4 || 9 || 89
|-
|-
| 4 || 9
| 5 || 10 || 90
|-
|-
| 5 || 10
| 10 || 15 || 95
|-
|-
| 10 || 15
| 20 || 25 || 105
|-
|-
| 20 || 25
| 50 || 55 || 135
|-
|-
| 50 || 55
| 75 || 80 || 160
|-
|-
| 75 || 80
| 99 || 104 || 184
|-
| 99 || 104
|}
|}
===Gem Veins===
Gem veins do not regenerate naturally, but rather may be discovered at random when mining any ore after {{Icon|Dragonite Ore|Dragonite|type=rock|img=Dragonite}}. The chance of discovering a gem vein per mining action is 0.533%, which may be increased by 5% if the {{ItemIcon|Superior Mining Skillcape}} is equipped, resulting in an overall chance of 0.56%.
The type and size of gem vein discovered is randomly determined. The discovered vein has an 85% chance of being {{ItemIcon|Onyx}}, a 10% chance of being {{ItemIcon|Oricha}}, and a 5% chance of being {{ItemIcon|Cerulean}}. The size of the vein may be either small, medium, or large:
* Small veins are discovered with a 62.5% chance, having an HP between 5 and 15
* Medium veins are discovered with a 25% chance, having an HP between 10 and 25
* Large veins are discovered with a 12.5% chance, having an HP between 20 and 60
===Meteorites===
Meteorites can be discovered at random while studying any constellation in {{Skill|Astrology}}. When discovered, the HP of the meteorite rock will be increased by a random amount between 5 and 24 HP.
==Mastery Unlocks==
===Item Mastery Unlocks===
{{MasteryUnlocks}}
===Mastery Pool Checkpoints===
{{MasteryCheckpoints}}


== Skillcape ==
== Skillcape ==
The [[Skillcapes|skillcape]] can be purchased from the store for {{GP|1000000}} after the player reaches {{SkillReq|{{PAGENAME}}|99}}.


The [[Skillcapes|skillcape]] can be purchased from the store for {{GP|1000000}} after the player reaches {{SkillReq|{{PAGENAME}}|99}}.
The [[Skillcapes|superior skillcape]] can be purchased from the store for {{GP|10000000}} after the player reaches {{SkillReq|{{PAGENAME}}|120}}.
{{SkillcapeInfo}}
{{SkillcapeInfo}}


Line 58: Line 91:


==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. The later pickaxes also provide a number of other bonuses, as listed in the table below. 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 {{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 270 Mining [[mastery]] levels in total.
Higher tiers of ore are unlocked as the player's Mining level increases. The quantity received from any ore rock is doubled when {{ItemIcon|Mining Gloves}} are in use, and normal gems are guaranteed to drop from any ore when {{ItemIcon|Gem Gloves}} are used, however neither of these gloves have any effect when used while mining essence or gem veins.
{{MiningOresTable}}
{{MiningOresTable}}


==Gems==
==Gems==
Each Mining action has a 1% gem find chance, which is increased by 10% (to 1.10%) if the {{ItemIcon|Clue Chasers Insignia}} is equipped, or to 100% when wearing {{ItemIcon|Gem Gloves}}. The possible gem drops are shown in the table below:
===Normal Gems===
{{MiningGemsTable}}
Each Mining action on ores has a 1% chance of discovering a random normal gem. This chance can be increased by any  bonuses to the chance to receive gems from Mining such as that from {{Icon|Terra|type=constellation}}, or can be guaranteed through the use of {{ItemIcon|Gem Gloves}}. If the {{ItemIcon|Clue Chasers Insignia}} is equipped, then this chance is increased by 10% (For example, a 20% chance becomes <math>20\% \times 1.1 = 22\%</math>). The chance to receive a gem is capped at 100%, so any bonuses above this limit have no effect.
 
While mining {{ItemIcon|Pure Essence}}, there is a chance that a {{ItemIcon|Runestone}} will be dropped instead of a normal gem. The chance of [[Runestone]] drops is not subject to the usual normal gem drop chance bonuses, and so the base chance of 1% may only be increased to 1.1% while wearing the {{ItemIcon|Clue Chasers Insignia}}.
 
Any gems dropped (including {{ItemIcon|Runestone|Runestones}}) may be doubled if any global or Mining specific item doubling bonuses apply. The {{ItemIcon|Mole}} and {{ItemIcon|Octopus}} [[Summoning#Synergies|synergy]] may also be used for a 15% chance to receive an additional normal gem of any type whenever a normal gem is dropped while Mining - this additional gem also has a chance to be doubled.
 
===Superior Gems===
Superior gems can drop from any gem vein (in addition to the gem provided by mining the vein) with a chance of 10% per action. This chance can be increased by any things providing a bonus to the chance to receive a quality superior gem. Superior gems may also drop while mining {{Icon|Meteorite Ore|Meteorite|type=rock|img=Meteorite}}, but only when one of the aforementioned bonuses is active, as the base chance is 0%.
 
Random superior gem drops cannot be doubled, nor does the {{ItemIcon|Mole}} and {{ItemIcon|Octopus}} [[Summoning#Synergies|synergy]] apply.
 
The possible gem drops are shown below.
<tabber>
|-|Normal Gems=
{{MiningGemsTable|Normal}}
|-|Superior Gems=
{{MiningGemsTable|Superior}}
</tabber>


==Potion==
==Potion==
The [[Perfect Swing Potion]] provides a chance to mine from a rock without lowering the rock's HP.
The [[Perfect Swing Potion]] provides a chance to mine from a rock without lowering the rock's HP. This potion has no effect while mining from a gem vein.
{{PotionTable|Perfect Swing Potion}}
{{PotionTable|Perfect Swing Potion}}
The [[Gem Detector Potion]] provides a chance to receive a quality superior gem while mining either a gem vein or {{ItemIcon|Meteorite Ore}}.
{{PotionTable|Gem Detector 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,increasedBonusCoalMining,doubleOresMining,increasedMiningGemChance,increasedChanceExtraMeteoriteOre,increasedChanceForOneExtraOre,increasedChanceForQualitySuperiorGem,doubleRuneEssenceMining,doubleSilverGoldMining,increasedGemVeinChance,increasedMeteoriteOre,increasedMiningBarChance,increasedMiningNodeHPWithPerfectSwing,decreasedGlobalSkillIntervalPercent,increasedNonCombatSkillXP,decreasedGlobalSkillIntervalPercent,increasedMasteryPoolCap|{{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]]