mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Radsuit protect against toxic (not bites)
This commit is contained in:
parent
2245c36797
commit
43ae5cc72e
@ -85,12 +85,14 @@ if !(_attackers isEqualTo[]) then {
|
|||||||
(_attackers select 0) call EPOCH_client_bitePlayer;
|
(_attackers select 0) call EPOCH_client_bitePlayer;
|
||||||
_panic = true;
|
_panic = true;
|
||||||
} else {
|
} else {
|
||||||
_toxicObjs = player nearobjects["SmokeShellCustom", 12];
|
if !(uniform player in ["Epoch_RadiationSuit_F","Epoch_RadiationSuit_M"]) then {
|
||||||
if!(_toxicObjs IsEqualTo[]) then {
|
_toxicObjs = player nearobjects["SmokeShellCustom", 12];
|
||||||
(_toxicObjs select 0) call EPOCH_client_bitePlayer;
|
if!(_toxicObjs IsEqualTo[]) then {
|
||||||
_panic = true;
|
(_toxicObjs select 0) call EPOCH_client_bitePlayer;
|
||||||
} else {
|
_panic = true;
|
||||||
_panic = false;
|
} else {
|
||||||
|
_panic = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user