REPENTOGON icon indicating copy to clipboard operation
REPENTOGON copied to clipboard

EntitySlot:GetTimeout() and :SetTimeout() interact with DonationValue

Open S0meEngineer opened this issue 1 year ago • 0 comments

  • EntitySlot:GetTimeout() returns timeout with added value of (1<<16) * EntitySlot:GetDonationValue()

  • EntitySlot:SetTimeout() affects DonationValue in a similar way

    • Lua workarounds are: local timeout = slot:GetTimeout() % 65536 slot:SetTimeout(timeout + 65536 * slot:GetDonationValue())

image

S0meEngineer avatar May 12 '24 19:05 S0meEngineer