Tag Archives: 9.15

XVM 6.3.1

What’s new in XVM 6.3.1?

– bug fixes
– total hp indicator implemented using battleLabels and py_macro
– py_macro: changed export definition:
was: @xvm.export(‘xvm’, ‘xvm2sup’)
now: @xvm.export(‘xvm.xvm2sup’)
– py_macro: add ‘deterministic’ argument to export definition to mark function as deterministic or not (default: deterministic=True)
– carousel filters reworked [FIXES]
– fixed “useStandardLabels” option [CONFIG]
– removed options:
“minimap”/”circles”/”enabled” – duplicates “minimap”/”useStandardCircles”
“minimap”/”lines”/”enabled” – duplicates “minimap”/”useStandardLabels”
“minimap”/”labels”/”enabled” – duplicates “minimap”/”useStandardLines”
– moved color settings option for total hp indicator: “battle”/”totalHP”/”colors” > “colors”/”totalHP” * removed obsolete config section “battle”/”totalHP”
Continue reading

XVM 6.3.0

What’s new in XVM 6.3.0?

* adaptation to WoT 0.9.15 [MAJOR UPDATES]

* added new type of macro – dynamic macros calculated in the python: python functions are loaded from res_mods/configs/py_macro/*.py with decorator @xvm.export(a, b) E. g. get %SUP for xTE: {{py:xvm.xvm2sup(‘{{xte}}’)|==}} res_mods/configs/py_macro/xvm.py: xvm2sup = […] @xvm.export(‘xvm’, ‘xvm2sup’) def XvmScaleToSup(x=None): if x is None or x == ”: return None x = 100 if x == ‘XX’ else int(x) return xvm2sup[max(0, min(100, x-1))]
Continue reading