This commit is contained in:
Storm2103 committed 2023-12-08 22:45:22 -06:00
commit 2733c5d54e
5 files changed
+8 -23

No files matched your search

+3 -3
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetDefaults()
{
Item.width = 80;
Item.damage = 31;
Item.damage = 84;
Item.noMelee = true;
Item.noUseGraphic = true;
Item.useAnimation = 48;
@@ -30,8 +30,8 @@ namespace CalamityMod.Items.Weapons.Rogue
Item.Calamity().donorItem = true;
}
public override float StealthDamageMultiplier => 0.45f;
public override float StealthVelocityMultiplier => 1f;
public override float StealthDamageMultiplier => 0.40f;
public override float StealthVelocityMultiplier => 1.75f;
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
@@ -38,10 +38,10 @@ namespace CalamityMod.Projectiles.Rogue
SoundEngine.PlaySound(SoundID.Item7, Projectile.position);
}
//Spawn a skull every 30 frames
if (Projectile.timeLeft % 30 == 0)
//Spawn a skull every 90 frames
if (Projectile.timeLeft % 90 == 0)
{
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Projectile.velocity * 0.2f, ModContent.ProjectileType<GrimreaverSkull>(), Projectile.damage, Projectile.knockBack, Projectile.owner, 1f, 0f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Projectile.velocity * 0.2f, ModContent.ProjectileType<GrimreaverSkull>(), (int)(Projectile.damage * 0.4f), Projectile.knockBack, Projectile.owner, 1f, 0f);
}
CalamityUtils.HomeInOnNPC(Projectile, true, 250f, 4f, 14f);
@@ -71,7 +71,7 @@ namespace CalamityMod.Projectiles.Rogue
DustExplosion(15, 6, 12, 30, 2.4f);
for (int i = 0; i < 10; i++)
{
CalamityUtils.ProjectileRain(Projectile.GetSource_FromThis(), Projectile.Center, 600f, 100f, 700f, 1000f, 20, ModContent.ProjectileType<GrimreaverSkull>(), (int)(Projectile.damage * 0.75f), 3f, Projectile.owner);
CalamityUtils.ProjectileRain(Projectile.GetSource_FromThis(), Projectile.Center, 600f, 100f, 700f, 1000f, 20, ModContent.ProjectileType<GrimreaverSkull>(), (int)(Projectile.damage * 0.35f), 3f, Projectile.owner);
}
}
else
+1 -16
View File
@@ -12,22 +12,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
[LegacyName("WulfrumWorkbench")]
public class WulfrumWorkBenchTile : ModTile
{
public override void SetStaticDefaults()
{
Main.tileSolidTop[Type] = true;
Main.tileFrameImportant[Type] = true;
Main.tileNoAttach[Type] = true;
Main.tileTable[Type] = true;
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x1);
TileObjectData.newTile.Width = 3;
TileObjectData.newTile.CoordinateHeights = new int[] { 18 };
TileObjectData.addTile(Type);
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable);
AddMapEntry(new Color(191, 142, 111), Language.GetText("ItemName.WorkBench"));
TileID.Sets.DisableSmartCursor[Type] = true;
AdjTiles = new int[] { TileID.WorkBenches };
}
public override void SetStaticDefaults() => this.SetUpWorkBench(ModContent.ItemType<Items.Placeables.FurnitureWulfrum.WulfrumWorkBench>(), true);
public override bool CanExplode(int i, int j) => false;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 B

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 216 B