diff --git a/eos/effects/commandburstaoebonus.py b/eos/effects/commandburstaoebonus.py index 7965a6877..5500e8578 100644 --- a/eos/effects/commandburstaoebonus.py +++ b/eos/effects/commandburstaoebonus.py @@ -8,6 +8,5 @@ type = "passive" def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Leadership"), - "maxRange", + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Leadership"), "maxRange", src.getModifiedItemAttr("areaOfEffectBonus") * src.level) diff --git a/eos/effects/mediumremoterepfittingadjustment.py b/eos/effects/mediumremoterepfittingadjustment.py new file mode 100644 index 000000000..86f6df552 --- /dev/null +++ b/eos/effects/mediumremoterepfittingadjustment.py @@ -0,0 +1,6 @@ +type = "passive" + + +def handler(fit, module, context): + module.multiply("power", module.getModifiedItemAttr("mediumRemoteRepFittingMultiplier")) + module.multiply("cpu", module.getModifiedItemAttr("mediumRemoteRepFittingMultiplier")) diff --git a/eos/effects/npcentityremotehullrepairer.py b/eos/effects/remotehullrepairentity.py similarity index 100% rename from eos/effects/npcentityremotehullrepairer.py rename to eos/effects/remotehullrepairentity.py diff --git a/eos/effects/shipmaxlockedtargetsbonusaddpassive.py b/eos/effects/shipmaxlockedtargetsbonusaddpassive.py new file mode 100644 index 000000000..c6b2256fc --- /dev/null +++ b/eos/effects/shipmaxlockedtargetsbonusaddpassive.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.increaseItemAttr("maxLockedTargets", src.getModifiedItemAttr("maxLockedTargetsBonus")) diff --git a/eos/effects/subsystembonusamarrcore2energydestabilizeramount.py b/eos/effects/subsystembonusamarrcore2energydestabilizeramount.py new file mode 100644 index 000000000..17394bb3c --- /dev/null +++ b/eos/effects/subsystembonusamarrcore2energydestabilizeramount.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Neutralizer", "energyNeutralizerAmount", + src.getModifiedItemAttr("subsystemBonusAmarrCore2"), skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrcore2energyvampireamount.py b/eos/effects/subsystembonusamarrcore2energyvampireamount.py new file mode 100644 index 000000000..cc63df78b --- /dev/null +++ b/eos/effects/subsystembonusamarrcore2energyvampireamount.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Nosferatu", "powerTransferAmount", + src.getModifiedItemAttr("subsystemBonusAmarrCore2"), skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrcore2maxtargetingrange.py b/eos/effects/subsystembonusamarrcore2maxtargetingrange.py new file mode 100644 index 000000000..5e74b2708 --- /dev/null +++ b/eos/effects/subsystembonusamarrcore2maxtargetingrange.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("maxTargetRange", src.getModifiedItemAttr("subsystemBonusAmarrCore2"), + skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrcore3energywarheatbonus.py b/eos/effects/subsystembonusamarrcore3energywarheatbonus.py new file mode 100644 index 000000000..95c3d8a25 --- /dev/null +++ b/eos/effects/subsystembonusamarrcore3energywarheatbonus.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in ("Energy Nosferatu", "Energy Neutralizer"), "overloadSelfDurationBonus", + src.getModifiedItemAttr("subsystemBonusAmarrCore3"), skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrcore3scanresolution.py b/eos/effects/subsystembonusamarrcore3scanresolution.py new file mode 100644 index 000000000..5afffcc6b --- /dev/null +++ b/eos/effects/subsystembonusamarrcore3scanresolution.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("scanResolution", src.getModifiedItemAttr("subsystemBonusAmarrCore3"), + skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrcorescanstrengthradar.py b/eos/effects/subsystembonusamarrcorescanstrengthradar.py new file mode 100644 index 000000000..6a45a9427 --- /dev/null +++ b/eos/effects/subsystembonusamarrcorescanstrengthradar.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("scanRadarStrength", src.getModifiedItemAttr("subsystemBonusAmarrCore"), + skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrdefensive2armorrepheat.py b/eos/effects/subsystembonusamarrdefensive2armorrepheat.py new file mode 100644 index 000000000..e0d9d856a --- /dev/null +++ b/eos/effects/subsystembonusamarrdefensive2armorrepheat.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "overloadArmorDamageAmount", + src.getModifiedItemAttr("subsystemBonusAmarrDefensive2"), skill="Amarr Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "overloadSelfDurationBonus", + src.getModifiedItemAttr("subsystemBonusAmarrDefensive2"), skill="Amarr Defensive Systems") diff --git a/eos/effects/subsystembonusamarrdefensive2hardenerheat.py b/eos/effects/subsystembonusamarrdefensive2hardenerheat.py new file mode 100644 index 000000000..432e8fcdf --- /dev/null +++ b/eos/effects/subsystembonusamarrdefensive2hardenerheat.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadSelfDurationBonus", + src.getModifiedItemAttr("subsystemBonusAmarrDefensive2"), skill="Amarr Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadHardeningBonus", + src.getModifiedItemAttr("subsystemBonusAmarrDefensive2"), skill="Amarr Defensive Systems") diff --git a/eos/effects/subsystembonusamarrengineeringcapacitorcapacity.py b/eos/effects/subsystembonusamarrengineeringcapacitorcapacity.py index 3fc2e821f..22e8f4d41 100644 --- a/eos/effects/subsystembonusamarrengineeringcapacitorcapacity.py +++ b/eos/effects/subsystembonusamarrengineeringcapacitorcapacity.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("capacitorCapacity", module.getModifiedItemAttr("subsystemBonusAmarrCore"), - skill="Amarr Engineering Systems") + skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrengineeringcapacitorrecharge.py b/eos/effects/subsystembonusamarrengineeringcapacitorrecharge.py index 697491f51..5471853cd 100644 --- a/eos/effects/subsystembonusamarrengineeringcapacitorrecharge.py +++ b/eos/effects/subsystembonusamarrengineeringcapacitorrecharge.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("rechargeRate", module.getModifiedItemAttr("subsystemBonusAmarrCore"), - skill="Amarr Engineering Systems") + skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrengineeringheatdamagereduction.py b/eos/effects/subsystembonusamarrengineeringheatdamagereduction.py index ed1b9a359..5fe105d20 100644 --- a/eos/effects/subsystembonusamarrengineeringheatdamagereduction.py +++ b/eos/effects/subsystembonusamarrengineeringheatdamagereduction.py @@ -5,4 +5,4 @@ type = "passive" def handler(fit, module, context): fit.modules.filteredItemBoost(lambda mod: True, "heatDamage", module.getModifiedItemAttr("subsystemBonusAmarrCore"), - skill="Amarr Engineering Systems") + skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarrengineeringpoweroutput.py b/eos/effects/subsystembonusamarrengineeringpoweroutput.py index 2119560ba..6ab9a9ad3 100644 --- a/eos/effects/subsystembonusamarrengineeringpoweroutput.py +++ b/eos/effects/subsystembonusamarrengineeringpoweroutput.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("powerOutput", module.getModifiedItemAttr("subsystemBonusAmarrCore"), - skill="Amarr Engineering Systems") + skill="Amarr Core Systems") diff --git a/eos/effects/subsystembonusamarroffensive2remotearmorrepaircapuse.py b/eos/effects/subsystembonusamarroffensive2remotearmorrepaircapuse.py new file mode 100644 index 000000000..568248176 --- /dev/null +++ b/eos/effects/subsystembonusamarroffensive2remotearmorrepaircapuse.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", + src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems") diff --git a/eos/effects/subsystembonusamarroffensive3remotearmorrepairheat.py b/eos/effects/subsystembonusamarroffensive3remotearmorrepairheat.py new file mode 100644 index 000000000..1591adb52 --- /dev/null +++ b/eos/effects/subsystembonusamarroffensive3remotearmorrepairheat.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "overloadSelfDurationBonus", + src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems") diff --git a/eos/effects/subsystembonusamarroffensivecommandbursts.py b/eos/effects/subsystembonusamarroffensivecommandbursts.py new file mode 100644 index 000000000..dbb9aa21c --- /dev/null +++ b/eos/effects/subsystembonusamarroffensivecommandbursts.py @@ -0,0 +1,19 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems") diff --git a/eos/effects/subsystembonuscaldaricore2ecmstrengthrange.py b/eos/effects/subsystembonuscaldaricore2ecmstrengthrange.py new file mode 100644 index 000000000..b519b3886 --- /dev/null +++ b/eos/effects/subsystembonuscaldaricore2ecmstrengthrange.py @@ -0,0 +1,12 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanLadarStrengthBonus", + src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanRadarStrengthBonus", + src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "maxRange", + src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanGravimetricStrengthBonus", + src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanMagnetometricStrengthBonus", + src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems") diff --git a/eos/effects/subsystembonuscaldaricore2maxtargetingrange.py b/eos/effects/subsystembonuscaldaricore2maxtargetingrange.py new file mode 100644 index 000000000..99f000f2c --- /dev/null +++ b/eos/effects/subsystembonuscaldaricore2maxtargetingrange.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("maxTargetRange", src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems") diff --git a/eos/effects/subsystembonuscaldaricore3ecmheatbonus.py b/eos/effects/subsystembonuscaldaricore3ecmheatbonus.py new file mode 100644 index 000000000..c401380bd --- /dev/null +++ b/eos/effects/subsystembonuscaldaricore3ecmheatbonus.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "overloadECMStrengthBonus", + src.getModifiedItemAttr("subsystemBonusCaldariCore3"), skill="Caldari Core Systems") diff --git a/eos/effects/subsystembonuscaldaricorescanstrengthgravimetric.py b/eos/effects/subsystembonuscaldaricorescanstrengthgravimetric.py new file mode 100644 index 000000000..11861673a --- /dev/null +++ b/eos/effects/subsystembonuscaldaricorescanstrengthgravimetric.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("scanGravimetricStrength", src.getModifiedItemAttr("subsystemBonusCaldariCore"), skill="Caldari Core Systems") diff --git a/eos/effects/subsystembonuscaldaridefensive2hardenerheat.py b/eos/effects/subsystembonuscaldaridefensive2hardenerheat.py new file mode 100644 index 000000000..d5cf152b3 --- /dev/null +++ b/eos/effects/subsystembonuscaldaridefensive2hardenerheat.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Tactical Shield Manipulation"), + "overloadHardeningBonus", src.getModifiedItemAttr("subsystemBonusCaldariDefensive2"), + skill="Caldari Defensive Systems") diff --git a/eos/effects/subsystembonuscaldaridefensive2scanprobestrength.py b/eos/effects/subsystembonuscaldaridefensive2scanprobestrength.py new file mode 100644 index 000000000..37d2910de --- /dev/null +++ b/eos/effects/subsystembonuscaldaridefensive2scanprobestrength.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"), "baseSensorStrength", src.getModifiedItemAttr("subsystemBonusCaldariDefensive2"), stackingPenalties=True, skill="Caldari Defensive Systems") diff --git a/eos/effects/subsystembonuscaldaridefensive2shieldboostheat.py b/eos/effects/subsystembonuscaldaridefensive2shieldboostheat.py new file mode 100644 index 000000000..3902f7bba --- /dev/null +++ b/eos/effects/subsystembonuscaldaridefensive2shieldboostheat.py @@ -0,0 +1,8 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"), + "overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusCaldariDefensive2"), + skill="Caldari Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"), + "overloadShieldBonus", src.getModifiedItemAttr("subsystemBonusCaldariDefensive2"), + skill="Caldari Defensive Systems") diff --git a/eos/effects/subsystembonuscaldaridefensive3tractorbeambonus.py b/eos/effects/subsystembonuscaldaridefensive3tractorbeambonus.py new file mode 100644 index 000000000..727b2c5e5 --- /dev/null +++ b/eos/effects/subsystembonuscaldaridefensive3tractorbeambonus.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxRange", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"), stackingPenalties=True, skill="Caldari Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxTractorVelocity", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"), skill="Caldari Defensive Systems") diff --git a/eos/effects/subsystembonuscaldariengineeringcapacitorcapacity.py b/eos/effects/subsystembonuscaldariengineeringcapacitorcapacity.py index 36ea3800b..e092ba001 100644 --- a/eos/effects/subsystembonuscaldariengineeringcapacitorcapacity.py +++ b/eos/effects/subsystembonuscaldariengineeringcapacitorcapacity.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("capacitorCapacity", module.getModifiedItemAttr("subsystemBonusCaldariCore"), - skill="Caldari Engineering Systems") + skill="Caldari Core Systems") diff --git a/eos/effects/subsystembonuscaldariengineeringcapacitorrecharge.py b/eos/effects/subsystembonuscaldariengineeringcapacitorrecharge.py index 4598fdbdc..98d3a2935 100644 --- a/eos/effects/subsystembonuscaldariengineeringcapacitorrecharge.py +++ b/eos/effects/subsystembonuscaldariengineeringcapacitorrecharge.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("rechargeRate", module.getModifiedItemAttr("subsystemBonusCaldariCore"), - skill="Caldari Engineering Systems") + skill="Caldari Core Systems") diff --git a/eos/effects/subsystembonuscaldariengineeringheatdamagereduction.py b/eos/effects/subsystembonuscaldariengineeringheatdamagereduction.py index 27292a847..473fe8fb8 100644 --- a/eos/effects/subsystembonuscaldariengineeringheatdamagereduction.py +++ b/eos/effects/subsystembonuscaldariengineeringheatdamagereduction.py @@ -5,4 +5,4 @@ type = "passive" def handler(fit, module, context): fit.modules.filteredItemBoost(lambda mod: True, "heatDamage", module.getModifiedItemAttr("subsystemBonusCaldariCore"), - skill="Caldari Engineering Systems") + skill="Caldari Core Systems") diff --git a/eos/effects/subsystembonuscaldariengineeringpoweroutput.py b/eos/effects/subsystembonuscaldariengineeringpoweroutput.py index 3695f01b3..2726e0af2 100644 --- a/eos/effects/subsystembonuscaldariengineeringpoweroutput.py +++ b/eos/effects/subsystembonuscaldariengineeringpoweroutput.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("powerOutput", module.getModifiedItemAttr("subsystemBonusCaldariCore"), - skill="Caldari Engineering Systems") + skill="Caldari Core Systems") diff --git a/eos/effects/subsystembonuscaldarioffensive2remoteshieldboostercapuse.py b/eos/effects/subsystembonuscaldarioffensive2remoteshieldboostercapuse.py new file mode 100644 index 000000000..ebbbf1a1a --- /dev/null +++ b/eos/effects/subsystembonuscaldarioffensive2remoteshieldboostercapuse.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), + "capacitorNeed", src.getModifiedItemAttr("subsystemBonusCaldariOffensive2"), + skill="Caldari Offensive Systems") diff --git a/eos/effects/subsystembonuscaldarioffensive3remoteshieldboosterheat.py b/eos/effects/subsystembonuscaldarioffensive3remoteshieldboosterheat.py new file mode 100644 index 000000000..d76751c4f --- /dev/null +++ b/eos/effects/subsystembonuscaldarioffensive3remoteshieldboosterheat.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), + "overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusCaldariOffensive3"), + skill="Caldari Offensive Systems") diff --git a/eos/effects/subsystembonuscaldarioffensivecommandbursts.py b/eos/effects/subsystembonuscaldarioffensivecommandbursts.py new file mode 100644 index 000000000..8a7997805 --- /dev/null +++ b/eos/effects/subsystembonuscaldarioffensivecommandbursts.py @@ -0,0 +1,19 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems") diff --git a/eos/effects/subsystembonuscommandburstfittingreduction.py b/eos/effects/subsystembonuscommandburstfittingreduction.py new file mode 100644 index 000000000..3032deb5d --- /dev/null +++ b/eos/effects/subsystembonuscommandburstfittingreduction.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Leadership"), "power", + src.getModifiedItemAttr("subsystemCommandBurstFittingReduction")) + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Leadership"), "cpu", + src.getModifiedItemAttr("subsystemCommandBurstFittingReduction")) diff --git a/eos/effects/subsystembonusgallentecore2maxtargetingrange.py b/eos/effects/subsystembonusgallentecore2maxtargetingrange.py new file mode 100644 index 000000000..4822e9caf --- /dev/null +++ b/eos/effects/subsystembonusgallentecore2maxtargetingrange.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("maxTargetRange", src.getModifiedItemAttr("subsystemBonusGallenteCore2"), + skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallentecore2warpscramblerange.py b/eos/effects/subsystembonusgallentecore2warpscramblerange.py new file mode 100644 index 000000000..5fdbc8d87 --- /dev/null +++ b/eos/effects/subsystembonusgallentecore2warpscramblerange.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler", "maxRange", + src.getModifiedItemAttr("subsystemBonusGallenteCore2"), skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallentecore3warpscramheatbonus.py b/eos/effects/subsystembonusgallentecore3warpscramheatbonus.py new file mode 100644 index 000000000..1a000f798 --- /dev/null +++ b/eos/effects/subsystembonusgallentecore3warpscramheatbonus.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler", "overloadRangeBonus", + src.getModifiedItemAttr("subsystemBonusGallenteCore3"), skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallentecorescanstrengthmagnetometric.py b/eos/effects/subsystembonusgallentecorescanstrengthmagnetometric.py new file mode 100644 index 000000000..8321c394c --- /dev/null +++ b/eos/effects/subsystembonusgallentecorescanstrengthmagnetometric.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("scanMagnetometricStrength", src.getModifiedItemAttr("subsystemBonusGallenteCore"), + skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallentedefensive2armorrepheat.py b/eos/effects/subsystembonusgallentedefensive2armorrepheat.py new file mode 100644 index 000000000..c3692f506 --- /dev/null +++ b/eos/effects/subsystembonusgallentedefensive2armorrepheat.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "overloadArmorDamageAmount", + src.getModifiedItemAttr("subsystemBonusGallenteDefensive2"), skill="Gallente Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "overloadSelfDurationBonus", + src.getModifiedItemAttr("subsystemBonusGallenteDefensive2"), skill="Gallente Defensive Systems") diff --git a/eos/effects/subsystembonusgallentedefensive2hardenerheat.py b/eos/effects/subsystembonusgallentedefensive2hardenerheat.py new file mode 100644 index 000000000..8d73e49a7 --- /dev/null +++ b/eos/effects/subsystembonusgallentedefensive2hardenerheat.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadHardeningBonus", + src.getModifiedItemAttr("subsystemBonusGallenteDefensive2"), skill="Gallente Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadSelfDurationBonus", + src.getModifiedItemAttr("subsystemBonusGallenteDefensive2"), skill="Gallente Defensive Systems") diff --git a/eos/effects/subsystembonusgallentedefensive2scanprobestrength.py b/eos/effects/subsystembonusgallentedefensive2scanprobestrength.py new file mode 100644 index 000000000..665c7e511 --- /dev/null +++ b/eos/effects/subsystembonusgallentedefensive2scanprobestrength.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"), "baseSensorStrength", + src.getModifiedItemAttr("subsystemBonusGallenteDefensive2"), skill="Gallente Defensive Systems") diff --git a/eos/effects/subsystembonusgallentedefensive3tractorbeambonus.py b/eos/effects/subsystembonusgallentedefensive3tractorbeambonus.py new file mode 100644 index 000000000..3fe82340f --- /dev/null +++ b/eos/effects/subsystembonusgallentedefensive3tractorbeambonus.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxRange", + src.getModifiedItemAttr("subsystemBonusGallenteDefensive3"), skill="Gallente Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxTractorVelocity", + src.getModifiedItemAttr("subsystemBonusGallenteDefensive3"), skill="Gallente Defensive Systems") diff --git a/eos/effects/subsystembonusgallenteengineering2dronemwd.py b/eos/effects/subsystembonusgallenteengineering2dronemwd.py index 36eda82fa..e476b9f1d 100644 --- a/eos/effects/subsystembonusgallenteengineering2dronemwd.py +++ b/eos/effects/subsystembonusgallenteengineering2dronemwd.py @@ -5,4 +5,4 @@ type = "passive" def handler(fit, module, context): fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), "maxVelocity", module.getModifiedItemAttr("subsystemBonusGallenteCore2"), - skill="Gallente Engineering Systems") + skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallenteengineeringcapacitorrecharge.py b/eos/effects/subsystembonusgallenteengineeringcapacitorrecharge.py index 4d2cced43..72bb25e12 100644 --- a/eos/effects/subsystembonusgallenteengineeringcapacitorrecharge.py +++ b/eos/effects/subsystembonusgallenteengineeringcapacitorrecharge.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("rechargeRate", module.getModifiedItemAttr("subsystemBonusGallenteCore"), - skill="Gallente Engineering Systems") + skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallenteengineeringdronehp.py b/eos/effects/subsystembonusgallenteengineeringdronehp.py index e7fa7eb9a..f9de09f6e 100644 --- a/eos/effects/subsystembonusgallenteengineeringdronehp.py +++ b/eos/effects/subsystembonusgallenteengineeringdronehp.py @@ -6,4 +6,4 @@ def handler(fit, module, context): for layer in ("shieldCapacity", "armorHP", "hp"): fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), layer, module.getModifiedItemAttr("subsystemBonusGallenteCore"), - skill="Gallente Engineering Systems") + skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallenteengineeringheatdamagereduction.py b/eos/effects/subsystembonusgallenteengineeringheatdamagereduction.py index 3384fb839..9700cfbc8 100644 --- a/eos/effects/subsystembonusgallenteengineeringheatdamagereduction.py +++ b/eos/effects/subsystembonusgallenteengineeringheatdamagereduction.py @@ -5,4 +5,4 @@ type = "passive" def handler(fit, module, context): fit.modules.filteredItemBoost(lambda mod: True, "heatDamage", module.getModifiedItemAttr("subsystemBonusGallenteCore"), - skill="Gallente Engineering Systems") + skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallenteengineeringpoweroutput.py b/eos/effects/subsystembonusgallenteengineeringpoweroutput.py index f531c207b..9bcb7adf3 100644 --- a/eos/effects/subsystembonusgallenteengineeringpoweroutput.py +++ b/eos/effects/subsystembonusgallenteengineeringpoweroutput.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("powerOutput", module.getModifiedItemAttr("subsystemBonusGallenteCore"), - skill="Gallente Engineering Systems") + skill="Gallente Core Systems") diff --git a/eos/effects/subsystembonusgallenteoffensive2remotearmorrepaircapuse.py b/eos/effects/subsystembonusgallenteoffensive2remotearmorrepaircapuse.py new file mode 100644 index 000000000..0111d909b --- /dev/null +++ b/eos/effects/subsystembonusgallenteoffensive2remotearmorrepaircapuse.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", + src.getModifiedItemAttr("subsystemBonusGallenteOffensive2"), skill="Gallente Offensive Systems") diff --git a/eos/effects/subsystembonusgallenteoffensive3remotearmorrepairheat.py b/eos/effects/subsystembonusgallenteoffensive3remotearmorrepairheat.py new file mode 100644 index 000000000..c707debe0 --- /dev/null +++ b/eos/effects/subsystembonusgallenteoffensive3remotearmorrepairheat.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "overloadSelfDurationBonus", + src.getModifiedItemAttr("subsystemBonusGallenteOffensive3"), skill="Gallente Offensive Systems") diff --git a/eos/effects/subsystembonusgallenteoffensivecommandbursts.py b/eos/effects/subsystembonusgallenteoffensivecommandbursts.py new file mode 100644 index 000000000..de45f27ff --- /dev/null +++ b/eos/effects/subsystembonusgallenteoffensivecommandbursts.py @@ -0,0 +1,19 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems") diff --git a/eos/effects/subsystembonusgallentepropulsion2agility.py b/eos/effects/subsystembonusgallentepropulsion2agility.py index 8a5fc2939..ad890de80 100644 --- a/eos/effects/subsystembonusgallentepropulsion2agility.py +++ b/eos/effects/subsystembonusgallentepropulsion2agility.py @@ -4,7 +4,5 @@ # Subsystem: Proteus Propulsion - Chassis Optimization type = "passive" def handler(fit, src, context): - # @ todo: CCP fucked up, the proteus chassis optimization subsystem has the minmatar attribute, not gallente - return fit.ship.boostItemAttr("agility", src.getModifiedItemAttr("subsystemBonusGallentePropulsion2"), skill="Gallente Propulsion Systems") diff --git a/eos/effects/subsystembonusminmatarcore2maxtargetingrange.py b/eos/effects/subsystembonusminmatarcore2maxtargetingrange.py new file mode 100644 index 000000000..71d40832e --- /dev/null +++ b/eos/effects/subsystembonusminmatarcore2maxtargetingrange.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("maxTargetRange", src.getModifiedItemAttr("subsystemBonusMinmatarCore2"), + skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmatarcore2stasiswebifierrange.py b/eos/effects/subsystembonusminmatarcore2stasiswebifierrange.py new file mode 100644 index 000000000..297aad47e --- /dev/null +++ b/eos/effects/subsystembonusminmatarcore2stasiswebifierrange.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", + "maxRange", src.getModifiedItemAttr("subsystemBonusMinmatarCore2"), skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmatarcore3scanresolution.py b/eos/effects/subsystembonusminmatarcore3scanresolution.py new file mode 100644 index 000000000..f235fa53b --- /dev/null +++ b/eos/effects/subsystembonusminmatarcore3scanresolution.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("scanResolution", src.getModifiedItemAttr("subsystemBonusMinmatarCore3"), + skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmatarcore3stasiswebheatbonus.py b/eos/effects/subsystembonusminmatarcore3stasiswebheatbonus.py new file mode 100644 index 000000000..c9bbfdd98 --- /dev/null +++ b/eos/effects/subsystembonusminmatarcore3stasiswebheatbonus.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", + "overloadRangeBonus", src.getModifiedItemAttr("subsystemBonusMinmatarCore3"), + skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmatarcorescanstrengthladar.py b/eos/effects/subsystembonusminmatarcorescanstrengthladar.py new file mode 100644 index 000000000..03f9cca85 --- /dev/null +++ b/eos/effects/subsystembonusminmatarcorescanstrengthladar.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.ship.boostItemAttr("scanLadarStrength", src.getModifiedItemAttr("subsystemBonusMinmatarCore"), + skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmatardefensive2hardenerheat.py b/eos/effects/subsystembonusminmatardefensive2hardenerheat.py new file mode 100644 index 000000000..cc7053241 --- /dev/null +++ b/eos/effects/subsystembonusminmatardefensive2hardenerheat.py @@ -0,0 +1,8 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadSelfDurationBonus", + src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"), skill="Minmatar Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadHardeningBonus", + src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"), skill="Minmatar Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Tactical Shield Manipulation"), "overloadHardeningBonus", + src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"), skill="Minmatar Defensive Systems") diff --git a/eos/effects/subsystembonusminmatardefensive2localrepheat.py b/eos/effects/subsystembonusminmatardefensive2localrepheat.py new file mode 100644 index 000000000..0517a8d28 --- /dev/null +++ b/eos/effects/subsystembonusminmatardefensive2localrepheat.py @@ -0,0 +1,9 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Shield Operation"), + "overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"), + skill="Minmatar Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Shield Operation"), + "overloadArmorDamageAmount", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"), + skill="Minmatar Defensive Systems") + diff --git a/eos/effects/subsystembonusminmatardefensive2scanprobestrength.py b/eos/effects/subsystembonusminmatardefensive2scanprobestrength.py new file mode 100644 index 000000000..5b1238452 --- /dev/null +++ b/eos/effects/subsystembonusminmatardefensive2scanprobestrength.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"), "baseSensorStrength", + src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"), skill="Minmatar Defensive Systems") diff --git a/eos/effects/subsystembonusminmatardefensive3tractorbeambonus.py b/eos/effects/subsystembonusminmatardefensive3tractorbeambonus.py new file mode 100644 index 000000000..e33d92044 --- /dev/null +++ b/eos/effects/subsystembonusminmatardefensive3tractorbeambonus.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxRange", + src.getModifiedItemAttr("subsystemBonusMinmatarDefensive3"), skill="Minmatar Defensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxTractorVelocity", + src.getModifiedItemAttr("subsystemBonusMinmatarDefensive3"), skill="Minmatar Defensive Systems") diff --git a/eos/effects/subsystembonusminmatarengineeringcapacitorcapacity.py b/eos/effects/subsystembonusminmatarengineeringcapacitorcapacity.py index 453492dd5..36ffe1d3f 100644 --- a/eos/effects/subsystembonusminmatarengineeringcapacitorcapacity.py +++ b/eos/effects/subsystembonusminmatarengineeringcapacitorcapacity.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("capacitorCapacity", module.getModifiedItemAttr("subsystemBonusMinmatarCore"), - skill="Minmatar Engineering Systems") + skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmatarengineeringcapacitorrecharge.py b/eos/effects/subsystembonusminmatarengineeringcapacitorrecharge.py index 3aaa2f9db..3919fbd1c 100644 --- a/eos/effects/subsystembonusminmatarengineeringcapacitorrecharge.py +++ b/eos/effects/subsystembonusminmatarengineeringcapacitorrecharge.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("rechargeRate", module.getModifiedItemAttr("subsystemBonusMinmatarCore"), - skill="Minmatar Engineering Systems") + skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmatarengineeringheatdamagereduction.py b/eos/effects/subsystembonusminmatarengineeringheatdamagereduction.py index 6c89675ae..517636a08 100644 --- a/eos/effects/subsystembonusminmatarengineeringheatdamagereduction.py +++ b/eos/effects/subsystembonusminmatarengineeringheatdamagereduction.py @@ -5,4 +5,4 @@ type = "passive" def handler(fit, module, context): fit.modules.filteredItemBoost(lambda mod: True, "heatDamage", module.getModifiedItemAttr("subsystemBonusMinmatarCore"), - skill="Minmatar Engineering Systems") + skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmatarengineeringpoweroutput.py b/eos/effects/subsystembonusminmatarengineeringpoweroutput.py index 7fa5fe6a1..b034cfbc0 100644 --- a/eos/effects/subsystembonusminmatarengineeringpoweroutput.py +++ b/eos/effects/subsystembonusminmatarengineeringpoweroutput.py @@ -4,4 +4,4 @@ type = "passive" def handler(fit, module, context): fit.ship.boostItemAttr("powerOutput", module.getModifiedItemAttr("subsystemBonusMinmatarCore"), - skill="Minmatar Engineering Systems") + skill="Minmatar Core Systems") diff --git a/eos/effects/subsystembonusminmataroffensive2remoterepcapuse.py b/eos/effects/subsystembonusminmataroffensive2remoterepcapuse.py new file mode 100644 index 000000000..41b6ed3dc --- /dev/null +++ b/eos/effects/subsystembonusminmataroffensive2remoterepcapuse.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems") or mod.item.requiresSkill("Remote Armor Repair Systems"), + "capacitorNeed", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive2"), + skill="Minmatar Offensive Systems") + diff --git a/eos/effects/subsystembonusminmataroffensive3remoterepheat.py b/eos/effects/subsystembonusminmataroffensive3remoterepheat.py new file mode 100644 index 000000000..bbca482b6 --- /dev/null +++ b/eos/effects/subsystembonusminmataroffensive3remoterepheat.py @@ -0,0 +1,6 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems") or mod.item.requiresSkill("Remote Armor Repair Systems"), + "overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive3"), + skill="Minmatar Offensive Systems") + diff --git a/eos/effects/subsystembonusminmataroffensivecommandbursts.py b/eos/effects/subsystembonusminmataroffensivecommandbursts.py new file mode 100644 index 000000000..02452c54b --- /dev/null +++ b/eos/effects/subsystembonusminmataroffensivecommandbursts.py @@ -0,0 +1,19 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive"), skill="Minmatar Offensive Systems") diff --git a/eos/effects/subsystemremotearmorrepairerfalloffbonus.py b/eos/effects/subsystemremotearmorrepairerfalloffbonus.py new file mode 100644 index 000000000..1d855a797 --- /dev/null +++ b/eos/effects/subsystemremotearmorrepairerfalloffbonus.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in ("Remote Armor Repairer", "Ancillary Remote Armor Repairer"), + "falloffEffectiveness", src.getModifiedItemAttr("remoteArmorRepairerFalloffBonus")) + diff --git a/eos/effects/subsystemremotearmorrepaireroptimalbonus.py b/eos/effects/subsystemremotearmorrepaireroptimalbonus.py new file mode 100644 index 000000000..f136e78d9 --- /dev/null +++ b/eos/effects/subsystemremotearmorrepaireroptimalbonus.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in ("Remote Armor Repairer", "Ancillary Remote Armor Repairer"), + "maxRange", src.getModifiedItemAttr("remoteArmorRepairerOptimalBonus")) + diff --git a/eos/effects/subsystemremoteshieldboostfalloffbonus.py b/eos/effects/subsystemremoteshieldboostfalloffbonus.py new file mode 100644 index 000000000..25f17da6d --- /dev/null +++ b/eos/effects/subsystemremoteshieldboostfalloffbonus.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in ("Remote Shield Booster", "Ancillary Remote Shield Booster"), + "falloffEffectiveness", src.getModifiedItemAttr("remoteShieldBoosterFalloffBonus")) diff --git a/eve.db b/eve.db index a78ae2ee2..ea166f212 100644 Binary files a/eve.db and b/eve.db differ