This commit is contained in:
mountaindrew10 committed 2024-06-21 00:39:54 -05:00
commit 61b48ead7d
5 files changed
+13 -1

No files matched your search

+2
View File
@@ -684,6 +684,7 @@ namespace CalamityMod.CalPlayer
public bool hasJetpack = false;
public bool plaguedFuelPack = false;
public bool blunderBooster = false;
public bool blunderBoosterVisibility = true;
public int jetPackDash = 0;
public int jetPackDirection = 0;
public bool veneratedLocket = false;
@@ -1947,6 +1948,7 @@ namespace CalamityMod.CalPlayer
hasJetpack = false;
plaguedFuelPack = false;
blunderBooster = false;
blunderBoosterVisibility = true;
veneratedLocket = false;
alcoholPoisoning = false;
+1
View File
@@ -27,6 +27,7 @@ namespace CalamityMod.Items.Accessories
player.GetDamage<ThrowingDamageClass>() += 0.12f;
player.Calamity().rogueVelocity += 0.15f;
player.Calamity().blunderBooster = true;
player.Calamity().blunderBoosterVisibility = !hideVisual;
player.Calamity().stealthGenStandstill += 0.1f;
player.Calamity().stealthGenMoving += 0.1f;
}
@@ -846,7 +846,11 @@ RageMode: {
ReaverRage: {
DisplayName: Reaver Rage
Description: You are angry
Description:
'''
Rage of the earth
Defense increased by 5 and damage increased by 10%
'''
}
SilvaRevival: {
@@ -359,6 +359,7 @@ BlunderBooster: {
12% increased rogue damage and 15% increased rogue projectile velocity
Stealth generates 10% faster
Summons a red lightning aura around the player that electrifies nearby enemies
The aura's appearance can be toggled with visibility
Press [KEY] to consume 25% of your maximum stealth to perform a swift upwards diagonal dash
This dash leaves a trail of red lightning bolts
This effect has a 1 second cooldown before it can be used again
@@ -86,6 +86,10 @@ namespace CalamityMod.Projectiles.Typeless
public override bool PreDraw(ref Color lightColor)
{
// Don't draw the aura at all if visibility is toggled off
if (!Main.player[Projectile.owner].Calamity().blunderBoosterVisibility)
return false;
Texture2D sprite = Terraria.GameContent.TextureAssets.Projectile[Projectile.type].Value;
Color drawColour = Color.White;