Part of my attempt to create a visual identity for each arsenal energy type that can be consistently applied across all items once they are reworked This commit changes: Taser - New left click and previous function is on right click with arsenal cooldown, vfx overhaul Scattershot Skewer - Completely re-coded the entire thing, now has right and left click separation and can perform a skewer dash, vfx overhaul Pulse Pistol - Completely re-coded how the orb tracking and movement works, hits twice before splitting instead of once, vfx overhaul Pulse Rifle - Same as Pulse Pistol, vfx overhaul Added 4 more dust types Changed the dusts and colors used by Effects.ArsenalEffects Fixed Plama typo
28 lines
1.3 KiB
C#
28 lines
1.3 KiB
C#
using CalamityMod.Dusts;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Effects
|
|
{
|
|
public class ArsenalEffects
|
|
{
|
|
public static int ArsenalDust = 278; // Colorable firework dust, simple and effective. Most visuals use a mix of the energy respective dust and this
|
|
|
|
// Plasma
|
|
public static int ArsenalPlasmaDust = ModContent.DustType<SquashDustTileTouch>();
|
|
public static Color ArsenalPlasmaColor = Color.Lerp(Color.Green, Color.Chartreuse, 0.45f);
|
|
// Laser
|
|
public static int ArsenalLaserDust = ModContent.DustType<DiamondDust>();
|
|
public static Color ArsenalLaserColor = Color.Lerp(Color.Crimson, Color.Red, 0.45f);
|
|
// Pulse
|
|
public static int ArsenalPulseDust = ModContent.DustType<SquashDustHollow>();
|
|
public static Color ArsenalPulseColor = Color.Lerp(Color.DarkOrchid, Color.Magenta, 0.35f);
|
|
// Electric
|
|
public static int ArsenalElectricDust = ModContent.DustType<UnstableDust>();
|
|
public static Color ArsenalElectricColor = Color.Lerp(Color.Aqua, Color.Aquamarine, 0.35f);
|
|
// Gauss
|
|
public static int ArsenalGaussDust = ModContent.DustType<SquareDust>();
|
|
public static Color ArsenalGaussColor = Color.Lerp(Color.Yellow, Color.Goldenrod, 0.25f);
|
|
}
|
|
}
|