Sulphur Meter fills 3x slower in Abyss layer 1
This commit is contained in:
1 parent
abcb7ea5dc
commit
cc9fe171e5
1 file changed
+4
-2
@@ -123,7 +123,7 @@ namespace CalamityMod.CalPlayer
|
||||
ApplyDoTDebuff(auricRebuke, rebukeDoT);
|
||||
ApplyDoTDebuff(miracleBlight, 80);
|
||||
|
||||
// Slowly increase the sulphuric water poisoning effect. Once it's high enough, the player starts taking damage over time.
|
||||
// Slowly increase the sulphuric water poisoning effect. Once it's high enough, the player takes damage and the meter resets.
|
||||
bool nearSafeZone = false;
|
||||
if (SulphuricWaterSafeZoneSystem.NearbySafeTiles.Count >= 1)
|
||||
{
|
||||
@@ -142,7 +142,7 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
|
||||
bool ASPoisoning = ASPoisonLevel > 0f;
|
||||
if (ASPoisoning || ((ZoneSulphur || Player.Calamity().ZoneAbyssLayer1) && !Player.creativeGodMode && Player.IsUnderwater() && !decayEffigy && !abyssalDivingSuit && !Player.lavaWet && !Player.honeyWet && !nearSafeZone))
|
||||
if (ASPoisoning || ((ZoneSulphur || ZoneAbyssLayer1) && !Player.creativeGodMode && Player.IsUnderwater() && !decayEffigy && !abyssalDivingSuit && !Player.lavaWet && !Player.honeyWet && !nearSafeZone))
|
||||
{
|
||||
float increment = 1f / SulphSeaWaterSafetyTime;
|
||||
//No way to mitigate AS Poisoning
|
||||
@@ -152,6 +152,8 @@ namespace CalamityMod.CalPlayer
|
||||
increment *= 0.5f;
|
||||
if (sulphurSet && !ASPoisoning)
|
||||
increment *= 0.5f;
|
||||
if (ZoneAbyssLayer1 && !ASPoisoning)
|
||||
increment *= 0.33f;
|
||||
|
||||
SulphWaterPoisoningLevel = MathHelper.Clamp(SulphWaterPoisoningLevel + increment, 0f, 1f);
|
||||
if (SulphWaterPoisoningLevel >= 1f)
|
||||
|
||||
Reference in new issue
Block a user