Files
CalamityModPublic/Walls/AstralIceWallSafe.cs
T
2022-04-06 21:33:47 -05:00

23 lines
647 B
C#

using Terraria;
using Microsoft.Xna.Framework;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class AstralIceWallSafe : ModWall
{
public override void SetStaticDefaults()
{
// TODO -- Change this dust to be one more befitting Astral Ice.
Main.wallHouse[Type] = true;
DustType = DustID.Shadowflame;
ItemDrop = ModContent.ItemType<Items.Placeables.Walls.AstralIceWall>();
AddMapEntry(new Color(83, 76, 92));
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}