I dont want to know the alpha damage of my gun, but use that value for calculating how many shots i need to kill the target ( 390 alpha gun / 468 hp enemy = 1.2 -> 1 shot if RNG is with you)
Found something in configs/vxm/py_macro/vinfo.py
@xvm.export('vinfo.gun_reload', deterministic=False)
def gun_reload():
typeDescriptor = _typeDescriptor()
return None if not typeDescriptor else "%.1f" % (typeDescriptor.gun['reloadTime'])
Can i add my own export to make a macro here? If so, what is the field for alpha damage in typeDescriptor.gun?
Edit: Also i dont know much about python, do i need to compile this?