New Sprites
No files matched your search
@@ -14,8 +14,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 126;
|
||||
Item.height = 50;
|
||||
Item.width = 108;
|
||||
Item.height = 46;
|
||||
Item.damage = 69;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 7;
|
||||
|
||||
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.4 KiB |
@@ -16,8 +16,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 60;
|
||||
Item.height = 42;
|
||||
Item.width = 122;
|
||||
Item.height = 54;
|
||||
Item.damage = 69;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 8;
|
||||
|
||||
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.7 KiB |
@@ -12,8 +12,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 42;
|
||||
Item.height = 22;
|
||||
Item.width = 44;
|
||||
Item.height = 42;
|
||||
Item.damage = 74;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 3;
|
||||
|
||||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -13,7 +13,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
public class GenesisHoldout : BaseGunHoldoutProjectile
|
||||
{
|
||||
public override int AssociatedItemID => ModContent.ItemType<Genesis>();
|
||||
public override Vector2 GunTipPosition => base.GunTipPosition - Vector2.UnitY.RotatedBy(Projectile.rotation) * 4f * Projectile.spriteDirection;
|
||||
public override Vector2 GunTipPosition => base.GunTipPosition - Vector2.UnitY.RotatedBy(Projectile.rotation) * 2.5f * Projectile.spriteDirection;
|
||||
public override float MaxOffsetLengthFromArm => 10f;
|
||||
public override float OffsetXUpwards => -5f;
|
||||
public override float BaseOffsetY => -5f;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
public class OmicronHoldout : BaseGunHoldoutProjectile
|
||||
{
|
||||
public override int AssociatedItemID => ModContent.ItemType<Omicron>();
|
||||
public override Vector2 GunTipPosition => base.GunTipPosition - Vector2.UnitY.RotatedBy(Projectile.rotation) * 2f * Projectile.spriteDirection;
|
||||
public override Vector2 GunTipPosition => base.GunTipPosition - Vector2.UnitY.RotatedBy(Projectile.rotation) * 4f * Projectile.spriteDirection;
|
||||
public override float MaxOffsetLengthFromArm => 10f;
|
||||
public override float OffsetXUpwards => -5f;
|
||||
public override float BaseOffsetY => -5f;
|
||||
@@ -181,15 +181,13 @@ namespace CalamityMod.Projectiles.Magic
|
||||
}
|
||||
private void PostFiringCooldown()
|
||||
{
|
||||
Vector2 tipPosition = Projectile.Center + Projectile.velocity.SafeNormalize(Vector2.Zero).RotatedBy(-0.05f * Projectile.direction) * 25f;
|
||||
|
||||
if (PostFireCooldown > 0 && Main.rand.NextBool())
|
||||
{
|
||||
Vector2 smokeVel = new Vector2(0, -8) * Main.rand.NextFloat(0.1f, 1.1f);
|
||||
Particle smoke = new HeavySmokeParticle(tipPosition, smokeVel, StaticEffectsColor, Main.rand.Next(30, 50 + 1), Main.rand.NextFloat(0.1f, 0.4f), 0.5f, Main.rand.NextFloat(-0.2f, 0.2f), Main.rand.NextBool(), required: true);
|
||||
Particle smoke = new HeavySmokeParticle(GunTipPosition, smokeVel, StaticEffectsColor, Main.rand.Next(30, 50 + 1), Main.rand.NextFloat(0.1f, 0.4f), 0.5f, Main.rand.NextFloat(-0.2f, 0.2f), Main.rand.NextBool(), required: true);
|
||||
GeneralParticleHandler.SpawnParticle(smoke);
|
||||
|
||||
Dust dust = Dust.NewDustPerfect(tipPosition, 303, smokeVel.RotatedByRandom(0.1f), 80, default, Main.rand.NextFloat(0.2f, 0.8f));
|
||||
Dust dust = Dust.NewDustPerfect(GunTipPosition, 303, smokeVel.RotatedByRandom(0.1f), 80, default, Main.rand.NextFloat(0.2f, 0.8f));
|
||||
dust.noGravity = false;
|
||||
dust.color = StaticEffectsColor;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.0 KiB |