I've been trying to script something that allows me to modify bleed damage directly and can't seem to be able to figure it out for the life of me. Here's what I have so far that hasn't been working
Code:
if (damagetype == DMG_SLASH)
{
new Address:BulletDmgReduc = TF2Attrib_GetByName(victim, "dmg taken from bullets reduced");
new Address:BulletDmgReducActive = TF2Attrib_GetByName(victim, "always tradable");
if (BulletDmgReduc && BulletDmgReducActive!=Address_Null)
{
damage = Pow(TF2Attrib_GetValue(BulletDmgReduc),0.82);
}
Any assistance would be greatly appreciated.