Allow RAH-specific pattern control

This commit is contained in:
DarkPhoenix
2022-03-12 02:19:03 +03:00
parent 0c292e8d6e
commit ae115b640a
9 changed files with 152 additions and 41 deletions

View File

@@ -457,6 +457,14 @@ class Fit:
fit.damagePattern = dp
self.recalc(fit)
def setRahPattern(self, fitID, module, pattern):
pyfalog.debug("Set as pattern for fit ID: {0}", fitID)
if fitID is None:
return
module.rahPatternOverride = pattern
fit = eos.db.getFit(fitID)
self.recalc(fit)
def checkStates(self, fit, base):
pyfalog.debug("Check states for fit ID: {0}", fit)
changedMods = {}