Skip to content

Commit

Permalink
Add effect which affects entosis duration on cap ships
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Jun 2, 2015
1 parent dbfcfd9 commit a4ca2e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions eos/effects/entosisdurationmultiply.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# entosisDurationMultiply
#
# Used by:
# Ships from group: Carrier (4 of 4)
# Ships from group: Dreadnought (4 of 4)
# Ships from group: Supercarrier (5 of 5)
# Ships from group: Titan (4 of 4)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Infomorph Psychology"),
"duration", ship.getModifiedItemAttr("entosisDurationMultiplier") or 1)

0 comments on commit a4ca2e9

Please sign in to comment.