mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -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)
|
||||
finalValue = int(ceil(value))
|
||||
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
|
||||
|
||||
return finalValue
|
||||
|
||||
__totalNumFish = 0
|
||||
|
|
Loading…
Reference in a new issue