Files

410 B
Raw Permalink Blame History

Darklord.js — isBloodPoolActive() (satır 1115)

← Darklord.js · ← Master

function isBloodPoolActive(name)
{
    var pool = getBloodPool(name);
    if (!pool || !pool.active) return false;
    if (pool.permanent || pool.restoring) return true;
    return Number(pool.expiresAt || 0) > nowMs() || Number(pool.holdUntil || 0) > nowMs();
}