Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3439,9 +3439,10 @@ public void ChangeEffectIntensity(string effectName, byte intensity, float durat
/// <param name="efficacy">Percent of incoming damage absorbed by this stat.</param>
/// <param name="sustain">The number of seconds to delay the start of the decay.</param>
/// <param name="persistant">Whether the process is removed when the value hits 0.</param>
public void AddAhp(float amount, float limit = 75f, float decay = 1.2f, float efficacy = 0.7f, float sustain = 0f, bool persistant = false)
/// <returns>The <see cref="AhpStat.AhpProcess"/> instance..</returns>
public AhpStat.AhpProcess AddAhp(float amount, float limit = 75f, float decay = 1.2f, float efficacy = 0.7f, float sustain = 0f, bool persistant = false)
{
ReferenceHub.playerStats.GetModule<AhpStat>()
return ReferenceHub.playerStats.GetModule<AhpStat>()
.ServerAddProcess(amount, limit, decay, efficacy, sustain, persistant);
}

Expand Down
Loading