mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 05:13:39 -07:00
Temporary Fishing Fixes for rando (#1525)
Co-authored-by: aMannus <mannusmenting@gmail.com> Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
978b325a30
commit
b18cc9d628
2 changed files with 5 additions and 17 deletions
|
@ -2901,18 +2901,8 @@ f32 Fishing_GetMinimumRequiredScore() {
|
|||
// values above rando fish weight values when rando'd
|
||||
if(sLinkAge == 1) {
|
||||
weight = CVar_GetS32("gChildMinimumWeightFish", 10);
|
||||
if (gSaveContext.n64ddFlag) {
|
||||
if (weight > 8) {
|
||||
weight = 8;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
weight = CVar_GetS32("gAdultMinimumWeightFish", 13);
|
||||
if (gSaveContext.n64ddFlag) {
|
||||
if (weight > 10) {
|
||||
weight = 10;
|
||||
}
|
||||
}
|
||||
weight = CVar_GetS32("gAdultMinimumWeightFish", 13);
|
||||
}
|
||||
|
||||
return sqrt(((f32)weight - 0.5f) / 0.0036f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue