Compare commits

..

1 Commits

Author SHA1 Message Date
Renovate Bot
4c72849b26 Update dependency Northwood.LabAPI to 1.1.0 2025-07-13 01:18:15 +00:00
3 changed files with 1 additions and 22 deletions

View File

@ -1,7 +1,5 @@
using LabApi.Events.Handlers;
using LabApi.Features.Wrappers;
using PlayerRoles.FirstPersonControl;
using PlayerRoles.PlayableScps.Scp939;
using Logger = LabApi.Features.Console.Logger;
using Random = System.Random;
@ -38,21 +36,7 @@ public class BloodFueledManager
public BloodFueledManager(CustomClasses plugin)
{
_plugin = plugin;
PlayerEvents.Hurt += ev =>
{
if (ev.DamageHandler is not Scp939DamageHandler damageHandler) return;
var attacker = Player.Get(damageHandler.Attacker.Hub);
if (attacker == null) return;
if (!IsBloodFueled(attacker)) return;
if (ev.Player.Health <= 0)
{
attacker.StaminaRemaining += 0.2f;
return;
}
attacker.StaminaRemaining += 0.1f;
};
}
}

View File

@ -35,7 +35,6 @@ public sealed class CustomClasses : Plugin
public readonly CustomClassManager ClassManager = new();
public SerpentsHandManager SerpentsHandManager;
public NegromancerManager NegromancerManager;
public BloodFueledManager BloodFueledManager;
/// <inheritdoc/>
public override string Name => "CustomClasses";
@ -160,7 +159,6 @@ public sealed class CustomClasses : Plugin
}
NegromancerManager = new NegromancerManager(this);
BloodFueledManager = new BloodFueledManager(this);
Instance = this;
}

View File

@ -1,3 +0,0 @@
#!/bin/bash
cp output/*.dll "testbau/SCP Secret Laboratory/LabAPI/plugins/7777/"