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

Method force

eos/modifiedAttributeDict.py:572–576  ·  view source on GitHub ↗

Force value to attribute and prohibit any changes to it

(self, attributeName, value, **kwargs)

Source from the content-addressed store, hash-verified

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"""
574 self.__forced[attributeName] = value
575 self.__placehold(attributeName)
576 self.__afflict(attributeName, Operator.FORCE, None, value, value)
577
578 @staticmethod
579 def getResistance(fit, effect):

Callers 3

forceItemAttrMethod · 0.80
forceChargeAttrMethod · 0.80
handlerMethod · 0.80

Calls 2

__placeholdMethod · 0.95
__afflictMethod · 0.95

Tested by

no test coverage detected