Shell Speed Boost dies

This commit is contained in:
Altixal committed 2023-10-04 08:24:10 +07:00
1 parent 9841fe3b31
commit 88dca48213
5 files changed
-31

No files matched your search

-20
View File
@@ -1,20 +0,0 @@
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.StatBuffs
{
public class ShellBoost : ModBuff
{
public override void SetStaticDefaults()
{
Main.debuff[Type] = false;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = true;
}
public override void Update(Player player, ref int buffIndex)
{
player.Calamity().shellBoost = true;
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

-3
View File
@@ -879,7 +879,6 @@ namespace CalamityMod.CalPlayer
public bool PinkJellyRegen = false;
public bool GreenJellyRegen = false;
public bool AbsorberRegen = false;
public bool shellBoost = false;
public bool cFreeze = false;
public bool shine = false;
public bool anechoicCoating = false;
@@ -1917,7 +1916,6 @@ namespace CalamityMod.CalPlayer
PinkJellyRegen = false;
GreenJellyRegen = false;
AbsorberRegen = false;
shellBoost = false;
cFreeze = false;
tRegen = false;
polarisBoost = false;
@@ -2372,7 +2370,6 @@ namespace CalamityMod.CalPlayer
GreenJellyRegen = false;
AbsorberRegen = false;
enraged = false;
shellBoost = false;
cFreeze = false;
tRegen = false;
rageModeActive = false;
-3
View File
@@ -2802,9 +2802,6 @@ namespace CalamityMod.CalPlayer
Player.findTreasure = true;
}
if (shellBoost)
Player.moveSpeed += 0.3f;
if (tarraSet)
{
if (!tarraMelee)
@@ -828,11 +828,6 @@ ReaverRage: {
Description: You are angry
}
ShellBoost: {
DisplayName: Shell Speed Boost
Description: Speed is boosted
}
SilvaRevival: {
DisplayName: Silva Immunity
Description: You are unkillable and immune to most debuffs