[Resolved - Not a Bug] Fire weapons damages complete immunity

Started by DizzasTeR, Apr 11, 2021, 02:04 PM

Previous topic - Next topic

DizzasTeR

Description
When setting complete immunity (0x255) the player gets damage from fire weapons (molotov, flamethrower)

Reproducible
Always

What you were doing when the bug happened
Using fire weapons on a player having 0x255 immunity

What you think caused the bug
Immunity flags were fixed in one of the last few updates, however this issue went under the radar, don't recall this being a problem before I think (before headshot immunity was fixed)

Xmair

Unable to reproduce this with flags 127 and 255 on the latest client.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

DizzasTeR

Quote from: Xmair on Apr 11, 2021, 03:06 PMUnable to reproduce this with flags 127 and 255 on the latest client.

Ah figured it out, cheers, not a bug

I was accidentally setting hexa values while not taking into account the actual flag values