View Single Post
Toranks
Senior Member
Join Date: Dec 2021
Location: Spain
Old 04-16-2022 , 09:49   Re: [L4D & L4D2] Special Infected Immunities (v1.1, 09-10-2018)
Reply With Quote #8

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;
		}
	}
Quote:
damage = 250.0;
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

Last edited by Toranks; 04-27-2022 at 20:57.
Toranks is offline