Zombie virus delayed from 20-30 minutes from rule start. (#16346)
This commit is contained in:
@@ -14,8 +14,7 @@ public sealed class PendingZombieComponent : Component
|
||||
{
|
||||
DamageDict = new ()
|
||||
{
|
||||
{ "Blunt", 0.5 },
|
||||
{ "Cellular", 0.2 },
|
||||
{ "Blunt", 0.8 },
|
||||
{ "Toxin", 0.2 },
|
||||
}
|
||||
};
|
||||
@@ -23,7 +22,37 @@ public sealed class PendingZombieComponent : Component
|
||||
[DataField("nextTick", customTypeSerializer:typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan NextTick;
|
||||
|
||||
// Scales damage over time.
|
||||
[DataField("infectedSecs")]
|
||||
/// <summary>
|
||||
/// Scales damage over time.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("infectedSecs")]
|
||||
public int InfectedSecs;
|
||||
|
||||
/// <summary>
|
||||
/// Number of seconds that a typical infection will last before the player is totally overwhelmed with damage and
|
||||
/// dies.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("maxInfectionLength")]
|
||||
public float MaxInfectionLength = 120f;
|
||||
|
||||
/// <summary>
|
||||
/// Infection warnings are shown as popups, times are in seconds.
|
||||
/// -ve times shown to initial zombies (once timer counts from -ve to 0 the infection starts)
|
||||
/// +ve warnings are in seconds after being bitten
|
||||
/// </summary>
|
||||
[DataField("infectionWarnings")]
|
||||
public Dictionary<int, string> InfectionWarnings = new()
|
||||
{
|
||||
{-45, "zombie-infection-warning"},
|
||||
{-30, "zombie-infection-warning"},
|
||||
{10, "zombie-infection-underway"},
|
||||
{25, "zombie-infection-underway"},
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// A minimum multiplier applied to Damage once you are in crit to get you dead and ready for your next life
|
||||
/// as fast as possible.
|
||||
/// </summary>
|
||||
[DataField("minimumCritMultiplier")]
|
||||
public float MinimumCritMultiplier = 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user