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,12 +5,15 @@ using YHTMod.Projectiles.Weapons;
|
||||
|
||||
namespace YHTMod.Items;
|
||||
|
||||
public class MithrilPebbleOfPigSmiting : ModItem {
|
||||
public override void SetStaticDefaults() {
|
||||
public class MithrilPebbleOfPigSmiting : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
|
||||
public override void SetDefaults() {
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.damage = 16;
|
||||
Item.width = 8;
|
||||
@@ -30,4 +33,4 @@ public class MithrilPebbleOfPigSmiting : ModItem {
|
||||
Item.shootSpeed = 20f;
|
||||
Item.shoot = ModContent.ProjectileType<MithrilPebbleOfPigSmitingProjectile>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user