Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lif, Ninazu cycle time bonus #591

Closed
blitzmann opened this issue May 3, 2016 · 5 comments
Closed

Lif, Ninazu cycle time bonus #591

blitzmann opened this issue May 3, 2016 · 5 comments
Labels
bug Confirmed to be a bug fixed This issue has been fixed! Oh joy!

Comments

@blitzmann
Copy link
Collaborator

Can't determine if this is a bug on CCPs side, or simply a new way they are doing things. I am not able to test in game at the moment.

The Lif Remote Rep cycle bonus effect has the following modifiers:

shipBonusForceAuxiliaryM1RemoteCycleTime

Modifier 1:
   state: offline
   scope: local
   srcattr: shipBonusForceAuxiliaryM1 2317
   operator: post_percent 8
   tgtattr: duration (not penalized) 73
   location: ship
   filter type: skill
   filter value: Capital Remote Armor Repair Systems
Modifier 2:
   state: offline
   scope: local
   srcattr: shipBonusForceAuxiliaryM1 2317
   operator: post_percent 8
   tgtattr: duration (not penalized) 73
   location: ship
   filter type: skill
   filter value: Remote Armor Repair Systems
Modifier 3:
   state: offline
   scope: local
   srcattr: shipBonusForceAuxiliaryM1 2317
   operator: post_percent 8
   tgtattr: duration (not penalized) 73
   location: ship
   filter type: skill
   filter value: Shield Emission Systems
Modifier 4:
   state: offline
   scope: local
   srcattr: shipBonusForceAuxiliaryM1 2317
   operator: post_percent 8
   tgtattr: duration (not penalized) 73
   location: ship
   filter type: skill
   filter value: Capital Shield Emission Systems

We utilize this effect on all modues that require Remote Armor Repair Systems, Capital Remote Armor Repair Systems, Shield Emission Systems, or Capital Shield Emission Systems. The problem is that Capital remote reps utilize both the capital skill and sub cap skill (eg, Capital Armor Remote Rep requires both Remote Armor Repair Systems and Capital Remote Armor Repair Systems).

This makes it so that the effect is run twice as each Capital Remote Rep module matches on two of the modifiers.

here's effect code for pyfa:

# shipBonusForceAuxiliaryM1RemoteCycleTime
#
# Used by:
# Ship: Lif
type = "passive"
def handler(fit, src, context):
    fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "duration", src.getModifiedItemAttr("shipBonusForceAuxiliaryM1"), skill="Minmatar Carrier")
    fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), "duration", src.getModifiedItemAttr("shipBonusForceAuxiliaryM1"), skill="Minmatar Carrier")
    fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "duration", src.getModifiedItemAttr("shipBonusForceAuxiliaryM1"), skill="Minmatar Carrier")
    fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), "duration", src.getModifiedItemAttr("shipBonusForceAuxiliaryM1"), skill="Minmatar Carrier")

@blitzmann blitzmann added the investigate Issue needs more investigation and discussion before a solve is implemented label May 3, 2016
@lunedis
Copy link
Contributor

lunedis commented May 3, 2016

I tested it on sisi and the bonus is indeed applied there twice as well.

A Lif with Triage and one Remote Shield Booster has 2.25s cycle time on Sisi.

@blitzmann blitzmann added bug Confirmed to be a bug and removed bug Confirmed to be a bug labels May 3, 2016
@jyxu2015
Copy link

jyxu2015 commented May 4, 2016

But these skills do not have a bonus in cycle times...they are of bonuses in reducing the capacitor amount used.

@blitzmann blitzmann changed the title Lif cycle time bonus Lif, Ninazu cycle time bonus May 7, 2016
@blitzmann blitzmann added invalid Issues that are opened but aren't really issues are normally marked as invalid (usually user error) and removed investigate Issue needs more investigation and discussion before a solve is implemented labels May 7, 2016
@blitzmann
Copy link
Collaborator Author

@jyxu2015 not sure what you mean. This issue is about the cycle time bonus attached to the Lif and Ninazu.

@blitzmann
Copy link
Collaborator Author

blitzmann commented May 15, 2016

This looks like it's still an issue on CCPs side as of Citadel 1.11

EDIT: The stats seem to be correct in game (SISI), but the data still seems off.

@blitzmann
Copy link
Collaborator Author

CCP Larrikin [5:25 AM]
Hey mate. Hrm, so shipBonusForceAuxiliaryM1RemoteCycleTime now only effects the cycle time of modules that require Shield Emission Systems and Remote Armor Repair Systems
IDK why the API is still showing capital skills

So... yeah. I'll be able to fix these effects for the next point release. I'll also try to go through other cap effects / modules and double check them...

@blitzmann blitzmann added bug Confirmed to be a bug fixed This issue has been fixed! Oh joy! and removed invalid Issues that are opened but aren't really issues are normally marked as invalid (usually user error) labels May 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed to be a bug fixed This issue has been fixed! Oh joy!
Projects
None yet
Development

No branches or pull requests

3 participants