-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.1.0 | Add effect and code improved
- Loading branch information
Showing
6 changed files
with
58 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.vs | ||
bin | ||
obj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
using Exiled.API.Interfaces; | ||
using System.ComponentModel; | ||
|
||
namespace LifeForMoreStamina | ||
{ | ||
public class Config : IConfig | ||
{ | ||
public bool IsEnabled { get; set; } = true; | ||
public bool Debug { get; set; } = false; | ||
[Description("How much stamina does the player receive when it runs out?")] | ||
public float StaminaAdded { get; set; } = 0.060f; | ||
[Description("Stamina level at which it starts to regenerate.")] | ||
public float StaminaThreshold { get; set; } = 0.025f; | ||
[Description("How much health is deducted?")] | ||
public float HpRemoved { get; set; } = 0.5f; | ||
[Description("Kills the player when their HP reaches zero.")] | ||
public bool KillOnZeroHp { get; set; } = true; | ||
[Description("Apply Bleeding Effect when HP is depleting (Visual Only)")] | ||
public bool VisualEffect { get; set; } = true; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters