Files
CalamityModPublic/Walls/AstralIceWall.cs
T
DominicKarma42 55e89c9b98 Replaced (hopefully) every magic number with a constant
Note: Does not include item rarities, and appears to shown nonexistant using directive movement in the commit. This does not really affect anything, however.
2020-05-30 17:56:36 -04:00

28 lines
741 B
C#

using Microsoft.Xna.Framework;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class AstralIceWall : ModWall
{
/*public override bool Autoload(ref string name, ref string texture)
{
mod.AddWall("AstralIceWallUnsafe", this, texture);
return base.Autoload(ref name, ref texture);
}*/
public override void SetDefaults()
{
// TODO -- Change this dust to be one more befitting Astral Ice.
dustType = DustID.Shadowflame;
AddMapEntry(new Color(83, 76, 92));
}
public override void NumDust(int i, int j, bool fail, ref int num)
{
num = fail ? 1 : 3;
}
}
}