mirror of
https://github.com/YouHaveTrouble/YHTMod.git
synced 2026-05-11 21:56:54 +00:00
adapt ooga booga C# code style
This commit is contained in:
@@ -5,8 +5,10 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace YHTMod.Projectiles.Weapons;
|
||||
|
||||
class MithrilPebbleOfPigSmitingProjectile : ModProjectile {
|
||||
public override void SetDefaults() {
|
||||
class MithrilPebbleOfPigSmitingProjectile : ModProjectile
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Projectile.width = 8;
|
||||
Projectile.height = 8;
|
||||
Projectile.friendly = true;
|
||||
@@ -20,7 +22,8 @@ class MithrilPebbleOfPigSmitingProjectile : ModProjectile {
|
||||
Projectile.light = 0.3f;
|
||||
}
|
||||
|
||||
public override void AI() {
|
||||
public override void AI()
|
||||
{
|
||||
base.AI();
|
||||
DrawOriginOffsetX = 0;
|
||||
DrawOffsetX = 0;
|
||||
@@ -28,4 +31,4 @@ class MithrilPebbleOfPigSmitingProjectile : ModProjectile {
|
||||
Main.dust[dust].noGravity = true;
|
||||
Main.dust[dust].velocity *= 0.3f;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user