EpochModTeam / DayZ-Epoch

Experimental DayZ Mod for Arma 2
http://epochmodteam.github.io/DayZ-Epoch
227 stars 398 forks source link

Update fn_damageHandler.sqf #2073

Closed ch0c closed 4 years ago

ch0c commented 4 years ago

include zombie hit

OlofTheBald commented 4 years ago

Also add !_isPZombie, player zombies should still be able to fight:

if (DZE_PVE_Mode && {_isPlayer} && {!_falling} && {!_isPZombie} && {!_isZombieHit}) exitWith {};

AirwavesMan commented 4 years ago

Both changes are not needed. If there are any problems with this code line, check your server and third party scripts like Admin Tools, Anti Hack, Safe Zone scripts. The PVE support works as intended. Zombies doing damage to all players and AIs aswell.