- tweak: Nerf blight. (#263)

* - tweak: Nerf blight.

* - tweak: ... But bible no longer works.
This commit is contained in:
Aviu00
2024-04-02 23:18:05 +09:00
committed by GitHub
parent b635d4efaf
commit b5cede485d
8 changed files with 32 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ public sealed partial class BlightComponent : Component
public float Delay;
[ViewVariables(VVAccess.ReadWrite)]
public TimeSpan SleepingCureTime = TimeSpan.FromSeconds(25);
public TimeSpan SleepingCureTime = TimeSpan.FromSeconds(15);
[ViewVariables(VVAccess.ReadWrite)]
public float SleepDelay;

View File

@@ -0,0 +1,19 @@
using Content.Shared.Chemistry.Reagent;
using JetBrains.Annotations;
using Robust.Shared.Prototypes;
namespace Content.Server.Revenant.Components;
[UsedImplicitly]
public sealed partial class CureBlight : ReagentEffect
{
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
{
return null;
}
public override void Effect(ReagentEffectArgs args)
{
args.EntityManager.RemoveComponentDeferred<BlightComponent>(args.SolutionEntity);
}
}