ReportBDA

Report battle damage assessment

Usage: Used in 1 task(s)

Lua Implementation

-- Report BDA
function execute(params)
    local bda = this:getStateProperty("BDA")

    if bda then
        vrf.sendMessage{
            sender = this,
            receivers = params.receivers or {this:getSuperior()},
            messageType = "BDA_REPORT",
            messageBody = bda
        }
        return true
    end
    return false
end