Skip to content

Commit

Permalink
Merge pull request #578 from lunedis/dda_stacking_fix
Browse files Browse the repository at this point in the history
Fixing Drone Damage Amplifier fighter stacking issue #576
  • Loading branch information
blitzmann committed May 1, 2016
2 parents 1fe42f6 + 3ce5f69 commit a1d64ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eos/effects/modulebonusdronedamageamplifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Modules from group: Drone Damage Modules (11 of 11)
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityMissilesDamageMultiplier", src.getModifiedItemAttr("droneDamageBonus"))
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityAttackTurretDamageMultiplier", src.getModifiedItemAttr("droneDamageBonus"))
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityAttackMissileDamageMultiplier", src.getModifiedItemAttr("droneDamageBonus"))
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityMissilesDamageMultiplier", src.getModifiedItemAttr("droneDamageBonus"), stackingPenalties=True)
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityAttackTurretDamageMultiplier", src.getModifiedItemAttr("droneDamageBonus"), stackingPenalties=True)
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityAttackMissileDamageMultiplier", src.getModifiedItemAttr("droneDamageBonus"), stackingPenalties=True)
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "damageMultiplier", src.getModifiedItemAttr("droneDamageBonus"), stackingPenalties=True)

0 comments on commit a1d64ac

Please sign in to comment.