Files

21 lines
523 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
[LegacyName("ChaoticBrickWall")]
public class ScoriaBrickWall : ModWall
{
public override void SetStaticDefaults()
{
Main.wallHouse[Type] = true;
AddMapEntry(new Color(255, 0, 0));
DustType = DustID.Water_BloodMoon;
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}