mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 20:22:33 -06:00
Well that didn't fix fishing. Here's a proper fix.
This commit is contained in:
parent
784535541d
commit
9c8e85b137
1 changed files with 4 additions and 1 deletions
|
@ -713,8 +713,11 @@ def getValue(genus, species, weight):
|
||||||
value = OVERALL_VALUE_SCALE * (rarityValue + weightValue)
|
value = OVERALL_VALUE_SCALE * (rarityValue + weightValue)
|
||||||
finalValue = int(ceil(value))
|
finalValue = int(ceil(value))
|
||||||
base = getBase()
|
base = getBase()
|
||||||
if simbase.air.newsManager.isHolidayRunning(ToontownGlobals.JELLYBEAN_FISHING_HOLIDAY) or simbase.air.newsManager.isHolidayRunning(ToontownGlobals.JELLYBEAN_FISHING_HOLIDAY_MONTH):
|
newsManager = base.cr.newsManager if hasattr(base, 'cr') else simbase.air.newsManager
|
||||||
|
|
||||||
|
if newsManager.isHolidayRunning(ToontownGlobals.JELLYBEAN_FISHING_HOLIDAY) or newsManager.isHolidayRunning(ToontownGlobals.JELLYBEAN_FISHING_HOLIDAY_MONTH):
|
||||||
finalValue *= JellybeanFishingHolidayScoreMultiplier
|
finalValue *= JellybeanFishingHolidayScoreMultiplier
|
||||||
|
|
||||||
return finalValue
|
return finalValue
|
||||||
|
|
||||||
__totalNumFish = 0
|
__totalNumFish = 0
|
||||||
|
|
Loading…
Reference in a new issue