Removed Atlantis GFB post-DoG buff

I can just add an easter egg once my dev weapon is real
This commit is contained in:
CongratsIsTrash committed 2025-12-03 16:52:39 -05:00
1 parent 520d3d903f
commit abec0c3e75
3 files changed
+2 -28

No files matched your search

-21
View File
@@ -40,16 +40,6 @@ namespace CalamityMod.Items.Weapons.Magic
Item.shootSpeed = 40f;
}
public override void ModifyWeaponDamage(Player player, ref StatModifier damage)
{
if (Main.zenithWorld)
{
bool devourer = DownedBossSystem.downedDoG;
float damageMult = 1f + (devourer ? (348f / 86f - 1f) : 0f);
damage *= damageMult;
}
}
public override float UseSpeedMultiplier(Player player) => (DownedBossSystem.downedDoG && Main.zenithWorld) ? 2.5f : 1f;
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
int points = 6;
@@ -76,16 +66,5 @@ namespace CalamityMod.Items.Weapons.Magic
Projectile.NewProjectile(source, position + velocity * 2, velocity, type, damage, knockback, player.whoAmI, 0f, 0f, 5f);
return false;
}
public override void ModifyTooltips(List<TooltipLine> list)
{
bool devourer = DownedBossSystem.downedDoG;
string line = this.GetLocalizedValue("TooltipNormal");
if (Main.zenithWorld && devourer)
line = this.GetLocalizedValue("TooltipGFBDoG");
else if (Main.zenithWorld)
line = this.GetLocalizedValue("TooltipGFB");
list.FindAndReplace("[GFB]", line);
}
}
}
@@ -119,10 +119,7 @@ AstralStaff: {
Atlantis: {
DisplayName: Atlantis
Tooltip: "[GFB]"
TooltipNormal: Casts aquatic spears that split as they travel
TooltipGFB: A cosmic serpent prevents this weapon's true potential from shining...
TooltipGFBDoG: Take good care of my weapon, or else... -CIT
Tooltip: Casts aquatic spears that split as they travel
}
AuguroftheVoid: {
+1 -3
View File
@@ -13,7 +13,6 @@ namespace CalamityMod.Projectiles.Magic
public class AtlantisSpear : ModProjectile, ILocalizedModType
{
public new string LocalizationCategory => "Projectiles.Magic";
public bool devourer = DownedBossSystem.downedDoG;
private static int TotalSegments = 16;
private float damageMultiplier = 1f;
private int time = 0;
@@ -28,9 +27,8 @@ namespace CalamityMod.Projectiles.Magic
Projectile.ignoreWater = true;
Projectile.DamageType = DamageClass.Magic;
Projectile.penetrate = 4;
Projectile.extraUpdates = (Main.zenithWorld && devourer) ? 1 : 0;
Projectile.usesIDStaticNPCImmunity = true;
Projectile.idStaticNPCHitCooldown = (Main.zenithWorld && devourer) ? 2 : 8;
Projectile.idStaticNPCHitCooldown = 8;
Projectile.appliesImmunityTimeOnSingleHits = true;
}