This commit is contained in:
Big E committed 2026-01-25 23:52:42 -05:00
commit 28d06c1586
5 files changed
+9 -8

No files matched your search

@@ -85,6 +85,7 @@ namespace CalamityMod.Items.Placeables.Furniture.Paintings
"Sagittariod",
"Spider Prov",
"StipulateVenus",
"Sunny",
"_tofu",
"Tomat",
"Triangle",
@@ -181,7 +182,6 @@ namespace CalamityMod.Items.Placeables.Furniture.Paintings
"Sok",
"spooktacular",
"Spoopyro",
"Sunny",
"Svante",
"Sylvium",
"Teragat",
+2 -2
View File
@@ -66,9 +66,9 @@ namespace CalamityMod.Items.Weapons.Magic
{
Item.width = 84;
Item.height = 84;
Item.damage = 125;
Item.damage = 140;
Item.DamageType = DamageClass.Magic;
Item.mana = 50;
Item.mana = 30;
Item.useTime = 20;
Item.useAnimation = 20;
Item.useStyle = ItemUseStyleID.Shoot;
+4 -3
View File
@@ -24,8 +24,9 @@ namespace CalamityMod.Particles
private Vector2 Squish;
private Color BaseColor;
private float MakeLight;
SpriteEffects Effects = SpriteEffects.None;
public CustomPulse(Vector2 position, Vector2 velocity, Color color, string texture, Vector2 squish, float rotation, float originalScale, float finalScale, int lifeTime, bool UseAdditiveBlend = true, float baseOpacity = 1f, bool fade = true, float makeLight = 1)
public CustomPulse(Vector2 position, Vector2 velocity, Color color, string texture, Vector2 squish, float rotation, float originalScale, float finalScale, int lifeTime, bool UseAdditiveBlend = true, float baseOpacity = 1f, bool fade = true, float makeLight = 1, SpriteEffects effects = SpriteEffects.None)
{
Position = position;
Velocity = velocity;
@@ -38,6 +39,7 @@ namespace CalamityMod.Particles
BaseOpacity = baseOpacity;
FadeOut = fade;
Squish = squish;
Effects = effects;
Rotation = rotation;
UseAltVisual = UseAdditiveBlend;
MakeLight = makeLight;
@@ -71,8 +73,7 @@ namespace CalamityMod.Particles
UseAltVisual = true;
}
}
spriteBatch.Draw(tex, Position - Main.screenPosition, null, Color * opacity, Rotation, tex.Size() / 2f, Scale * Squish * scaleMult, SpriteEffects.None, 0);
spriteBatch.Draw(tex, Position - Main.screenPosition, null, Color * opacity, Rotation, tex.Size() / 2f, Scale * Squish * scaleMult, Effects, 0);
}
}
}
@@ -37,7 +37,7 @@ namespace CalamityMod.Projectiles.Magic
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
{
target.AddBuff(ModContent.BuffType<ElementalMix>(), 480);
target.AddBuff(ModContent.BuffType<ElementalMix>(), 900);
}
public override void OnKill(int timeLeft)
@@ -79,7 +79,7 @@ namespace CalamityMod.Projectiles.Melee.Spears
{
for (int i = 0; i < 3; i++)
GeneralParticleHandler.SpawnParticle(new CustomPulse(Owner.Center, Vector2.Zero, SeaKingsAssurance.BaseColor,
"CalamityMod/Particles/CircularSmearFire3", new Vector2(Owner.direction, 1), Projectile.rotation, 0.8f, 1.2f, 6));
"CalamityMod/Particles/CircularSmearFire3", Vector2.One, Projectile.rotation, 0.8f, 1.2f, 6, effects: Owner.direction > 0 ? SpriteEffects.None : SpriteEffects.FlipHorizontally));
}
glow = MathHelper.Lerp(glow, Projectile.ai[0] * 0.05f / 3f, 0.2f);