Multi-Tree: Difference between revisions

853 bytes added ,  1 December 2022
Update log quantity formula for guaranteed doubling
m (Update to v1.1.1)
(Update log quantity formula for guaranteed doubling)
Line 8: Line 8:
This upgrade does not increase the chance of acquiring rare items such as {{ItemIcon|Signet Ring Half (a)}}, {{ItemIcon|Circlet of Rhaelyx}}, or [[Mastery Tokens]], as the number of actions performed remains unchanged.
This upgrade does not increase the chance of acquiring rare items such as {{ItemIcon|Signet Ring Half (a)}}, {{ItemIcon|Circlet of Rhaelyx}}, or [[Mastery Tokens]], as the number of actions performed remains unchanged.


== Example ==
== Log Quantity ==
The quantity of logs obtained from any one of the trees being cut is defined as follows:
 
<math>\Big\lfloor \left ( \text{Logs}_{Base} \times M_{DoubleChance} \times M_{DoubleGuaranteed} + \text{Logs}_{Additional} \right ) \times M_{Action} \Big\rfloor</math>
 
Where:
* <math>\text{Logs}_{Base}</math> is the base quantity of logs, which is 1 for all trees unless the 20% chance for the {{ItemIcon|Ent}} + {{ItemIcon|Salamander}} [[Synergy]] succeeds, in which case the base quantity becomes 2
* <math>M_{DoubleChance}</math> is 2 if the roll for the chance to double logs succeeds, or 1 otherwise
* <math>M_{DoubleGuaranteed}</math> is 2 if the {{ItemIcon|Crown of Madremonte}} is equipped, or 1 otherwise
* <math>\text{Logs}_{Additional}</math> is 1 if the roll for the chance of an additional resource (provided by things such as {{ItemIcon|Ent}}) succeeds, or 0 otherwise
* <math>M_{Action}</math> is as defined above
 
=== Example ===
Consider the scenario where the player is simultaneously cutting Oak trees with an action time of 1.1 seconds and Yew trees with an action time of 4 seconds, then for every action:
Consider the scenario where the player is simultaneously cutting Oak trees with an action time of 1.1 seconds and Yew trees with an action time of 4 seconds, then for every action:
* The number of {{ItemIcon|Yew Logs}} obtained will be between 1 and 3
* The number of {{ItemIcon|Yew Logs}} obtained will be between 1 and 3
* If both the chance to double and chance for additional resource rolls succeed, then up to {{ItemIcon|Oak Logs|qty=10}} may be gained. This is calculated as <math>\Big\lfloor \left ( \text{Logs}_{Base} \times M_{Double} + \text{Logs}_{Additional} \right ) \times M_{Action} \Big\rfloor = \Big\lfloor \left ( 1 \times 2 + 1 \right ) \times \frac{4}{1.1} \Big\rfloor = \left \lfloor 10.\overline{90} \right \rfloor = 10</math>
* If both the chance to double and chance for additional resource rolls succeed, then up to {{ItemIcon|Oak Logs|qty=10}} may be gained. Using the formula above, this is calculated as <math>\Big\lfloor \left ( 1 \times 2 \times 1 + 1 \right ) \times \frac{4}{1.1} \Big\rfloor = \left \lfloor 10.\overline{90} \right \rfloor = 10</math>
* The amount of skill XP gained (before any bonuses) from the Oak tree would then be <math>15 \times \frac{4}{1.1} = 54.\overline{54}</math>
* The amount of skill XP gained (before any bonuses) from the Oak tree would then be <math>15 \times \frac{4}{1.1} = 54.\overline{54}</math>