Files
CalamityModPublic/Walls/ProfanedCrystalWall.cs
T

22 lines
476 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class ProfanedCrystalWall : ModWall
{
public override void SetDefaults()
{
Main.wallHouse[Type] = true;
dustType = mod.DustType("Sparkle");
drop = mod.ItemType("ProfanedCrystalWall");
AddMapEntry(new Color(5, 5, 5));
}
public override void NumDust(int i, int j, bool fail, ref int num)
{
num = fail ? 1 : 3;
}
}
}