Merge branch '1.4.4' into sunny-anni-misc

This commit is contained in:
sunny-raindrops committed 2026-07-20 14:35:23 -07:00
commit 9fb8fc65e2
215 files changed
+1137 -2869

No files matched your search

+2 -2
View File
@@ -95,8 +95,8 @@ namespace CalamityMod.Balancing
#endregion
#region Wall of Flesh
// 40% resist to Corro/Crimslime Staff.
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.WallofFleshEye, Do(new ProjectileResistBalancingRule(0.6f, ProjectileType<CrimslimeMinion>(), ProjectileType<CorroslimeMinion>()))));
// 50% resist to Staff of Necrosteocytes.
NPCSpecificBalancingChanges.AddRange(Bundle(new List<int> { NPCID.WallofFlesh, NPCID.WallofFleshEye }, Do(new ProjectileResistBalancingRule(0.5f, ProjectileType<SmallSkeletonMinion>()))));
#endregion
#region Aquatic Scourge
-5
View File
@@ -30,11 +30,6 @@ namespace CalamityMod.Buffs.DamageOverTime
{
owner = p.owner;
projectileCount++;
if (projectileCount >= 5)
{
projectileCount = 5;
break;
}
}
}
@@ -1,11 +1,11 @@
using CalamityMod.Projectiles.Summon;
using CalamityMod.Projectiles.Summon;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.Summon
{
public class BabySlimeGodBuff : BaseSummonBuff
public class BabyPaladinBuff : BaseSummonBuff
{
protected override int MinionProjectileType => ModContent.ProjectileType<CrimsonSlimeGodMinion>();
protected override int MinionProjectileType => ModContent.ProjectileType<StatigelBlightedSlime>();
protected override ref bool MinionBool => ref BuffModdedOwner.sGod;
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 486 B

After

Width:  |  Height:  |  Size: 486 B

@@ -1,12 +1,12 @@
using CalamityMod.Projectiles.Summon;
using CalamityMod.Projectiles.Summon;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.Summon
{
public class Corroslime : BaseSummonBuff
public class BlightedSlime : BaseSummonBuff
{
protected override int MinionProjectileType => ModContent.ProjectileType<CorroslimeMinion>();
protected override int MinionProjectileType => ModContent.ProjectileType<BlightedSlimeMinion>();
protected override ref bool MinionBool => ref BuffModdedOwner.cSlime;
protected override ref bool MinionBool => ref BuffModdedOwner.blightedSlime;
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 547 B

After

Width:  |  Height:  |  Size: 547 B

File renamed without changes.

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 543 B

-12
View File
@@ -1,12 +0,0 @@
using CalamityMod.Projectiles.Summon;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.Summon
{
public class Crimslime : BaseSummonBuff
{
protected override int MinionProjectileType => ModContent.ProjectileType<CrimslimeMinion>();
protected override ref bool MinionBool => ref BuffModdedOwner.cSlime2;
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Buffs.Summon
{
CalamityPlayer modPlayer = player.Calamity();
if (!modPlayer.allElementals)
if (!modPlayer.allElementals.HasValue)
{
player.DelBuff(buffIndex);
buffIndex--;
+20 -23
View File
@@ -1077,15 +1077,15 @@ namespace CalamityMod.CalPlayer
public bool jellyChargedBattery = false;
/// <summary> General cooldown for accessories which spawn projectiles on minion hits. </summary>
public float summonProjCooldown;
public bool sandElemental = false;
public bool? sandElemental = null;
public bool sandElementalVanity = false;
public bool oasisElemental = false;
public bool? oasisElemental = null;
public bool oasisElementalVanity = false;
public bool cloudElemental = false;
public bool? cloudElemental = null;
public bool cloudElementalVanity = false;
public bool brimElemental = false;
public bool? brimElemental = null;
public bool brimElementalVanity = false;
public bool waterElemental = false;
public bool? waterElemental = null;
public bool waterElementalVanity = false;
public bool fungalClump = false;
public bool fungalClumpVanity = false;
@@ -1227,7 +1227,6 @@ namespace CalamityMod.CalPlayer
public bool bloodflareFrenzy = false;
public int bloodflareMeleeHits = 0;
public bool bloodflareRanged = false;
public bool bloodflareThrowing = false;
public bool bloodflareMage = false;
public int bloodflareMageCooldown = 0;
public bool bloodflareSummon = false;
@@ -1516,10 +1515,8 @@ namespace CalamityMod.CalPlayer
public bool CalamarisLament = false;
/// <summary> Entropy's Vigil. </summary>
public bool cEyes = false;
/// <summary> Corroslime Staff. </summary>
public bool cSlime = false;
/// <summary> Crimslime Staff. </summary>
public bool cSlime2 = false;
/// <summary> Blighted Slime Staff. </summary>
public bool blightedSlime = false;
/// <summary> Abandoned Slime Staff. </summary>
public bool aSlime = false;
public bool brittleStar = false;
@@ -1550,7 +1547,7 @@ namespace CalamityMod.CalPlayer
/// <summary> Enchanted Conch. </summary>
public bool hCrab = false;
/// <summary> Heart of the Elements. </summary>
public bool allElementals = false;
public bool? allElementals = null;
/// <summary> Heart of the Elements; however, the minions will not attack. </summary>
public bool allElementalsVanity = false;
/// <summary> Silva armor's Silva Crystal. </summary>
@@ -2592,7 +2589,6 @@ namespace CalamityMod.CalPlayer
bloodflareMelee = false;
bloodflareFrenzy = false;
bloodflareRanged = false;
bloodflareThrowing = false;
bloodflareMage = false;
bloodflareSummon = false;
@@ -2775,8 +2771,7 @@ namespace CalamityMod.CalPlayer
cosmicViper = false;
CalamarisLament = false;
cEyes = false;
cSlime = false;
cSlime2 = false;
blightedSlime = false;
aSlime = false;
brittleStar = false;
aquaticStar = false;
@@ -2811,17 +2806,17 @@ namespace CalamityMod.CalPlayer
cSpirit = false;
dCrystal = false;
MutatedTruffleBool = false;
sandElemental = false;
sandElemental = null;
sandElementalVanity = false;
oasisElemental = false;
oasisElemental = null;
oasisElementalVanity = false;
cloudElemental = false;
cloudElemental = null;
cloudElementalVanity = false;
brimElemental = false;
brimElemental = null;
brimElementalVanity = false;
waterElemental = false;
waterElemental = null;
waterElementalVanity = false;
allElementals = false;
allElementals = null;
allElementalsVanity = false;
fungalClump = false;
fungalClumpVanity = false;
@@ -3375,7 +3370,6 @@ namespace CalamityMod.CalPlayer
bloodflareFrenzy = false;
bloodflareMeleeHits = 0;
bloodflareRanged = false;
bloodflareThrowing = false;
bloodflareMage = false;
bloodflareSummon = false;
bloodflareSummonTimer = 0;
@@ -4818,7 +4812,7 @@ namespace CalamityMod.CalPlayer
Player.velocity.Y = 0.5f;
}
else
Player.velocity.Y = 0f;
Player.velocity.Y = 1E-05f;
if (CalamityKeybinds.ExoChairSlowdownHotkey.Current)
Player.velocity *= 0.5f;
@@ -5327,7 +5321,7 @@ namespace CalamityMod.CalPlayer
EnhancedDarknessSystem.lights.Add(new(lastDeerclopsPosition.Value, scale: DeerclopsAI.borderScale, texture: DeerclopsAI.ArenaTex.Value));
//we draw light around the player when far away so they have some visibility, although very small. This is especially nice in multiplayer. we scale opacity with distance bc it looks better
EnhancedDarknessSystem.lights.Add(new EnhancedDarknessSystem.LightSource(scale: 0.75f, opacity: MathHelper.Clamp(Main.LocalPlayer.DistanceSQ(lastDeerclopsPosition.Value) / (409600 /*640^2*/), 0, 1)));
EnhancedDarknessSystem.lights.Add(new EnhancedDarknessSystem.LightSource(scale: 0.75f, opacity: MathHelper.Clamp(Main.LocalPlayer.DistanceSQ(lastDeerclopsPosition.Value) / 409600, 0, 1)));
if (darknessIntensity == 0)
{
@@ -6059,7 +6053,10 @@ namespace CalamityMod.CalPlayer
float scale = MathHelper.Max(Main.screenWidth, Main.screenHeight) / size * 0.4f;
if (ProfanedMoonlightAuroraDrawer is null || ProfanedMoonlightAuroraDrawer.Size != size)
{
ProfanedMoonlightAuroraDrawer?.Dispose();
ProfanedMoonlightAuroraDrawer = FluidFieldManager.CreateField(size, scale, 0.1f, 50f, 0.992f);
}
int sourceArea = (int)Math.Ceiling(6f / ProfanedMoonlightAuroraDrawer.Scale) + 1;
ProfanedMoonlightAuroraDrawer.ShouldUpdate = Player.miscCounter % 2 == 0;
+1 -1
View File
@@ -556,7 +556,7 @@ namespace CalamityMod.CalPlayer
}
}
public override void ModifyHitNPCWithProj(Projectile proj, NPC target, ref NPC.HitModifiers modifiers)/* tModPorter If you don't need the Projectile, consider using ModifyHitNPC instead */
public override void ModifyHitNPCWithProj(Projectile proj, NPC target, ref NPC.HitModifiers modifiers)
{
if (proj.npcProj || proj.trap)
return;
+1 -1
View File
@@ -677,7 +677,7 @@ namespace CalamityMod.CalPlayer
{
Projectile.NewProjectile(source, Player.Center, Vector2.Zero, ModContent.ProjectileType<PlaguePulse>(), auraDamage, 0f, Player.whoAmI, 0, 0, 0);
pulseCounter = 0;
if (toxicHeartVisuals)
if (toxicHeartVisuals && !CalamityClientConfig.Instance.MisophoniaSupport)
{
float soundVolume = Utils.Remap(Player.lifeRegen, minLifeRegen, maxLifeRegen, 1f, 0.3f, true);
SoundStyle heartbeat = new("CalamityMod/Sounds/Item/Heartbeat");
+6 -11
View File
@@ -1138,6 +1138,7 @@ namespace CalamityMod.CalPlayer
Asset<Texture2D> carpetAuric = ExtraTextureRefs.FlyingCarpetAuric;
Asset<Texture2D> carpetOriginal = ExtraTextureRefs.FlyingCarpetVanilla;
TextureAssets.FlyingCarpet = (auricSet ? carpetAuric : carpetOriginal);
TextureAssets.Buff[ModContent.BuffType<BlightedSlime>()] = WorldGen.crimson ? ExtraTextureRefs.BlightedSlimeCrimIcon : ExtraTextureRefs.BlightedSlimeCorroIcon;
for (int l = 0; l < Player.MaxBuffs; l++)
{
@@ -2764,9 +2765,6 @@ namespace CalamityMod.CalPlayer
if (Player.buffTime[l] <= 2 && buffID == ModContent.BuffType<Buffs.StatBuffs.TarragonImmunity>())
if (Player.whoAmI == Main.myPlayer)
Player.AddCooldown(Cooldowns.TarragonImmunity.ID, TarragonHeadRogue.ImmunityCooldown);
if (CalamityBuffSets.IsDebuff[buffID])
Player.GetDamage<RogueDamageClass>() += TarragonHeadRogue.RogueDamageBoostWhileDebuffed;
}
}
@@ -2832,6 +2830,10 @@ namespace CalamityMod.CalPlayer
if (Player.ichor)
Player.statDefense += 5;
// Holding Walking Cane increases movement speed
if (Player.HeldItem.type == ModContent.ItemType<WalkingCane>())
Player.moveSpeed += WalkingCane.MoveSpeedBoost;
// Fairy Boots bonus
if (fairyBoots)
{
@@ -3637,8 +3639,7 @@ namespace CalamityMod.CalPlayer
--bloodflareCoreRemainingHealOverTime;
}
// Reduce how slow Chilled makes the player, because it's cancerous right now
// Reduce how slow Chilled makes the player
// The moveSpeed multiplier for Chilled in vanilla is 0.75, so we just multiply by 1.166667 here to make it 0.875, effectively cutting the reduction in half
if (Player.chilled)
Player.moveSpeed *= 1f + (1f / 6f);
@@ -3937,12 +3938,6 @@ namespace CalamityMod.CalPlayer
Player.AddBuff(BuffID.Inferno, 2);
}
if (bloodflareThrowing)
{
if (Player.statLife > (int)(Player.statLifeMax2 * BloodflareHeadRogue.DefenseBoostHealthThreshold))
Player.statDefense += BloodflareHeadRogue.DefenseBoostAboveHealthThreshold;
}
if (bloodflareSummon)
{
if (Player.statLife <= (int)(Player.statLifeMax2 * BloodflareHeadSummon.DefenseBoostHealthThreshold))
+2 -2
View File
@@ -62,7 +62,7 @@ namespace CalamityMod.CalPlayer
#endregion
#region On Hit NPC
public override void OnHitNPCWithItem(Item item, NPC target, NPC.HitInfo hit, int damageDone)/* tModPorter If you don't need the Item, consider using OnHitNPC instead */
public override void OnHitNPCWithItem(Item item, NPC target, NPC.HitInfo hit, int damageDone)
{
if (Player.whoAmI != Main.myPlayer)
return;
@@ -207,7 +207,7 @@ namespace CalamityMod.CalPlayer
#endregion
#region On Hit NPC With Proj
public override void OnHitNPCWithProj(Projectile proj, NPC target, NPC.HitInfo hit, int damageDone)/* tModPorter If you don't need the Projectile, consider using OnHitNPC instead */
public override void OnHitNPCWithProj(Projectile proj, NPC target, NPC.HitInfo hit, int damageDone)
{
if (Player.whoAmI != Main.myPlayer)
return;
+5 -6
View File
@@ -50,10 +50,6 @@ namespace CalamityMod
[DefaultValue(false)]
public bool BoCSpriteChange { get; set; }
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(true)]
public bool EnableVanillaTextureEdits { get; set; }
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(true)]
public bool SunkenSeaBackgroundDistortion { get; set; }
@@ -244,8 +240,8 @@ namespace CalamityMod
public float FlightBarPosY { get; set; }
#endregion
#region Music Toggles
[Header("MusicToggles")]
#region Audio Toggles
[Header("AudioToggles")]
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(true)]
@@ -259,6 +255,9 @@ namespace CalamityMod
[DefaultValue(false)]
public bool AbyssLayer3Alt { get; set; }
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(false)]
public bool MisophoniaSupport { get; set; }
#endregion
#region General Gameplay Changes
+2 -2
View File
@@ -3,7 +3,7 @@ sampler uImage1 : register(s1);
float3 uColor;
float3 uSecondaryColor;
float uOpacity;
float uSaturation;
float uSaturation; // Saturation gets used as a "true" opacity
float uRotation;
float uTime;
float4 uSourceRect;
@@ -20,7 +20,7 @@ float4 Recolor(float4 sampleColor : COLOR0, float2 coords : TEXCOORD0) : COLOR0
float4 color = tex2D(uImage0, coords);
float originalAlpha = color.a;
color.rbg = lerp(color.rbg, uColor, uOpacity);
return color * originalAlpha;
return color * originalAlpha * uSaturation;
}
Binary file not shown.
+10 -13
View File
@@ -1,4 +1,5 @@
using Microsoft.Xna.Framework.Graphics;
using CalamityMod.Buffs.Summon;
using Microsoft.Xna.Framework.Graphics;
using ReLogic.Content;
using Terraria;
using Terraria.GameContent;
@@ -10,13 +11,7 @@ namespace CalamityMod.ExtraTextures
[Autoload(Side = ModSide.Client)]
public class ExtraTextureRefs : ModSystem
{
// Destroyer glowmasks
public static Asset<Texture2D> DestroyerHeadGlowmask;
public static Asset<Texture2D> DestroyerBodyGlowmask;
public static Asset<Texture2D> DestroyerTailGlowmask;
// WoF, These are not "exactly" the ExtraTextures. But
public static Asset<Texture2D> WallOfFleshEyeGlowmask;
// WoF, These are not "exactly" the ExtraTextures
public static Asset<Texture2D> WallOfFleshDemonSickleTexture;
// Flying Carpet Replacements
@@ -28,6 +23,10 @@ namespace CalamityMod.ExtraTextures
public static Asset<Texture2D> LuckIconVanilla;
public static Asset<Texture2D> LuckIconLesser;
// Blighted Slime Buff icons
public static Asset<Texture2D> BlightedSlimeCorroIcon;
public static Asset<Texture2D> BlightedSlimeCrimIcon;
// Particles
public static Asset<Texture2D> CircularSmear;
public static Asset<Texture2D> CircularSmearFire1;
@@ -38,11 +37,6 @@ namespace CalamityMod.ExtraTextures
// TODO: - Every other ExtraTextures Reference could be move in here
public override void OnModLoad()
{
DestroyerHeadGlowmask = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/DestroyerHeadGlow", AssetRequestMode.AsyncLoad);
DestroyerBodyGlowmask = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/DestroyerBodyGlow", AssetRequestMode.AsyncLoad);
DestroyerTailGlowmask = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/DestroyerTailGlow", AssetRequestMode.AsyncLoad);
WallOfFleshEyeGlowmask = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/WallOfFleshEyeTelegraphGlow", AssetRequestMode.AsyncLoad);
WallOfFleshDemonSickleTexture = ModContent.Request<Texture2D>("CalamityMod/Projectiles/Melee/ForbiddenOathbladeProjectile", AssetRequestMode.AsyncLoad);
FlyingCarpetVanilla = TextureAssets.FlyingCarpet;
@@ -52,6 +46,9 @@ namespace CalamityMod.ExtraTextures
LuckIconVanilla = TextureAssets.Buff[BuffID.Lucky];
LuckIconLesser = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBuffs/LuckyLesser", AssetRequestMode.AsyncLoad);
BlightedSlimeCorroIcon = ModContent.Request<Texture2D>("CalamityMod/Buffs/Summon/BlightedSlime");
BlightedSlimeCrimIcon = ModContent.Request<Texture2D>("CalamityMod/Buffs/Summon/BlightedSlimeCrimson");
CircularSmear = ModContent.Request<Texture2D>("CalamityMod/Particles/CircularSmear", AssetRequestMode.AsyncLoad);
CircularSmearFire1 = ModContent.Request<Texture2D>("CalamityMod/Particles/CircularSmearFire1", AssetRequestMode.AsyncLoad);
CircularSmearFire2 = ModContent.Request<Texture2D>("CalamityMod/Particles/CircularSmearFire2", AssetRequestMode.AsyncLoad);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

+3 -8
View File
@@ -237,14 +237,6 @@ namespace CalamityMod.ILEditing
dir = self.direction;
dashing = true;
// CIT 16OCT2024: Commented this code out, as there's no reason for custom dash hotkey to use Player.dashTime
// and was causing the return of Celestial Starboard's dash bug from early 1.4 versions
/*if ((self.dashTime <= 0 && self.direction == -1) || (self.dashTime >= 0 && self.direction == 1))
{
self.dashTime = 15;
return;
}*/
dashing = true;
self.dashTime = 0;
self.timeSinceLastDashStarted = 0;
@@ -717,7 +709,10 @@ namespace CalamityMod.ILEditing
ref FluidField calamityFireDrawer = ref player.Calamity().CalamityFireDrawer;
ref Vector2 firePosition = ref player.Calamity().FireDrawerPosition;
if (calamityFireDrawer is null || calamityFireDrawer.Size != size)
{
calamityFireDrawer?.Dispose();
calamityFireDrawer = FluidFieldManager.CreateField(size, scale, 0.1f, 50f, 0.992f);
}
// Update the fire draw position.
firePosition = new Vector2(Main.screenWidth, Main.screenHeight) * 0.5f;
+2 -2
View File
@@ -23,12 +23,12 @@ namespace CalamityMod.Items.Accessories
Item.accessory = true;
}
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals;
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals.HasValue;
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.sandElemental = true;
modPlayer.sandElemental = !hideVisual;
SpawnElemental(player);
}
+2 -2
View File
@@ -26,12 +26,12 @@ namespace CalamityMod.Items.Accessories
Item.accessory = true;
}
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals;
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals.HasValue;
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.cloudElemental = true;
modPlayer.cloudElemental = !hideVisual;
if (player.whoAmI == Main.myPlayer)
{
if (player.FindBuffIndex(ModContent.BuffType<CloudElemental>()) == -1)
+2 -2
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.Items.Accessories
public override bool CanEquipAccessory(Player player, int slot, bool modded)
{
CalamityPlayer modPlayer = player.Calamity();
if (modPlayer.brimElemental || modPlayer.sandElemental || modPlayer.oasisElemental || modPlayer.cloudElemental || modPlayer.waterElemental)
if (modPlayer.brimElemental.HasValue || modPlayer.sandElemental.HasValue || modPlayer.oasisElemental.HasValue || modPlayer.cloudElemental.HasValue || modPlayer.waterElemental.HasValue)
{
return false;
}
@@ -50,7 +50,7 @@ namespace CalamityMod.Items.Accessories
Lighting.AddLight((int)player.Center.X / 16, (int)player.Center.Y / 16, Main.DiscoR / 255f, Main.DiscoG / 255f, Main.DiscoB / 255f);
CalamityPlayer modPlayer = player.Calamity();
modPlayer.allElementals = true;
modPlayer.allElementals = !hideVisual;
int brimmy = ProjectileType<BrimstoneElementalMinion>();
int siren = ProjectileType<WaterElementalMinion>();
+2 -2
View File
@@ -26,12 +26,12 @@ namespace CalamityMod.Items.Accessories
Item.accessory = true;
}
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals;
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals.HasValue;
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.oasisElemental = true;
modPlayer.oasisElemental = !hideVisual;
if (player.whoAmI == Main.myPlayer)
{
if (player.FindBuffIndex(ModContent.BuffType<OasisElementalBuff>()) == -1)
+2 -2
View File
@@ -29,12 +29,12 @@ namespace CalamityMod.Items.Accessories
Item.accessory = true;
}
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals;
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals.HasValue;
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.waterElemental = true;
modPlayer.waterElemental = !hideVisual;
if (player.whoAmI == Main.myPlayer)
{
var source = player.GetSource_Accessory(Item);
+2 -2
View File
@@ -26,12 +26,12 @@ namespace CalamityMod.Items.Accessories
Item.accessory = true;
}
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals;
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().allElementals.HasValue;
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.brimElemental = true;
modPlayer.brimElemental = !hideVisual;
if (player.whoAmI == Main.myPlayer)
{
var source = player.GetSource_Accessory(Item);
+1
View File
@@ -189,6 +189,7 @@ namespace CalamityMod.Items.Accessories.Wings
List<Vector4[]> ColorPallettes = new();
public override void SetStaticDefaults()
{
if (Main.netMode != NetmodeID.Server)
Main.QueueMainThreadAction(() =>
{
//Load palettes automatically
+2 -3
View File
@@ -50,7 +50,6 @@ namespace CalamityMod.Items.Armor.Auric
modPlayer.tarraSet = true;
modPlayer.tarraThrowing = true;
modPlayer.bloodflareSet = true;
modPlayer.bloodflareThrowing = true;
modPlayer.godSlayer = true;
modPlayer.godSlayerThrowing = true;
modPlayer.auricSet = true;
@@ -87,8 +86,8 @@ namespace CalamityMod.Items.Armor.Auric
Color[] armorColors = { AuricTeslaBodyArmor.tooltipTarragonColor, AuricTeslaBodyArmor.tooltipBloodflareColor, AuricTeslaBodyArmor.tooltipGodslayerColor };
var LocalizedText = CalamityUtils.GetTextFromModItem(Type, $"SetBonus{setBonusTooltipNumber}");
line.Text = (setBonusTooltipNumber == 3 ? LocalizedText.Format(RogueDamageBoostAtFullHealth.ToPercent(), SetBonusHurtDamageThreshold, CalamityKeybinds.GodSlayerDashHotKey.TooltipHotkeyString(), GodSlayerChestplate.DashCooldown.FramesToSeconds())
: setBonusTooltipNumber == 2 ? LocalizedText.Format(DefenseBoostAboveHealthThreshold, DefenseBoostHealthThreshold.ToPercent())
: LocalizedText.Format(CritsToActivateImmunity, ImmunityDuration.FramesToSeconds(), ImmunityCooldown.FramesToSeconds(), RogueDamageBoostWhileDebuffed.ToPercent()));
: setBonusTooltipNumber == 2 ? LocalizedText.ToString()
: LocalizedText.Format(CritsToActivateImmunity, ImmunityDuration.FramesToSeconds(), ImmunityCooldown.FramesToSeconds()));
line.OverrideColor = armorColors[setBonusTooltipNumber - 1];
}
}
@@ -21,8 +21,6 @@ namespace CalamityMod.Items.Armor.Bloodflare
// Set Bonus
public static float SetBonusRogueStealth = 1.2f;
public static int DefenseBoostAboveHealthThreshold = 30;
public static float DefenseBoostHealthThreshold = 0.8f;
public override void SetDefaults()
{
@@ -41,10 +39,9 @@ namespace CalamityMod.Items.Armor.Bloodflare
{
var modPlayer = player.Calamity();
modPlayer.bloodflareSet = true;
modPlayer.bloodflareThrowing = true;
modPlayer.rogueStealthMax += SetBonusRogueStealth;
modPlayer.wearingRogueArmor = true;
player.setBonus = this.GetLocalization("SetBonus").Format(SetBonusRogueStealth.ToStealth(), DefenseBoostAboveHealthThreshold, DefenseBoostHealthThreshold.ToPercent());
player.setBonus = this.GetLocalization("SetBonus").Format(SetBonusRogueStealth.ToStealth());
}
public override void UpdateEquip(Player player)
@@ -2,6 +2,7 @@
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
using Terraria;
using Terraria.Localization;
using Terraria.ModLoader;
using System.IO;
using Microsoft.Xna.Framework;
@@ -18,6 +19,7 @@ namespace CalamityMod.Items.Armor.Demonshade
// Shadow Speed... (elusive)
public static float MoveSpeedBoost = 0.3f;
public static float AccelerationBoost = 0.5f;
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MoveSpeedBoost.ToPercent(), AccelerationBoost.ToPercent());
public override void SetDefaults()
{
+4 -9
View File
@@ -47,18 +47,13 @@ namespace CalamityMod.Items.Armor.Statigel
if (player.whoAmI == Main.myPlayer)
{
var source = player.GetSource_Accessory(Item);
if (player.FindBuffIndex(ModContent.BuffType<BabySlimeGodBuff>()) == -1)
{
player.AddBuff(ModContent.BuffType<BabySlimeGodBuff>(), 3600, true);
}
if (player.FindBuffIndex(ModContent.BuffType<BabyPaladinBuff>()) == -1)
player.AddBuff(ModContent.BuffType<BabyPaladinBuff>(), 3600, true);
int minionID = -1;
int minionDamage = (int)player.GetTotalDamage<SummonDamageClass>().ApplyTo(SlimeDamage);
if (WorldGen.crimson && player.ownedProjectileCounts[ModContent.ProjectileType<CrimsonSlimeGodMinion>()] < 1)
minionID = Projectile.NewProjectile(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType<CrimsonSlimeGodMinion>(), minionDamage, 0f, Main.myPlayer);
else if (!WorldGen.crimson && player.ownedProjectileCounts[ModContent.ProjectileType<CorruptionSlimeGodMinion>()] < 1)
minionID = Projectile.NewProjectile(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType<CorruptionSlimeGodMinion>(), minionDamage, 0f, Main.myPlayer);
if (player.ownedProjectileCounts[ModContent.ProjectileType<StatigelBlightedSlime>()] < 1)
minionID = Projectile.NewProjectile(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType<StatigelBlightedSlime>(), minionDamage, 0f, Main.myPlayer);
if (Main.projectile.IndexInRange(minionID))
Main.projectile[minionID].originalDamage = SlimeDamage;
+1 -1
View File
@@ -49,7 +49,7 @@ namespace CalamityMod.Items.Armor.Tarragon
modPlayer.tarraThrowing = true;
modPlayer.rogueStealthMax += SetBonusRogueStealth;
modPlayer.wearingRogueArmor = true;
player.setBonus = this.GetLocalization("SetBonus").Format(SetBonusRogueStealth.ToStealth(), CritsToActivateImmunity, ImmunityDuration.FramesToSeconds(), ImmunityCooldown.FramesToSeconds(), RogueDamageBoostWhileDebuffed.ToPercent());
player.setBonus = this.GetLocalization("SetBonus").Format(SetBonusRogueStealth.ToStealth(), CritsToActivateImmunity, ImmunityDuration.FramesToSeconds(), ImmunityCooldown.FramesToSeconds());
}
public override void UpdateEquip(Player player)
+2 -1
View File
@@ -76,7 +76,8 @@ namespace CalamityMod.Items
ItemID.LucyTheAxe,
ItemID.PewMaticHorn,
ItemID.WeatherPain,
ItemID.HoundiusShootius
ItemID.HoundiusShootius,
ModContent.ItemType<WalkingCane>()
};
loot.Add(DropHelper.CalamityStyle(DropHelper.BagWeaponDropRateFraction, deerclopsWeapons));
loot.AddRevBagAccessories();
+16 -23
View File
@@ -394,8 +394,9 @@ namespace CalamityMod.Items
if (showTheTip)
{
var str = PlayerInput.CurrentProfile.InputModes[InputMode.Keyboard].KeyStatus["SmartCursor"].First().ToString();
tooltips.Insert(++lastTooltipIndex, (new TooltipLine(Mod, "CalamityMod:AltExpandTooltip", CalamityUtils.GetTextValue("Misc.AltExpand").Replace("{0}", str))));
var bind = PlayerInput.CurrentProfile.InputModes[InputMode.Keyboard].KeyStatus["SmartCursor"];
string str = bind.Count == 0 ? GetTextValue("Misc.HotkeyNotBound") : bind.First().ToString();
tooltips.Insert(++lastTooltipIndex, (new TooltipLine(Mod, "CalamityMod:AltExpandTooltip", GetTextValue("Misc.AltExpand").Replace("{0}", str))));
tooltips[lastTooltipIndex].OverrideColor = new Color(170, 170, 170);
}
else if (foundDebuff)
@@ -1374,23 +1375,23 @@ namespace CalamityMod.Items
/// <remarks>
/// Currently, the dictionary functions as follows: <br />
/// 1-5 insanely fast <br />
/// 6-9 very fast <br />
/// 10-14 fast <br />
/// 15-22 average <br />
/// 23-29 slow <br />
/// 30-37 very slow <br />
/// 38-45 extremely slow <br />
/// 46+ snail
/// 6-10 very fast <br />
/// 11-17 fast <br />
/// 18-24 average <br />
/// 25-30 slow <br />
/// 31-43 very slow <br />
/// 44-60 extremely slow <br />
/// 61+ snail
/// </remarks>
private static readonly Dictionary<int, LocalizedText> SpeedTooltips = new Dictionary<int, LocalizedText>()
{
{ 5, Language.GetText("LegacyTooltip.6") },
{ 9, Language.GetText("LegacyTooltip.7") },
{ 14, Language.GetText("LegacyTooltip.8") },
{ 22, Language.GetText("LegacyTooltip.9") },
{ 29, Language.GetText("LegacyTooltip.10") },
{ 37, Language.GetText("LegacyTooltip.11") },
{ 45, Language.GetText("LegacyTooltip.12") },
{ 10, Language.GetText("LegacyTooltip.7") },
{ 17, Language.GetText("LegacyTooltip.8") },
{ 24, Language.GetText("LegacyTooltip.9") },
{ 30, Language.GetText("LegacyTooltip.10") },
{ 43, Language.GetText("LegacyTooltip.11") },
{ 60, Language.GetText("LegacyTooltip.12") },
// TODO: Using int.MaxValue here may be considered kind of strange - only alternatives I can think of require hardcoding.
{ int.MaxValue, Language.GetText("LegacyTooltip.13") }
};
@@ -1669,14 +1670,6 @@ namespace CalamityMod.Items
return false;
}
// Rainbow effect originally made for Orderbringer because it used to have a special rarity
// But why did it have one in the first place??
// Might be used for Miracle stuff later or something idk
/*if (line.Name == "ItemName" && line.Mod == "Terraria" && item.type == ModContent.ItemType<Orderbringer>())
{
}*/
return true;
}
#endregion
-25
View File
@@ -112,31 +112,6 @@ namespace CalamityMod.Items.Fishing
}
else
CalamityMod.Log.Warn("Could not find either Marine Kelp or Marine Kelp Seeds from Thorium. These items will not be added to Stuffed Fish.");
// Ozzatron 30DEC2022: It is unlikely SoA will ever be ported to 1.4 and beyond. Commenting this out indefinitely.
/*
Mod soa = CalamityMod.Instance.soa;
if (soa is not null)
{
try
{
itemLoot.Add(soa.Find<ModItem>("Welkinbell").Type, 4, herbMin, herbMax);
itemLoot.Add(soa.Find<ModItem>("WelkinbellSeeds").Type, 10, seedMin, seedMax);
itemLoot.AddIf(() => Main.hardMode, soa.Find<ModItem>("Illumifern").Type, 4, herbMin, herbMax);
itemLoot.AddIf(() => Main.hardMode, soa.Find<ModItem>("IllumifernSeeds").Type, 10, seedMin, seedMax);
// TODO -- There is no way to determine if SoA's Abaddon is dead without reflection.
// Dan Yami has confirmed that downed calls will be added to SoA eventually.
//itemLoot.AddIf(() => SacredTools.ModdedWorld.downedAbaddon, soa.Find<ModItem>("Enduflora").Type, 4, herbMin, herbMax);
//itemLoot.AddIf(() => SacredTools.ModdedWorld.downedAbaddon, soa.Find<ModItem>("EndufloraSeeds").Type, 10, seedMin, seedMax);
}
catch
{
CalamityMod.Log.Debug("One of the items in this file got renamed internally. Please report this in the #bugs-read-pins channel of the official Calamity discord server.");
}
}
*/
}
public override void ModifyTooltips(List<TooltipLine> list)
@@ -117,6 +117,7 @@ namespace CalamityMod.Items.Placeables.Furniture.Paintings
"Cei",
"Chetto",
"Chill Dude",
"ClockworkShade",
"Cobalion",
"Daim",
"DarkTiny",
@@ -189,7 +190,6 @@ namespace CalamityMod.Items.Placeables.Furniture.Paintings
"Runefield",
"Sargassum",
"sentri",
"Shade",
"SharZz",
"Shucks",
"Silver-Lord of Ash",
-10
View File
@@ -16,15 +16,5 @@ namespace CalamityMod.Items.Placeables.Pylons
Item.value = Item.sellPrice(gold: 2);
Item.rare = ItemRarityID.Blue;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ScorchedRemains>(15).
AddIngredient<ScorchedBone>(10).
AddIngredient(ItemID.Hellstone, 15).
AddTile(TileID.Anvils).
Register();
}
}
}
+6 -1
View File
@@ -14,6 +14,8 @@ namespace CalamityMod.Items.Potions.Food
{
public new string LocalizationCategory => "Items.Potions";
public static readonly SoundStyle UseSound = new("CalamityMod/Sounds/Item/SoupConsumption");
public static readonly SoundStyle MisophonicUseSound = new("CalamityMod/Sounds/Item/SoupConsumptionMisophonic");
public SlotId DrinkSoundSlot;
public override void SetStaticDefaults()
@@ -38,7 +40,10 @@ namespace CalamityMod.Items.Potions.Food
}
public override bool? UseItem(Player player)
{
DrinkSoundSlot = SoundEngine.PlaySound(UseSound, player.Center);
if (!CalamityClientConfig.Instance.MisophoniaSupport)
DrinkSoundSlot = SoundEngine.PlaySound(UseSound, player.Center);
else
DrinkSoundSlot = SoundEngine.PlaySound(MisophonicUseSound, player.Center);
return true;
}
+1 -1
View File
@@ -41,7 +41,7 @@ namespace CalamityMod.Items.SummonItems
int posX = (int)(player.position.X + Main.rand.Next(-250, 251));
int posY = (int)(player.position.Y - 500f);
int bossToSpawn = ModContent.NPCType<RavagerBody>();
CalamityUtils.SpawnBossOnPosUsingItem(player, bossToSpawn, posX, posY, SoundID.ScaryScream);
CalamityUtils.SpawnBossOnPosUsingItem(player, bossToSpawn, posX, posY, CalamityClientConfig.Instance.MisophoniaSupport ? SoundID.Roar : SoundID.ScaryScream);
return true;
}
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityPinkBuyPrice;
Item.value = Item.sellPrice(gold: 3);
Item.rare = ItemRarityID.Pink;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+2 -1
View File
@@ -1,4 +1,5 @@
using CalamityMod.Items.Placeables.FurnitureAcidwood;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -20,7 +21,7 @@ namespace CalamityMod.Items.Tools
Item.height = 40;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityWhiteBuyPrice;
Item.value = Item.sellPrice(copper: 10);
Item.rare = ItemRarityID.White;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityOrangeBuyPrice;
Item.value = Item.sellPrice(silver: 60);
Item.rare = ItemRarityID.Orange;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityCyanBuyPrice;
Item.value = Item.sellPrice(gold: 4, silver: 50);
Item.rare = ItemRarityID.Cyan;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityCyanBuyPrice;
Item.value = Item.sellPrice(gold: 6);
Item.rare = ItemRarityID.Cyan;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityLimeBuyPrice;
Item.value = Item.sellPrice(gold: 4, silver: 35);
Item.rare = ItemRarityID.Lime;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityLimeBuyPrice;
Item.value = Item.sellPrice(gold: 4, silver: 35);
Item.rare = ItemRarityID.Lime;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice;
Item.value = Item.sellPrice(gold: 10);
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
Item.rare = ModContent.RarityType<Turquoise>();
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Tools
Item.height = 42;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityWhiteBuyPrice;
Item.value = Item.sellPrice(copper: 10);
Item.rare = ItemRarityID.White;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityLightRedBuyPrice;
Item.value = Item.sellPrice(silver: 75);
Item.rare = ItemRarityID.LightRed;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityRedBuyPrice;
Item.value = Item.sellPrice(gold: 7);
Item.rare = ItemRarityID.Red;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+2 -1
View File
@@ -1,4 +1,5 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -20,7 +21,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityGreenBuyPrice;
Item.value = Item.sellPrice(silver: 30);
Item.rare = ItemRarityID.Green;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.Items.Tools
Item.noMelee = true;
Item.noUseGraphic = true;
Item.value = CalamityGlobalItem.RarityBlueBuyPrice;
Item.value = Item.sellPrice(silver: 30);
Item.rare = ItemRarityID.Blue;
}
+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.Items.Tools
Item.noMelee = true;
Item.noUseGraphic = true;
Item.value = CalamityGlobalItem.RarityBlueBuyPrice;
Item.value = Item.sellPrice(silver: 30);
Item.rare = ItemRarityID.Blue;
}
+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Tools
Item.height = 44;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityOrangeBuyPrice;
Item.value = Item.sellPrice(silver: 75);
Item.rare = ItemRarityID.Orange;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+2 -1
View File
@@ -1,4 +1,5 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -21,7 +22,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityGreenBuyPrice;
Item.value = Item.sellPrice(silver: 30);
Item.rare = ItemRarityID.Green;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityYellowBuyPrice;
Item.value = Item.sellPrice(gold: 4, silver: 35);
Item.rare = ItemRarityID.Yellow;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityPinkBuyPrice;
Item.value = Item.sellPrice(gold: 3);
Item.rare = ItemRarityID.Pink;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityOrangeBuyPrice;
Item.value = Item.sellPrice(silver: 60);
Item.rare = ItemRarityID.Orange;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
@@ -60,45 +60,6 @@ namespace CalamityMod.Items.Tools.SpawnBlocker
player.Calamity().disablePerfCystSpawns |= Enabled;
}
/*
public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/AntiCystOintment").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/AntiCystOintment").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
return false;
}
public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/AntiCystOintment").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/AntiCystOintment").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
return false;
}
*/
public override void ModifyTooltips(List<TooltipLine> tooltips)
{
string text;
@@ -60,45 +60,6 @@ namespace CalamityMod.Items.Tools.SpawnBlocker
player.Calamity().disableHiveCystSpawns |= Enabled;
}
/*
public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/AntiTumorOintment").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/AntiTumorOintment").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
return false;
}
public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/AntiTumorOintment").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/AntiTumorOintment").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
return false;
}
*/
public override void ModifyTooltips(List<TooltipLine> tooltips)
{
string text;
-39
View File
@@ -61,45 +61,6 @@ namespace CalamityMod.Items.Tools.SpawnBlocker
player.Calamity().disableNaturalScourgeSpawns |= Enabled;
}
/*
public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/BleachBall").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/BleachBall").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
return false;
}
public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/BleachBall").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/BleachBall").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
return false;
}
*/
public override void ModifyTooltips(List<TooltipLine> tooltips)
{
string text;
@@ -60,45 +60,6 @@ namespace CalamityMod.Items.Tools.SpawnBlocker
player.Calamity().noStupidNaturalARSpawns |= Enabled;
}
/*
public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/BrokenWaterFilter").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/BrokenWaterFilter").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
return false;
}
public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/BrokenWaterFilter").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/BrokenWaterFilter").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
return false;
}
*/
public override void ModifyTooltips(List<TooltipLine> tooltips)
{
string text;
@@ -60,45 +60,6 @@ namespace CalamityMod.Items.Tools.SpawnBlocker
player.Calamity().disableAnahitaSpawns |= Enabled;
}
/*
public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/SirenproofEarMuffs").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/SirenproofEarMuffs").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
return false;
}
public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/SirenproofEarMuffs").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/SirenproofEarMuffs").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
return false;
}
*/
public override void ModifyTooltips(List<TooltipLine> tooltips)
{
string text;
@@ -62,45 +62,6 @@ namespace CalamityMod.Items.Tools.SpawnBlocker
player.Calamity().disableVoodooSpawns |= Enabled;
}
/*
public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/VoodooDemonVoodooDoll").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/VoodooDemonVoodooDoll").Value;
spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, scale, SpriteEffects.None, 0);
}
return false;
}
public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI)
{
Texture2D texture;
if (state)
{
//Replace with enabled texture
texture = ModContent.Request<Texture2D>("CalamityMod/Items/VoodooDemonVoodooDoll").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
else
{
texture = ModContent.Request<Texture2D>("CalamityMod/Items/VoodooDemonVoodooDoll").Value;
spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0);
}
return false;
}
*/
public override void ModifyTooltips(List<TooltipLine> tooltips)
{
string text;
+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Tools
Item.DamageType = DamageClass.Melee;
Item.useTurn = true;
Item.useStyle = ItemUseStyleID.Swing;
Item.value = CalamityGlobalItem.RarityYellowBuyPrice;
Item.value = Item.sellPrice(gold: 4, silver: 35);
Item.rare = ItemRarityID.Yellow;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -34,7 +34,7 @@ namespace CalamityMod.Items.Tools
Item.noMelee = true;
Item.noUseGraphic = true;
Item.value = CalamityGlobalItem.RarityBlueBuyPrice;
Item.value = Item.sellPrice(silver: 5);
Item.rare = ItemRarityID.Blue;
}
+1 -2
View File
@@ -68,8 +68,7 @@ namespace CalamityMod.Items.TreasureBags
ModContent.ItemType<OverloadedBlaster>(),
ModContent.ItemType<AbyssalTome>(),
ModContent.ItemType<EldritchTome>(),
ModContent.ItemType<CorroslimeStaff>(),
ModContent.ItemType<CrimslimeStaff>()
ModContent.ItemType<BlightedSlimeStaff>()
}));
// Equipment
+1 -1
View File
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Magic
{
Item.width = 66;
Item.height = 82;
Item.damage = 290;
Item.damage = 333;
Item.DamageType = DamageClass.Magic;
Item.noUseGraphic = true;
Item.channel = true;
+1 -1
View File
@@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Magic
}
for (int i = 0; i < 3; i++)
{
realPlayerPos = new Vector2(player.position.X + (float)player.width * 0.5f + (float)(Main.rand.Next(51) * -(float)player.direction) + ((float)Main.mouseX + Main.screenPosition.X - /* - */ player.position.X), player.MountedCenter.Y + 600f); //-
realPlayerPos = new Vector2(player.position.X + (float)player.width * 0.5f + (float)(Main.rand.Next(51) * -(float)player.direction) + ((float)Main.mouseX + Main.screenPosition.X - player.position.X), player.MountedCenter.Y + 600f); //-
realPlayerPos.X = (realPlayerPos.X + player.Center.X) / 2f + (float)Main.rand.Next(-50, 51); //200
realPlayerPos.Y += (float)(100 * i); //-=
mouseXDist = (float)Main.mouseX + Main.screenPosition.X - realPlayerPos.X; //+ -
+2 -2
View File
@@ -12,8 +12,8 @@ namespace CalamityMod.Items.Weapons.Melee
public new string LocalizationCategory => "Items.Weapons.Melee";
public override void SetDefaults()
{
Item.width = 46;
Item.height = 56;
Item.width = 66;
Item.height = 74;
Item.damage = 80;
Item.DamageType = DamageClass.Melee;
Item.useAnimation = Item.useTime = 15;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+2 -2
View File
@@ -25,8 +25,8 @@ namespace CalamityMod.Items.Weapons.Melee
public override void SetDefaults()
{
Item.width = 74;
Item.height = 94;
Item.width = 94;
Item.height = 92;
Item.useStyle = ItemUseStyleID.Shoot;
Item.damage = 200;
Item.DamageType = TrueMeleeDamageClass.Instance;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

+2 -2
View File
@@ -25,8 +25,8 @@ namespace CalamityMod.Items.Weapons.Melee
}
public override void SetDefaults()
{
Item.width = 78;
Item.height = 94;
Item.width = 74;
Item.height = 84;
Item.damage = 2080;
Item.DamageType = DamageClass.Melee;
Item.useTime = Item.useAnimation = 33;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 989 B

@@ -3,17 +3,22 @@ using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class SlickCane : RogueWeapon
[LegacyName("SlickCane")]
public class WalkingCane : RogueWeapon
{
public static float MoveSpeedBoost = 0.2f;
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MoveSpeedBoost.ToPercent());
public override void SetDefaults()
{
Item.width = 42;
Item.height = 36;
Item.damage = 50;
Item.width = 48;
Item.height = 44;
Item.damage = 40;
Item.noMelee = true;
Item.noUseGraphic = true;
Item.channel = true;
@@ -22,10 +27,10 @@ namespace CalamityMod.Items.Weapons.Rogue
Item.knockBack = 6f;
Item.UseSound = SoundID.DD2_GhastlyGlaivePierce;
Item.autoReuse = true;
Item.value = Item.buyPrice(gold: 35); // Sold by Bandit
Item.value = CalamityGlobalItem.RarityOrangeBuyPrice;
Item.rare = ItemRarityID.Orange;
Item.shoot = ModContent.ProjectileType<SlickCaneProjectile>();
Item.shootSpeed = 16f;
Item.shoot = ModContent.ProjectileType<WalkingCaneProjectile>();
Item.shootSpeed = 20f;
Item.DamageType = RogueDamageClass.Instance;
}
@@ -33,8 +38,8 @@ namespace CalamityMod.Items.Weapons.Rogue
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
float ai0 = Main.rand.NextFloat() * Item.shootSpeed * 1.5f * (float)player.direction;
int projectileIndex = Projectile.NewProjectile(source, position.X, position.Y+100, velocity.X*2f, velocity.Y*2f, type, damage, knockback, player.whoAmI, ai0, 0f);
float ai0 = Main.rand.NextFloat() * Item.shootSpeed * 1.5f * player.direction;
int projectileIndex = Projectile.NewProjectile(source, position + Vector2.UnitY * 100f, velocity * 2f, type, damage, knockback, player.whoAmI, ai0);
if (projectileIndex.WithinBounds(Main.maxProjectiles))
Main.projectile[projectileIndex].Calamity().stealthStrike = player.Calamity().StealthStrikeAvailable();
return false;
Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

@@ -8,14 +8,15 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Summon
{
public class CorroslimeStaff : ModItem, ILocalizedModType
[LegacyName("CorroslimeStaff", "CrimslimeStaff")]
public class BlightedSlimeStaff : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Weapons.Summon";
public override void SetDefaults()
{
Item.width = 52;
Item.height = 54;
Item.damage = 24;
Item.damage = 18;
Item.mana = 10;
Item.useAnimation = Item.useTime = 36;
Item.useStyle = ItemUseStyleID.Swing;
@@ -25,8 +26,8 @@ namespace CalamityMod.Items.Weapons.Summon
Item.rare = ItemRarityID.LightRed;
Item.UseSound = SoundID.Item44;
Item.autoReuse = true;
Item.buffType = ModContent.BuffType<Corroslime>();
Item.shoot = ModContent.ProjectileType<CorroslimeMinion>();
Item.buffType = ModContent.BuffType<BlightedSlime>();
Item.shoot = ModContent.ProjectileType<BlightedSlimeMinion>();
Item.DamageType = DamageClass.Summon;
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

-42
View File
@@ -1,42 +0,0 @@
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Buffs.Summon;
using CalamityMod.Projectiles.Summon;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Summon
{
public class CrimslimeStaff : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Weapons.Summon";
public override void SetDefaults()
{
Item.width = 52;
Item.height = 52;
Item.damage = 24;
Item.mana = 10;
Item.useAnimation = Item.useTime = 36;
Item.useStyle = ItemUseStyleID.Swing;
Item.noMelee = true;
Item.knockBack = 2f;
Item.value = CalamityGlobalItem.RarityLightRedBuyPrice;
Item.rare = ItemRarityID.LightRed;
Item.UseSound = SoundID.Item44;
Item.autoReuse = true;
Item.buffType = ModContent.BuffType<Crimslime>();
Item.shoot = ModContent.ProjectileType<CrimslimeMinion>();
Item.DamageType = DamageClass.Summon;
}
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
player.AddBuff(Item.buffType, 2);
var minion = Projectile.NewProjectileDirect(source, player.ClampedMouseWorld(), Vector2.Zero, type, damage, knockback, player.whoAmI);
minion.originalDamage = Item.damage;
return false;
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Summon
{
Item.width = 58;
Item.height = 58;
Item.damage = 14;
Item.damage = 10;
Item.mana = 10;
Item.useAnimation = Item.useTime = 36;
Item.useStyle = ItemUseStyleID.Swing;
+1 -1
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Summon
{
Item.width = 42;
Item.height = 42;
Item.damage = 20;
Item.damage = 16;
Item.DamageType = DamageClass.Summon;
Item.buffType = ModContent.BuffType<FleshBallBuff>();
Item.shoot = ModContent.ProjectileType<FleshBallMinion>();
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Summon
{
Item.width = 52;
Item.height = 54;
Item.damage = 31;
Item.damage = 25;
Item.mana = 10;
Item.useAnimation = Item.useTime = 36;
Item.useStyle = ItemUseStyleID.Swing;
@@ -1274,9 +1274,9 @@ BabyBloodCrawlerBuff: {
Description: The baby blood crawler will protect you
}
BabySlimeGodBuff: {
DisplayName: Baby Slime God
Description: The Slime God will protect you
BabyPaladinBuff: {
DisplayName: Baby Paladin
Description: The blighted paladin will protect you
}
BabyStormlionBuff: {
@@ -1294,6 +1294,11 @@ BlackHawkBuff: {
Description: The fighter jet will protect you
}
BlightedSlime: {
DisplayName: Blighted Slime
Description: The blighted slime will protect you
}
BrimseekerBuff: {
DisplayName: Brimseeker
Description: Does it want something from you?
@@ -1334,11 +1339,6 @@ CloudElemental: {
Description: The Cloud Elemental will protect you
}
Corroslime: {
DisplayName: Corroslime
Description: The corroslime will protect you
}
CorvidHarbringerBuff: {
DisplayName: Raven
Description: The powerful raven will protect you
@@ -1359,11 +1359,6 @@ CosmilampBuff: {
Description: The cosmilamp will protect you
}
Crimslime: {
DisplayName: Crimslime
Description: The crimslime will protect you
}
DaedalusCrystalBuff: {
DisplayName: Daedalus Crystal
Description: The Daedalus crystal will protect you
@@ -6,7 +6,7 @@ CalamityClientConfig: {
Graphics: Graphics Changes
UI: UI Changes
MeterPositions: Meter Positions
MusicToggles: Music Toggles
AudioToggles: Audio Toggles
}
AbyssLayer3Alt: {
@@ -41,6 +41,15 @@ CalamityClientConfig: {
'''
}
BoCSpriteChange: {
Label: "[i:BrainOfConfusion] Remove Potentially Disturbing Imagery"
Tooltip:
'''
Replaces some boss sprites to remove potentially upsetting imagery that could trigger phobias.
Highly recommended if you are uncomfortable with body horror or have trypophobia.
'''
}
BossHealthBarExtraInfo: {
Label: "[i:CalamityMod/EncryptedSchematicPlanetoid] Boss Health Bar Extra Info"
Tooltip:
@@ -101,15 +110,6 @@ CalamityClientConfig: {
'''
}
EnableVanillaTextureEdits: {
Label: "[i:Paintbrush] Enable Vanilla Texture Edits"
Tooltip:
'''
Enables slight edits to vanilla boss textures to improve attack telegraphs.
Disable this for compatibility with texture packs.
'''
}
EnergyShieldOpacity: {
Label: "[i:CalamityMod/TheSponge] Energy Shield Opacity"
Tooltip:
@@ -187,6 +187,15 @@ CalamityClientConfig: {
'''
}
MisophoniaSupport: {
Label: "[i:Megaphone] Disable Potentially Triggering Audio"
Tooltip:
'''
Disables or alters multiple repetitive and potentially distressing sound effects.
Highly recommended for those with misophonia.
'''
}
ParticleLimit: {
Label: "[i:FragmentStardust] Max Particle Limit"
Tooltip:
@@ -208,15 +217,6 @@ CalamityClientConfig: {
'''
}
BoCSpriteChange: {
Label: "[i:BrainOfConfusion] Remove Potentially Disturbing Imagery"
Tooltip:
'''
Replaces some boss sprites to remove potentially upsetting imagery that could trigger phobias.
Highly recommended if you are uncomfortable with body horror or have trypophobia.
'''
}
RageMeterPosX: {
Label: "[i:LaserRuler] Rage Meter X Position"
Tooltip:
@@ -701,7 +701,11 @@ ElementalGauntlet: {
ElementalinaBottle: {
DisplayName: Elemental in a Bottle
Tooltip: Summons a sand elemental to fight for you
Tooltip:
'''
Summons a sand elemental to fight for you
The elemental has reduced opacity if visibility is disabled
'''
}
ElysianAegis: {
@@ -758,7 +762,11 @@ EvasionScarf: {
EyeoftheStorm: {
DisplayName: Eye of the Storm
Tooltip: Summons a Cloud Elemental to fight for you
Tooltip:
'''
Summons a Cloud Elemental to fight for you
The elemental has reduced opacity if visibility is disabled
'''
}
FeatherCrown: {
@@ -983,6 +991,7 @@ HeartoftheElements: {
Tooltip:
'''
Summons all elementals to protect you
The elementals have reduced opacity if visibility is disabled
'The heart of the world'
'''
}
@@ -1320,6 +1329,7 @@ PearlofEnthrallment: {
'''
Summons a water elemental to fight for you
The elemental stays above you, shooting water spears, ice mist, and treble clefs at nearby enemies
The elemental has reduced opacity if visibility is disabled
'''
}
@@ -1487,6 +1497,7 @@ OasisElementalinaBottle: {
'''
Summons an oasis elemental to assist you
The elemental fires healing orbs that restore 10 health while you are damaged
The elemental has reduced opacity if visibility is disabled
'''
}
@@ -1519,7 +1530,11 @@ RogueEmblem: {
RoseStone: {
DisplayName: Rose Stone
Tooltip: Summons a Brimstone Elemental to fight for you
Tooltip:
'''
Summons a Brimstone Elemental to fight for you
The elemental has reduced opacity if visibility is disabled
'''
}
RottenBrain: {
@@ -249,11 +249,7 @@ BloodflareHeadRogue: {
{$Common.RogueStealth}
{$BloodflareHeadRogue.SetBonusEffect@1}
'''
SetBonusEffect:
'''
Grants {0} defense when above {1}% life
{$BloodflareBodyArmor.CommonSetBonus}
'''
SetBonusEffect: "{$BloodflareBodyArmor.CommonSetBonus}"
}
BloodflareHeadSummon: {
@@ -285,7 +281,7 @@ DemonshadeBreastplate: {
{$CommonItemTooltip.PercentIncreasedDamageCritChance@1}
{$CommonItemTooltip.PercentIncreasedMeleeSpeed@2}
{$CommonItemTooltip.PercentChanceToSaveAmmo@3}
Standing still absorbs shadows to grant exponentially accelerating life regen
Standing still grants exponentially accelerating life regen
'''
}
@@ -709,7 +705,6 @@ TarragonHeadRogue: {
'''
After every {0} rogue critical hits you will gain {1} seconds of damage immunity
This effect has a cooldown of {2} seconds
While under the effects of a debuff you gain {3}% increased rogue damage
{$TarragonBreastplate.CommonSetBonus}
'''
}
@@ -1245,7 +1245,7 @@ StygianShield: {
DisplayName: Stygian Shield
Tooltip:
'''
Hold <left> to charge an omni-directional dash which slams through enemies
Hold <left> to charge an omni-directional dash which grants immunity to damage and can slam through enemies
<right> to throw a buckler which bounces towards a nearby foe upon collision
Grants knockback immunity and {0} defense while held
However, dashes are disabled until you stop holding this weapon for {1} seconds
@@ -1069,17 +1069,6 @@ SkyfinBombers: {
'''
}
SlickCane: {
DisplayName: Slick Cane
Tooltip:
'''
Swipes a cane that steals money from enemies
Stealth strikes give a 1 in 20 chance for enemies to drop 1-2 gold coins when hit
Stealth strikes boost damage in proportion to money in the inventory, up to 1 Platinum
'Economy at its finest'
'''
}
SludgeSplotch: {
DisplayName: Sludge Splotch
Tooltip: Stealth strikes cause the main ball of sludge to split on hit, inflicting more damage
@@ -1359,6 +1348,17 @@ Vega: {
'''
}
WalkingCane: {
DisplayName: Walking Cane
Tooltip:
'''
Swipes a pointed walking cane
Stealth strikes drain the sanity of foes, causing shadow hands to be summoned when attacked
While held, increases movement speed by {0}%
'Is it walking me, or am I walking it?'
'''
}
WaveSkipper: {
DisplayName: Wave Skipper
Tooltip:
@@ -85,6 +85,11 @@ BlackHawkRemote: {
'''
}
BlightedSlimeStaff: {
DisplayName: Blighted Slime Staff
Tooltip: Summons a blighted slime to fight for you
}
BorealisBomber: {
DisplayName: Borealis Bomber
Tooltip:
@@ -191,11 +196,6 @@ Cnidarian: {
'''
}
CorroslimeStaff: {
DisplayName: Corroslime Staff
Tooltip: Summons a corro slime to fight for you
}
CorvidHarbringerStaff: {
DisplayName: Corvid Harbinger Staff
Tooltip:
@@ -233,11 +233,6 @@ Cosmilamp: {
Tooltip: Summons a cosmic lantern above your head to fight for you
}
CrimslimeStaff: {
DisplayName: Crimslime Staff
Tooltip: Summons a crim slime to fight for you
}
CryogenicStaff: {
DisplayName: Cryogenic Staff
Tooltip:
@@ -736,11 +731,7 @@ SquirrelSquireStaff: {
StaffOfNecrosteocytes: {
DisplayName: Staff of Necrosteocytes
Tooltip:
'''
Summons small skeletons to fight for you
The skeletons leave behind bone cells as they move
'''
Tooltip: Summons small skeletons to fight for you
}
StarspawnHelixStaff: {
@@ -184,7 +184,6 @@ PrinceFlameSmall.DisplayName: Holy Fire
RainbowComet.DisplayName: Comet
RainbowRocket.DisplayName: Rainbow Rocket
RancorArm.DisplayName: Vengeful Arm
RancorFog.DisplayName: The Fog Is Coming
RancorLargeCinder.DisplayName: Lava Cinder
RancorLaserbeam.DisplayName: The Angy Beam
RancorMagicCircle.DisplayName: Magic Circle
Loaded 100 of 215 files, more files were not shown because too many files have changed in this diff. Show more