Is there any plugins that nerf (but not nullifies) melee damage on specials? So I cant kill any special except tanks and witches with only 1 or 2 melee hits when specials have high HP with z_charger_health 1500 for example
EDIT:
I think I could adapt this plugin by changing just one value
Code:
else if ((damagetype & DMG_SLASH || damagetype & DMG_CLUB) && ((bIsBlocked(sMeleeTypes, "1", "1") && bIsSmoker(victim)) || (bIsBlocked(sMeleeTypes, "2", "2") && bIsBoomer(victim)) || (bIsBlocked(sMeleeTypes, "3", "3") && bIsHunter(victim)) || (bIsBlocked(sMeleeTypes, "4", "4") && bIsSpitter(victim)) || (bIsBlocked(sMeleeTypes, "5", "7") && bIsJockey(victim)) || (bIsBlocked(sMeleeTypes, "6", "6") && bIsCharger(victim)) || (bIsBlocked(sMeleeTypes, "7", "7") && bIsTank(victim))))
{
damage = 0.0;
return Plugin_Handled;
}
}
EDIT: Doesn't work, still become inmune...
EDIT2: It seems to be related to the float value, which doesn't apply to melee. The plugin seems to exist, but I can't find it.
https://forums.alliedmods.net/showthread.php?t=236898
EDIT3: Finally, I find a plugin that does the work
https://forums.alliedmods.net/showthread.php?t=154366