MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / boost

Method boost

eos/modifiedAttributeDict.py:564–570  ·  view source on GitHub ↗

Boost value by some percentage

(self, attributeName, boostFactor, skill=None, **kwargs)

Source from the content-addressed store, hash-verified

562 preResMultiplier, multiplier, multiplier != 1)
563
564 def boost(self, attributeName, boostFactor, skill=None, **kwargs):
565 """Boost value by some percentage"""
566 if skill:
567 boostFactor *= self.__handleSkill(skill)
568
569 # We just transform percentage boost into multiplication factor
570 self.multiply(attributeName, 1 + boostFactor / 100.0, **kwargs)
571
572 def force(self, attributeName, value, **kwargs):
573 """Force value to attribute and prohibit any changes to it"""

Callers 3

boostItemAttrMethod · 0.80
boostChargeAttrMethod · 0.80
handlerMethod · 0.80

Calls 2

__handleSkillMethod · 0.95
multiplyMethod · 0.95

Tested by

no test coverage detected