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;
|
||||
_panic = true;
|
||||
} else {
|
||||
_toxicObjs = player nearobjects["SmokeShellCustom", 12];
|
||||
if!(_toxicObjs IsEqualTo[]) then {
|
||||
(_toxicObjs select 0) call EPOCH_client_bitePlayer;
|
||||
_panic = true;
|
||||
} else {
|
||||
_panic = false;
|
||||
if !(uniform player in ["Epoch_RadiationSuit_F","Epoch_RadiationSuit_M"]) then {
|
||||
_toxicObjs = player nearobjects["SmokeShellCustom", 12];
|
||||
if!(_toxicObjs IsEqualTo[]) then {
|
||||
(_toxicObjs select 0) call EPOCH_client_bitePlayer;
|
||||
_panic = true;
|
||||
} else {
|
||||
_panic = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user