This commit is contained in:
Dominic committed 2021-06-26 19:28:01 -05:00
commit 45784a78d8
5 files changed
+11 -6

No files matched your search

+5
View File
@@ -678,6 +678,11 @@ namespace CalamityMod.CalPlayer
player.lifeRegenTime += 1;
player.lifeRegen += 2;
}
else if (modPlayer.rOoze)
{
if (!Main.dayTime)
player.lifeRegen += 4;
}
if (modPlayer.ursaSergeant)
{
+4 -1
View File
@@ -1474,11 +1474,14 @@ namespace CalamityMod.CalPlayer
// Ambrosial Ampoule bonus and other light-granting bonuses
float[] light = new float[3];
if (modPlayer.aAmpoule)
if ((modPlayer.rOoze && !Main.dayTime) || modPlayer.aAmpoule)
{
light[0] += 1f;
light[1] += 1f;
light[2] += 0.6f;
}
if (modPlayer.aAmpoule)
{
player.endurance += 0.05f;
player.pickSpeed -= 0.25f;
player.buffImmune[BuffID.Venom] = true;
+1
View File
@@ -51,6 +51,7 @@ namespace CalamityMod.Items.Accessories
CalamityPlayer modPlayer = player.Calamity();
modPlayer.beeResist = true;
modPlayer.aAmpoule = true;
modPlayer.rOoze = true;
}
public override void AddRecipes()
-5
View File
@@ -25,11 +25,6 @@ namespace CalamityMod.Items.Accessories
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.Calamity().rOoze = true;
if (!Main.dayTime)
{
Lighting.AddLight((int)(player.position.X + (float)(player.width / 2)) / 16, (int)(player.position.Y + (float)(player.height / 2)) / 16, 1f, 1f, 0.6f);
player.lifeRegen += 4;
}
}
public override void AddRecipes()
+1
View File
@@ -78,6 +78,7 @@ namespace CalamityMod.Items.Accessories
modPlayer.seaShell = true;
modPlayer.absorber = true;
modPlayer.aAmpoule = true;
modPlayer.rOoze = true;
player.statManaMax2 += 20;
}