Elin:Code Analysis/Mining: Difference between revisions

no edit summary
m (add spoiler template)
No edit summary
Line 29: Line 29:
* The player's effective hardness is given by floor(''toolHardness'' + ''miningSkill'' * 3 / 2), where ''toolHardness'' is the hardness of the player's pickaxe and ''miningSkill'' is the player's mining skill. Hence, the skill requirement can be calculated by ''miningSkill'' ≥ 2 / 3 * (''reqHardness'' - ''toolHardness'').
* The player's effective hardness is given by floor(''toolHardness'' + ''miningSkill'' * 3 / 2), where ''toolHardness'' is the hardness of the player's pickaxe and ''miningSkill'' is the player's mining skill. Hence, the skill requirement can be calculated by ''miningSkill'' ≥ 2 / 3 * (''reqHardness'' - ''toolHardness'').
** To be precise, the mined object's category and mining pick's enchant state and bless state also affect this calculation, which is omitted here for simplicity.
** To be precise, the mined object's category and mining pick's enchant state and bless state also affect this calculation, which is omitted here for simplicity.
[[Category:Elin Meta]]
443

edits