Commit of decompiled and "updated" code.

This commit is contained in:
Big Duckie
2022-07-03 14:13:26 -06:00
parent 3d34e53842
commit e1441e74a5
731 changed files with 18423 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
using Terraria;
using Terraria.Audio;
using Terraria.ID;
using Terraria.ModLoader;
namespace FabusMod.Projectiles;
public class IronStinger : ModProjectile
{
public override void SetDefaults()
{
Projectile.width = 22;
Projectile.height = 32;
Projectile.friendly = true;
Projectile.tileCollide = true;
Projectile.ignoreWater = false;
Projectile.timeLeft = 300;
Projectile.light = 1f;
Projectile.penetrate = -1;
AIType = 1;
Projectile.aiStyle = 1;
}
public override void Kill(int timeLeft)
{
SoundEngine.PlaySound(SoundID.Dig, Projectile.position);
}
}