"""
SPDX-License-Identifier: GPL-3.0-or-later
Copyright (c) 2013-2025 XVM Contributors
"""

from xvm import damageLog


@xvm.export('xvm.damageLog.log', deterministic=False)
def damageLog_log():
    return damageLog.dLog()


@xvm.export('xvm.damageLog.log.bg', deterministic=False)
def damageLog_log_bg():
    return damageLog.dLog_bg()


@xvm.export('xvm.damageLog.log.shadow', deterministic=False)
def damageLog_log_shadow(setting):
    return damageLog.dLog_shadow(setting)


@xvm.export('xvm.damageLog.log.x', deterministic=False)
def damageLog_log_x():
    return damageLog.dLog_x()


@xvm.export('xvm.damageLog.log.y', deterministic=False)
def damageLog_log_y():
    return damageLog.dLog_y()


@xvm.export('xvm.damageLog.lastHit', deterministic=False)
def damageLog_lastHit():
    return damageLog.lastHit()


@xvm.export('xvm.damageLog.lastHit.bg', deterministic=False)
def damageLog_lastHit():
    return damageLog.lastHit_bg()


@xvm.export('xvm.damageLog.lastHit.shadow', deterministic=False)
def damageLog_lastHit_shadow(setting):
    return damageLog.lastHit_shadow(setting)


@xvm.export('xvm.damageLog.lastHit.x', deterministic=False)
def damageLog_lastHit_x():
    return damageLog.lastHit_x()


@xvm.export('xvm.damageLog.lastHit.y', deterministic=False)
def damageLog_lastHit_y():
    return damageLog.lastHit_y()


@xvm.export('xvm.damageLog.fire', deterministic=False)
def damageLog_fire():
    return damageLog.fire()


@xvm.export('xvm.isImpact', deterministic=False)
def damageLog_isImpact():
    return 'Impact' if damageLog.isImpact else None
