138
edits
(Add initial number of fish calculation.) |
(Add catching 2 fish table.) |
||
Line 85: | Line 85: | ||
The formula to calculate the fish LV that can be caught based on your fishing level: | The formula to calculate the fish LV that can be caught based on your fishing level: | ||
<pre> | <pre>fishLV = rnd(fishingLevel * 2) + 1</pre> | ||
* '''fishingLevel''': Your current fishing skill level. | * '''fishingLevel''': Your current fishing skill level. | ||
* '''rnd''': A random number between '''0''' and the value passed into the function. | * '''rnd''': A random number between '''0''' and the value passed into the function. | ||
Line 157: | Line 156: | ||
The formula to calculate the number of fish you can catch based on your fishing level: | The formula to calculate the number of fish you can catch based on your fishing level: | ||
<pre>Number of Fish = rnd(fishingLevel / ( | <pre>Number of Fish = rnd(fishingLevel / (fishLV + 10)) + 1</pre> | ||
* '''fishingLevel''': Your current fishing skill level. | * '''fishingLevel''': Your current fishing skill level. | ||
* ''' | * '''fishLV''': The fish LV. | ||
* '''rnd''': A random number between '''0''' and the value passed into the function. | * '''rnd''': A random number between '''0''' and the value passed into the function. | ||
==== Example ==== | ==== Example ==== | ||
If your fishing level is '''3''', and the | If your fishing level is '''3''', and the fish LV is determined to be '''5''', the potential number of fish is calculated as: | ||
<pre>rnd(3 / (5 + 10)) + 1</pre> | <pre>rnd(3 / (5 + 10)) + 1</pre> | ||
Line 174: | Line 173: | ||
The <code>rnd(3 / 15)</code> generates a random number between '''0''' and approximately '''0.2'''. Adding 1 ensures that you will catch at least 1 fish. | The <code>rnd(3 / 15)</code> generates a random number between '''0''' and approximately '''0.2'''. Adding 1 ensures that you will catch at least 1 fish. | ||
==== Minimum Fishing Level for 2 Fish Table ==== | |||
{| class="wikitable sortable" | |||
|- | |||
! Fish LV !! Minimum Fishing Level for 2 Fish | |||
|- | |||
| 1 || 11 | |||
|- | |||
| 5 || 15 | |||
|- | |||
| 10 || 20 | |||
|- | |||
| 15 || 25 | |||
|- | |||
| 20 || 30 | |||
|- | |||
| 25 || 35 | |||
|- | |||
| 30 || 40 | |||
|- | |||
| 35 || 45 | |||
|- | |||
| 40 || 50 | |||
|} | |||
==== Code (EA 23.37) ==== | ==== Code (EA 23.37) ==== |
edits