From a01284ff1c52d883dd882b566665f75dc6f9f52b Mon Sep 17 00:00:00 2001 From: burnsypet Date: Thu, 14 Sep 2017 21:53:53 +0100 Subject: [PATCH] Convert booster attribute to value before applying Changes to boostermissilevelocitypenalty.py: Get booster attribute value using booster.getModifiedItemAttr() before attempting to apply it to avoid type error --- eos/effects/boostermissilevelocitypenalty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/effects/boostermissilevelocitypenalty.py b/eos/effects/boostermissilevelocitypenalty.py index a472673f5..c18a39346 100644 --- a/eos/effects/boostermissilevelocitypenalty.py +++ b/eos/effects/boostermissilevelocitypenalty.py @@ -14,4 +14,4 @@ attr = "boosterMissileVelocityPenalty" def handler(fit, booster, context): fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), - "maxVelocity", attr) + "maxVelocity", booster.getModifiedItemAttr(attr))