added a void of extinction bool

This commit is contained in:
termigator1359 committed 2020-07-03 20:45:05 -04:00
1 parent 8d92620cda
commit e97590e6e7
2 files changed
+5 -2

No files matched your search

+4 -2
View File
@@ -489,6 +489,7 @@ namespace CalamityMod.CalPlayer
public bool aquaticEmblem = false;
public bool darkSunRing = false;
public bool calamityRing = false;
public bool voidOfExtinction = false;
public bool eArtifact = false;
public bool dArtifact = false;
public bool gArtifact = false;
@@ -1536,6 +1537,7 @@ namespace CalamityMod.CalPlayer
harpyWingBoost = false; //harpy wings + harpy ring
darkSunRing = false;
calamityRing = false;
voidOfExtinction = false;
eArtifact = false;
dArtifact = false;
gArtifact = false;
@@ -5913,7 +5915,7 @@ namespace CalamityMod.CalPlayer
if (corrEffigy)
contactDamageReduction -= 0.2;
if (calamityRing)
if (calamityRing && !voidOfExtinction)
contactDamageReduction -= 0.15;
// 10% is converted to 9%, 25% is converted to 20%, 50% is converted to 33%, 75% is converted to 43%, 100% is converted to 50%
@@ -6142,7 +6144,7 @@ namespace CalamityMod.CalPlayer
if (corrEffigy)
projectileDamageReduction -= 0.2;
if (calamityRing)
if (calamityRing && !voidOfExtinction)
projectileDamageReduction -= 0.15;
// 10% is converted to 9%, 25% is converted to 20%, 50% is converted to 33%, 75% is converted to 43%, 100% is converted to 50%
+1
View File
@@ -55,6 +55,7 @@ namespace CalamityMod.Items.Accessories
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.calamityRing = true;
modPlayer.voidOfExtinction = true;
player.lavaRose = true;
player.lavaMax += 240;
player.allDamage += 0.15f;