Skip to content

Commit 8a406c4

Browse files
v1.2.2
1 parent 3d9e537 commit 8a406c4

6 files changed

Lines changed: 8 additions & 0 deletions

File tree

Mod11/Mod11EventHandler.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,14 @@ void IEventHandlerPlayerHurt.OnPlayerHurt(PlayerHurtEvent ev)
354354
{
355355
ev.Damage = 0;
356356
}
357+
if (ev.Attacker.TeamRole.Role == Role.CHAOS_INSURGENCY && ev.Player.TeamRole.Team == Smod2.API.Team.SCP)
358+
{
359+
ev.Damage = 0;
360+
}
361+
if (ev.Player.TeamRole.Team == Smod2.API.Team.SCP && ev.Player.TeamRole.Team == Smod2.API.Team.SCP)
362+
{
363+
ev.Damage = 0;
364+
}
357365
}
358366

359367
void IEventHandlerRoundRestart.OnRoundRestart(RoundRestartEvent ev)

Mod11/bin/Debug/Mod11.dll

0 Bytes
Binary file not shown.

Mod11/bin/Debug/Mod11.pdb

0 Bytes
Binary file not shown.
216 KB
Binary file not shown.

Mod11/obj/Debug/Mod11.dll

0 Bytes
Binary file not shown.

Mod11/obj/Debug/Mod11.pdb

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)