Skip to content

Commit

Permalink
Merge pull request #769 from ProjectStarlight/refreshing-dip-duration
Browse files Browse the repository at this point in the history
Increased Refreshing Dip duration and made the nurse unable to remove it
  • Loading branch information
ScalarVector1 authored Nov 11, 2024
2 parents 24b2c74 + e9863ca commit 4756a7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Content/Buffs/HotspringHeal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public override void SetStaticDefaults()
DisplayName.SetDefault("Refreshing Dip");
Description.SetDefault("The hot springs restore your body and mind");
Main.debuff[Type] = true;
BuffID.Sets.NurseCannotRemoveDebuff[Type] = true;
}

public override void Update(Player Player, ref int buffIndex)
Expand Down
2 changes: 1 addition & 1 deletion Content/Tiles/Underground/HotspringFountain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public override void Update()
Dust.NewDustPerfect(Center + Vector2.UnitY * -20, ModContent.DustType<Dusts.Mist>(), new Vector2(0.2f, -Main.rand.NextFloat(0.7f, 1.6f)), Main.rand.Next(50, 70), Color.White, Main.rand.NextFloat(0.2f, 0.5f));

foreach (Player player in Main.player.Where(n => n.wet && Vector2.Distance(n.Center, Center) < 30 * 16))
player.AddBuff(ModContent.BuffType<HotspringHeal>(), 10);
player.AddBuff(ModContent.BuffType<HotspringHeal>(), 180);

for (int x = -30; x < 30; x += 1)
{
Expand Down

0 comments on commit 4756a7b

Please sign in to comment.