Erreur lors du lancement de W40K_addon/W40K_Run.py
Log
runfile('/Users/floriandelrieu/OneDrive/Logiciels et Jeux/Heart of Iron IV/HOI4_Calculator/W40K_addon/W40K_Run.py', wdir='/Users/floriandelrieu/OneDrive/Logiciels et Jeux/Heart of Iron IV/HOI4_Calculator/W40K_addon')
----------- round 0 -----------------
ATK shot 1949.82 SA + 349.42 HA // 0.0 SMA + 0.0 HMA
DEF shot 1379.98 SA + 131.7 HA // 0.0 SMA + 0.0 HMA
ATK: 194.98 --->> // 3867.24 DEF
DEF: 125.52 --->> // 998.76 ATK
Traceback (most recent call last):
File "/Users/floriandelrieu/miniconda3/envs/spam/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-2-e634e227748a>", line 1, in <module>
runfile('/Users/floriandelrieu/OneDrive/Logiciels et Jeux/Heart of Iron IV/HOI4_Calculator/W40K_addon/W40K_Run.py', wdir='/Users/floriandelrieu/OneDrive/Logiciels et Jeux/Heart of Iron IV/HOI4_Calculator/W40K_addon')
File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/floriandelrieu/OneDrive/Logiciels et Jeux/Heart of Iron IV/HOI4_Calculator/W40K_addon/W40K_Run.py", line 22, in <module>
BattleA.Round(-1)
File "/Users/floriandelrieu/OneDrive/Logiciels et Jeux/Heart of Iron IV/HOI4_Calculator/W40K_addon/W40K_Battle.py", line 38, in Round
self._Round(Loglevel=LogLevel)
File "/Users/floriandelrieu/OneDrive/Logiciels et Jeux/Heart of Iron IV/HOI4_Calculator/W40K_addon/W40K_Battle.py", line 59, in _Round
self.ATK.round_Stats()
AttributeError: 'Regiment' object has no attribute 'round_Stats'
Erreur lors du lancement de
W40K_addon/W40K_Run.py
Log