Devastation, drizzlefish projs, and cat claymore resprite
No files matched your search
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 56;
|
||||
Item.width = 60;
|
||||
Item.damage = 85;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useAnimation = Item.useTime = 23;
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.knockBack = 6.25f;
|
||||
Item.UseSound = SoundID.Item1;
|
||||
Item.autoReuse = true;
|
||||
Item.height = 56;
|
||||
Item.height = 60;
|
||||
Item.value = CalamityGlobalItem.Rarity6BuyPrice;
|
||||
Item.rare = ItemRarityID.LightPurple;
|
||||
Item.shoot = ModContent.ProjectileType<CatastropheClaymoreSparkle>();
|
||||
|
||||
|
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 899 B |
@@ -15,6 +15,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.BonusAttackSpeedMultiplier[Item.type] = 0.33f;
|
||||
Main.RegisterItemAnimation(Item.type, new DrawAnimationVertical(6, 11));
|
||||
ItemID.Sets.AnimatesAsSoul[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 16 KiB |
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -23,6 +24,11 @@ namespace CalamityMod.Projectiles.Melee
|
||||
Projectile.DamageType = DamageClass.Melee;
|
||||
}
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.projFrames[Projectile.type] = 4;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
if (Projectile.ai[1] != -1f && Projectile.position.Y > Projectile.ai[1])
|
||||
@@ -35,7 +41,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
return;
|
||||
}
|
||||
bool flag5 = WorldGen.SolidTile(Framing.GetTileSafely((int)Projectile.position.X / 16, (int)Projectile.position.Y / 16));
|
||||
Dust dust6 = Main.dust[Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 73, 0f, 0f, 0, default, 1f)];
|
||||
Dust dust6 = Main.dust[Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 173, 0f, 0f, 0, default, 1f)];
|
||||
dust6.position = Projectile.Center;
|
||||
dust6.velocity = Vector2.Zero;
|
||||
dust6.noGravity = true;
|
||||
@@ -101,18 +107,18 @@ namespace CalamityMod.Projectiles.Melee
|
||||
bool flag = WorldGen.SolidTile(Framing.GetTileSafely((int)Projectile.position.X / 16, (int)Projectile.position.Y / 16));
|
||||
for (int m = 0; m < 4; m++)
|
||||
{
|
||||
Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 73, 0f, 0f, 100, default, 1.5f);
|
||||
Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 173, 0f, 0f, 100, default, 1.5f);
|
||||
}
|
||||
for (int n = 0; n < 4; n++)
|
||||
{
|
||||
int num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 73, 0f, 0f, 0, default, 2.5f);
|
||||
int num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 173, 0f, 0f, 0, default, 2.5f);
|
||||
Main.dust[num10].noGravity = true;
|
||||
Main.dust[num10].velocity *= 3f;
|
||||
if (flag)
|
||||
{
|
||||
Main.dust[num10].noLight = true;
|
||||
}
|
||||
num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 73, 0f, 0f, 100, default, 1.5f);
|
||||
num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 173, 0f, 0f, 100, default, 1.5f);
|
||||
Main.dust[num10].velocity *= 2f;
|
||||
Main.dust[num10].noGravity = true;
|
||||
if (flag)
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using CalamityMod.Dusts;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -23,6 +25,11 @@ namespace CalamityMod.Projectiles.Melee
|
||||
Projectile.DamageType = DamageClass.Melee;
|
||||
}
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.projFrames[Projectile.type] = 4;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
if (Projectile.ai[1] != -1f && Projectile.position.Y > Projectile.ai[1])
|
||||
@@ -35,7 +42,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
return;
|
||||
}
|
||||
bool flag5 = WorldGen.SolidTile(Framing.GetTileSafely((int)Projectile.position.X / 16, (int)Projectile.position.Y / 16));
|
||||
Dust dust6 = Main.dust[Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 56, 0f, 0f, 0, default, 1f)];
|
||||
Dust dust6 = Main.dust[Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, (int)CalamityDusts.Brimstone, 0f, 0f, 0, default, 1f)];
|
||||
dust6.position = Projectile.Center;
|
||||
dust6.velocity = Vector2.Zero;
|
||||
dust6.noGravity = true;
|
||||
@@ -101,18 +108,18 @@ namespace CalamityMod.Projectiles.Melee
|
||||
bool flag = WorldGen.SolidTile(Framing.GetTileSafely((int)Projectile.position.X / 16, (int)Projectile.position.Y / 16));
|
||||
for (int m = 0; m < 4; m++)
|
||||
{
|
||||
Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 56, 0f, 0f, 100, default, 1.5f);
|
||||
Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, (int)CalamityDusts.Brimstone, 0f, 0f, 100, default, 1.5f);
|
||||
}
|
||||
for (int n = 0; n < 4; n++)
|
||||
{
|
||||
int num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 56, 0f, 0f, 0, default, 2.5f);
|
||||
int num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, (int)CalamityDusts.Brimstone, 0f, 0f, 0, default, 2.5f);
|
||||
Main.dust[num10].noGravity = true;
|
||||
Main.dust[num10].velocity *= 3f;
|
||||
if (flag)
|
||||
{
|
||||
Main.dust[num10].noLight = true;
|
||||
}
|
||||
num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 56, 0f, 0f, 100, default, 1.5f);
|
||||
num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, (int)CalamityDusts.Brimstone, 0f, 0f, 100, default, 1.5f);
|
||||
Main.dust[num10].velocity *= 2f;
|
||||
Main.dust[num10].noGravity = true;
|
||||
if (flag)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -22,6 +23,11 @@ namespace CalamityMod.Projectiles.Melee
|
||||
Projectile.tileCollide = false;
|
||||
Projectile.DamageType = DamageClass.Melee;
|
||||
}
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.projFrames[Projectile.type] = 4;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
@@ -35,7 +41,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
return;
|
||||
}
|
||||
bool flag5 = WorldGen.SolidTile(Framing.GetTileSafely((int)Projectile.position.X / 16, (int)Projectile.position.Y / 16));
|
||||
Dust dust6 = Main.dust[Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 57, 0f, 0f, 0, default, 1f)];
|
||||
Dust dust6 = Main.dust[Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 172, 0f, 0f, 0, default, 1f)];
|
||||
dust6.position = Projectile.Center;
|
||||
dust6.velocity = Vector2.Zero;
|
||||
dust6.noGravity = true;
|
||||
@@ -101,18 +107,18 @@ namespace CalamityMod.Projectiles.Melee
|
||||
bool flag = WorldGen.SolidTile(Framing.GetTileSafely((int)Projectile.position.X / 16, (int)Projectile.position.Y / 16));
|
||||
for (int m = 0; m < 4; m++)
|
||||
{
|
||||
Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 57, 0f, 0f, 100, default, 1.5f);
|
||||
Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 172, 0f, 0f, 100, default, 1.5f);
|
||||
}
|
||||
for (int n = 0; n < 4; n++)
|
||||
{
|
||||
int num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 57, 0f, 0f, 0, default, 2.5f);
|
||||
int num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 172, 0f, 0f, 0, default, 2.5f);
|
||||
Main.dust[num10].noGravity = true;
|
||||
Main.dust[num10].velocity *= 3f;
|
||||
if (flag)
|
||||
{
|
||||
Main.dust[num10].noLight = true;
|
||||
}
|
||||
num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 57, 0f, 0f, 100, default, 1.5f);
|
||||
num10 = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y), Projectile.width, Projectile.height, 172, 0f, 0f, 100, default, 1.5f);
|
||||
Main.dust[num10].velocity *= 2f;
|
||||
Main.dust[num10].noGravity = true;
|
||||
if (flag)
|
||||
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 258 B |
|
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 270 B |