NicePack/sources/Zeds/NiceAvoidMarkerExplosive.uc
2020-02-16 19:53:59 +07:00

11 lines
331 B
Ucode

class NiceAvoidMarkerExplosive extends NiceAvoidMarker;
function bool RelevantTo(Pawn P){
local NiceMonster niceZed;
niceZed = NiceMonster(P);
if(niceZed != none && niceZed.default.Health >= 1000 && NiceZombieFleshpound(P) == none)
return false;
return super.RelevantTo(P);
}
defaultproperties
{
}