Skip to content

Commit

Permalink
New effects
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Jun 29, 2016
1 parent c8175d1 commit cdca8fe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eos/effects/shipbonusdreadnoughtm1webbonus.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "speedFactor", src.getModifiedItemAttr("shipBonusDreadnoughtM1"), skill="Minmatar Dreadnought")
3 changes: 3 additions & 0 deletions eos/effects/shipbonussupercarrierm1burstprojectorwebbonus.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Burst Projector Operation"), "speedFactor", src.getModifiedItemAttr("shipBonusSupercarrierM1"), skill="Minmatar Carrier")
3 changes: 3 additions & 0 deletions eos/effects/shipbonustitanm1webbonus.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "speedFactor", src.getModifiedItemAttr("shipBonusTitanM1"), skill="Minmatar Titan")
3 changes: 3 additions & 0 deletions eos/effects/shipbonustitanrole3damagebonus.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), "damageMultiplier", src.getModifiedItemAttr("shipBonusRole3"))

0 comments on commit cdca8fe

Please sign in to comment.