Vehem
Modmod Monkey
- Joined
- Nov 22, 2005
- Messages
- 3,219
There's a signature mis-match in the FFMainInterface.py (possibly in MainInterface.py too). If you hover the PlotList icon for a floating eye (or other flying unit), airCurrCombatStr() fails to match and you get a python error popup.
For now I've just removed the offending bit of code, as there are practically no examples of units with AirCombatStrength in FFH (the only one I can think of is the Chislev Rock Raven - and that's one that I added anyway).
For now I've just removed the offending bit of code, as there are practically no examples of units with AirCombatStrength in FFH (the only one I can think of is the Chislev Rock Raven - and that's one that I added anyway).
Code:
# strength
if (eUnitDomain == DomainTypes.DOMAIN_AIR):
fCurrStrength = float(pUnit.airCurrCombatStr()*0.01) #### Mismatch Here
fMaxStrength = float(pUnit.airMaxCombatStr()*0.01)
else:
fCurrStrength = float(pUnit.baseCombatStr())*float(1.0-pUnit.getDamage()*0.01)
fMaxStrength = float(pUnit.baseCombatStr())