From 9f560584cedd52e0ea388fb1e1271bd59ff13bb1 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sun, 27 May 2018 16:29:47 -0400 Subject: [PATCH] Fix fighter DPS graph (#1521) --- eos/graph/fitDps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eos/graph/fitDps.py b/eos/graph/fitDps.py index 6aead3583..71a95d26e 100644 --- a/eos/graph/fitDps.py +++ b/eos/graph/fitDps.py @@ -141,14 +141,14 @@ class FitDpsGraph(Graph): targetVelocity = data["velocity"] explosionRadius = ability.fighter.getModifiedItemAttr("{}ExplosionRadius".format(prefix)) explosionVelocity = ability.fighter.getModifiedItemAttr("{}ExplosionVelocity".format(prefix)) - damageReductionFactor = ability.fighter.getModifiedItemAttr("{}ReductionFactor".format(prefix)) + damageReductionFactor = ability.fighter.getModifiedItemAttr("{}ReductionFactor".format(prefix), None) # the following conditionals are because CCP can't keep a decent naming convention, as if fighter implementation # wasn't already fucked. if damageReductionFactor is None: damageReductionFactor = ability.fighter.getModifiedItemAttr("{}DamageReductionFactor".format(prefix)) - damageReductionSensitivity = ability.fighter.getModifiedItemAttr("{}ReductionSensitivity".format(prefix)) + damageReductionSensitivity = ability.fighter.getModifiedItemAttr("{}ReductionSensitivity".format(prefix), None) if damageReductionSensitivity is None: damageReductionSensitivity = ability.fighter.getModifiedItemAttr( "{}DamageReductionSensitivity".format(prefix))