GetFadeFromSeconds

Parameters
seconds real
comment
patch

1.00

Source
Blizzard.j
return type
integer
Source code
function GetFadeFromSeconds takes real seconds returns integer
    if (seconds != 0) then
        return 128 / R2I(seconds)
    endif
    return 10000
endfunction