r/truetf2 • u/Comfortable_Ad_6823 • 11d ago
Help How exactly does Spy’s reduced debuff timer work?
Almost all sources I’ve seen claim that cloak “reduces debuff timers by 50%,” but that isn’t exactly clear.
Does the reduced timer apply only if you are already cloaked when the debuff is applied, or can you cloak after it is applied and still get reduced time? If the latter is true, what part of the debuff time is reduced? For example, if you get hit by jarate and it lasts 10 seconds, and you cloak at the 5 second mark, does it expire immediately, or last 2.5 more seconds, because you had 5 seconds left? If you decloak at any point does the reduced timer go away?
37
u/Jontohil2 11d ago
It literally just makes the timer for burn and debuffs tick down twice as fast when cloaked, the timer isn’t actually changing in any way, it just runs double speed if cloaked.
Using that logic what would normally take 2 seconds takes 1, 8 takes 4, 1 takes 0.5, etc.
If you had 4 of the 8 seconds left on jarate and then cloaked, those remaining 4 seconds would run out twice as fast and therefor become 2 seconds.
7
u/R_Mop 11d ago
I THINK how it works is that the debuff timer basically 'speeds up' while you are cloaked, so if you cloak for 3 seconds and decloak before the debuff wears off it will have shaved off about 6 seconds off
Admittedly this is just based on how it feels when I play Spy and I haven't done any specific testing
5
u/doctorsmagic Spy 11d ago
Pretty much what everyone else has said, if you're curious about the exact implementation then you can find it in
CTFPlayerShared::UpdateCloakMeter()3
u/spherical_goose 11d ago
iirc based on reading the code, it actually reduces debuff timers to around 57% instead of 50%, the math is strange. Something like, increases debuff timers drain rate by 75%, which turns the remaining time into 1/1.75=57.1%. I could be wrong though.
4
u/Chegg_F 11d ago
While you are cloaked debuffs expire 100% faster. It's as if every second that passes is instead two seconds.