https://github.com/diwako/diwako_cbrn/blob/23aa8937cb5d0f976b2558ddbd2127358805b6f3/diwako_cbrn.vr/scripts/cbrn/functions/fn_handleDamage.sqf#L5
I'm not sure what's causing this, but I found via debugging that when the code runs, cbrn_damage for _unit is 0, and at the end, it's assigned as cur_damage. However, on any consecutive runs of the code, the getting of cbrn_damage is still 0, so total damage never goes above cur_damage.
This has the knock-on effect of the code basically not working, as damage never gets above ~1.7. I tried troubleshooting this on my end, but I couldn't figure out a solution that keeps the code multiplayer compatible.
https://github.com/diwako/diwako_cbrn/blob/23aa8937cb5d0f976b2558ddbd2127358805b6f3/diwako_cbrn.vr/scripts/cbrn/functions/fn_handleDamage.sqf#L5 I'm not sure what's causing this, but I found via debugging that when the code runs, cbrn_damage for _unit is 0, and at the end, it's assigned as cur_damage. However, on any consecutive runs of the code, the getting of cbrn_damage is still 0, so total damage never goes above cur_damage. This has the knock-on effect of the code basically not working, as damage never gets above ~1.7. I tried troubleshooting this on my end, but I couldn't figure out a solution that keeps the code multiplayer compatible.