Files
pyfa/eos/effects/subsystembonusminmatardefensiveshieldresistance.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

8 lines
385 B
Python
Executable File

# Used by:
# Subsystem: Loki Defensive - Adaptive Shielding
type = "passive"
def handler(fit, module, context):
level = fit.character.getSkill("Minmatar Defensive Systems").level
for type in ("Em", "Explosive", "Kinetic", "Thermal"):
fit.ship.boostItemAttr("shield{0}DamageResonance".format(type), module.getModifiedItemAttr("subsystemBonusMinmatarDefensive") * level)