2 - Abyssal Diving Suit allows you to move faster as the armor plates get closer to breaking. 3 - Fabled Tortoise Shell gives 36 defense, this gets cut in half but restores most movement speed for 3 seconds if you get hit. 4 - Rev+ Moon Lord projectiles inflict Nightwither. 5 - Celestial Jewel defense boost reduced from 20 to 15 when affected by a damaging debuff. 6 - Affliction now gives 10 defense instead of 20. 7 - Dark Sun Ring gives 15 defense instead of 30 during night/solar eclipse. 8 - Giant Tortoise Shell gives 12 defense instead of 8. 9 - Amalgam gives 20 defense instead of 40 while underwater. 10 - Increased buff durations of alchols and buff potions. 11 - Reduced Tarragon Rogue bonus immunity frames from 5 to 3. 12 - Reduced Cirrus candle price. 13 - Mariana spawns orbs on hit instead of on enemy death. 14 - Colossal Squids spawn in layer 4 as well as 3. 15 - Yharon and Flares inflict Lethal Lava Burn. 16 - Spiteful Candle no longer ignores timed DR. 17 - Moon Lord spawns Luminite Ore on first kill. 18 - Providence anti-heal orbs kill adrenaline. 19 - Submarine Shocker nerfed. 20 - All vanilla spears autoswing.
54 lines
1.5 KiB
C#
54 lines
1.5 KiB
C#
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Tiles.Ores
|
|
{
|
|
public class CryonicOre : ModTile
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
Main.tileLighted[Type] = true;
|
|
Main.tileSolid[Type] = true;
|
|
Main.tileBlockLight[Type] = true;
|
|
Main.tileValue[Type] = 675;
|
|
|
|
CalamityUtils.MergeWithGeneral(Type);
|
|
CalamityUtils.MergeWithSnow(Type);
|
|
|
|
drop = ModContent.ItemType<Items.Placeables.Ores.CryonicOre>();
|
|
ModTranslation name = CreateMapEntryName();
|
|
name.SetDefault("Cryonic Ore");
|
|
AddMapEntry(new Color(0, 0, 150), name);
|
|
mineResist = 3f;
|
|
minPick = 180;
|
|
soundType = SoundID.Tink;
|
|
Main.tileSpelunker[Type] = true;
|
|
}
|
|
|
|
public override bool CanExplode(int i, int j)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num)
|
|
{
|
|
num = fail ? 1 : 3;
|
|
}
|
|
|
|
public override bool TileFrame(int i, int j, ref bool resetFrame, ref bool noBreak)
|
|
{
|
|
TileFraming.CustomMergeFrame(i, j, Type, TileID.SnowBlock);
|
|
return false;
|
|
}
|
|
|
|
public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b)
|
|
{
|
|
r = 0.02f;
|
|
g = 0.02f;
|
|
b = 0.06f;
|
|
}
|
|
}
|
|
}
|