dreamstalker / rehlds

Reverse-engineered HLDS
GNU General Public License v3.0
653 stars 167 forks source link

Ability to change TimeBased Damages/Duration (Paralyze, Poison, Radiation, Acid...) #906

Open RauliTop opened 2 years ago

RauliTop commented 2 years ago

Hardcoded values: https://github.com/dreamstalker/rehlds/blob/6a916d766b2f766ed9a45f9f008b3f7b737e3c89/rehlds/dlls/cbase.h#L627-L648

Can be added an option to edit him easily through plugins using ReAPI? I don't know how to do it, probably some "expert" has the best option.

Currently, duration can be changed using 'm_rgbTimeBasedDamage' offset.