Mining: Difference between revisions

936 bytes added ,  21 April 2022
→‎Rock HP: Add information about passive HP regeneration
m (Updated page version to v1.0.2)
(→‎Rock HP: Add information about passive HP regeneration)
Line 1: Line 1:
{{V|1.0.2}}
{{V|1.0.3}}
{{Otheruses|the {{PAGENAME}} skill|training the skill|{{PAGENAME}}/Training}}
{{Otheruses|the {{PAGENAME}} skill|training the skill|{{PAGENAME}}/Training}}


Line 15: Line 15:


===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()
<!-- See in-game function: getRockMaxHP()
Line 29: Line 31:
{{ModifierTable|ChanceNoDamageMining|Preserve Chance}}
{{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>.
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:
Below lists the rock HP at various {{Icon|Mastery}} levels with and without the maximum possible bonus: