Applied Mining Crystal Bonus to modules
Previously the mining crystal bonus was not applied to modules, so adding a crystal didn't change the amount mined at all. This now applies. Left the old application in place, so it still applies to a nonsense `specialtyMiningAmount` stat if you want to see that seperated out for some weird reason.
This commit is contained in:
@@ -6,3 +6,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
module.multiplyItemAttr("specialtyMiningAmount", module.getModifiedChargeAttr("specialisationAsteroidYieldMultiplier"))
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Mining"),
|
||||
"miningAmount", module.getModifiedChargeAttr("specialisationAsteroidYieldMultiplier"))
|
||||
|
||||
Reference in New Issue
Block a user