Merge branch '1.4.4' into new-miscell
This commit is contained in:
commit
9ca25a1477
266 files changed
+568
-429
No files matched your search
@@ -298,12 +298,16 @@ namespace CalamityMod.Balancing
|
||||
|
||||
// 60% resist to Corinth Prime's grenades.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityNPCTypeSets.DevourerOfGods, Do(new ProjectileResistBalancingRule(0.4f, ProjectileType<CorinthPrimeAirburst>()))));
|
||||
|
||||
|
||||
// 50% resist to Stratus Sphere
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityNPCTypeSets.DevourerOfGods, Do(new ProjectileResistBalancingRule(0.5f, ProjectileType<StratusBlackHole>()))));
|
||||
|
||||
// 35% resist to Sulphuric Acid Cannon's explosions.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityNPCTypeSets.DevourerOfGods, Do(new ProjectileResistBalancingRule(0.65f, ProjectileType<SulphuricAcidCannonExplosion>()))));
|
||||
|
||||
// 20% resist to Valediction's typhoons; will catch Nuclear Fury as well but that doesn't matter.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityNPCTypeSets.DevourerOfGods, Do(new ProjectileResistBalancingRule(0.8f, ProjectileType<NuclearFuryProjectile>()))));
|
||||
|
||||
#endregion The Devourer of Gods
|
||||
|
||||
#region Exo Mechs: Ares
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs.StatBuffs
|
||||
{
|
||||
public class FulfilledContract : ModBuff
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.debuff[Type] = false;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
Main.buffNoTimeDisplay[Type] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 673 B |
@@ -981,6 +981,7 @@ namespace CalamityMod.CalPlayer
|
||||
public bool fleshTotemVisual = false;
|
||||
public int fleshTotemManaStorage = 0;
|
||||
public bool bloodPact = false;
|
||||
public bool CanBeCritByThePact = false;
|
||||
public bool bloodflareCore = false;
|
||||
public int bloodflareCoreRemainingHealOverTime = 0;
|
||||
|
||||
@@ -2122,6 +2123,9 @@ namespace CalamityMod.CalPlayer
|
||||
if (crimEffigy)
|
||||
Player.statLifeMax2 = (int)(Player.statLifeMax2 * (1f - CrimsonEffigy.MaxHealthLossPercent));
|
||||
|
||||
if (CanBeCritByThePact)
|
||||
Player.statLifeMax2 = (int)(Player.statLifeMax2 * ThePact.MaxLifeMult);
|
||||
|
||||
ResetRogueStealth();
|
||||
|
||||
calamityBonusLuck = 0f;
|
||||
@@ -2430,6 +2434,7 @@ namespace CalamityMod.CalPlayer
|
||||
fleshTotemVisual = false;
|
||||
fleshTotemMinion = false;
|
||||
bloodPact = false;
|
||||
CanBeCritByThePact = false;
|
||||
bloodflareCore = false;
|
||||
chaliceOfTheBloodGod = false;
|
||||
chaliceHeartStyle = false;
|
||||
|
||||
@@ -7,7 +7,6 @@ using CalamityMod.Buffs.StatBuffs;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.CalPlayer.Dashes;
|
||||
using CalamityMod.Cooldowns;
|
||||
using CalamityMod.DataStructures;
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Enums;
|
||||
using CalamityMod.Events;
|
||||
@@ -24,7 +23,6 @@ using CalamityMod.Items.Armor.Reaver;
|
||||
using CalamityMod.Items.Armor.Silva;
|
||||
using CalamityMod.Items.Armor.Sulphurous;
|
||||
using CalamityMod.Items.Armor.Tarragon;
|
||||
using CalamityMod.Items.Armor.Victide;
|
||||
using CalamityMod.Items.Armor.Wulfrum;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.Tools;
|
||||
@@ -42,7 +40,6 @@ using CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Melee;
|
||||
using CalamityMod.Projectiles.Pets;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
using CalamityMod.Projectiles.Typeless;
|
||||
@@ -146,7 +143,7 @@ namespace CalamityMod.CalPlayer
|
||||
NetMessage.SendData(MessageID.Dodge, -1, -1, null, Player.whoAmI, 1f, 0f, 0f, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Pre Kill
|
||||
@@ -209,9 +206,9 @@ namespace CalamityMod.CalPlayer
|
||||
chaliceBleedoutBuffer = 0D;
|
||||
chaliceDamagePointPartialProgress = 0D;
|
||||
}
|
||||
Player.HealPlayer(300);
|
||||
Player.HealPlayer(Items.Accessories.NebulousCore.HealLifeOnRevive);
|
||||
|
||||
Player.AddCooldown(Cooldowns.NebulousCore.ID, CalamityUtils.SecondsToFrames(90));
|
||||
Player.AddCooldown(Cooldowns.NebulousCore.ID, Items.Accessories.NebulousCore.ReviveCooldown);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -393,7 +390,7 @@ namespace CalamityMod.CalPlayer
|
||||
var npc = Main.npc[damageSource.SourceNPCIndex];
|
||||
if (npc.ai[3] < 2) //Divinity Devourer
|
||||
{
|
||||
damageSource = PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.DivinityDevourer"+Main.rand.Next(1,4)).ToNetworkText(Player.name));
|
||||
damageSource = PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.DivinityDevourer" + Main.rand.Next(1, 4)).ToNetworkText(Player.name));
|
||||
}
|
||||
else if (npc.ai[3] >= 3)
|
||||
{
|
||||
@@ -427,9 +424,13 @@ namespace CalamityMod.CalPlayer
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
if (Player.Calamity().yharimsGift)
|
||||
target.AddBuff(ModContent.BuffType<AuricRebuke>(),120);
|
||||
target.AddBuff(ModContent.BuffType<AuricRebuke>(), 120);
|
||||
|
||||
int debuffSpreadProj = ModContent.ProjectileType<DebuffSpreadEffect>();
|
||||
|
||||
if (Player.HasBuff<FulfilledContract>())
|
||||
target.AddBuff(ModContent.BuffType<Laceration>(), ThePact.DebuffInflictionDuration);
|
||||
|
||||
int debuffSpreadProj = ModContent.ProjectileType<DebuffSpreadEffect>();
|
||||
if ((Player.Calamity().abaddon || Player.Calamity().apollyon) && (target.Calamity().abaddonEffected || target.Calamity().apollyonEffected) && hit.Crit && abaddonCooldown == 0 && Player.ownedProjectileCounts[debuffSpreadProj] == 0)
|
||||
{
|
||||
int maxTargetNum = target.Calamity().apollyonEffected ? 10 : 6;
|
||||
@@ -1120,7 +1121,7 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
if (sulphurSet)
|
||||
Main.npc[proj.Calamity().ParentNPCIndex].AddBuff(BuffID.Poisoned, SulphurousHelmet.SetBonusPoisonDuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (proj.hostile && hurtInfo.Damage > 0)
|
||||
@@ -1405,7 +1406,8 @@ namespace CalamityMod.CalPlayer
|
||||
bool sufficientDamageForDodging = actualDamageTaken >= dodgeDamageGateValue;
|
||||
|
||||
//This is in a method here so the logic below can call it in multiple places
|
||||
void GenericDodgeEffects() {
|
||||
void GenericDodgeEffects()
|
||||
{
|
||||
double maxCooldownDurationDamagePercent = 0.5;
|
||||
int maxCooldownDurationDamageValue = (int)Math.Round(Player.statLifeMax2 * (maxCooldownDurationDamagePercent - dodgeDamageGateValuePercent));
|
||||
|
||||
@@ -1465,7 +1467,7 @@ namespace CalamityMod.CalPlayer
|
||||
storedShadowDodge = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
if (!Player.HasCooldown(GlobalDodge.ID) && sufficientDamageForDodging && DodgeEffects.Count > 0)
|
||||
{
|
||||
GenericDodgeEffects();
|
||||
@@ -1488,6 +1490,14 @@ namespace CalamityMod.CalPlayer
|
||||
#region Modify Hurt
|
||||
public override void ModifyHurt(ref Player.HurtModifiers modifiers)
|
||||
{
|
||||
if (CanBeCritByThePact && Main.rand.NextFloat() < ThePact.ChanceToBeCrit)
|
||||
{
|
||||
modifiers.SourceDamage *= ThePact.CritDmgTaken;
|
||||
Player.AddBuff(ModContent.BuffType<FulfilledContract>(), ThePact.BoostDuration);
|
||||
SoundEngine.PlaySound(new SoundStyle("CalamityMod/Sounds/Custom/BloodPactCrit"));
|
||||
}
|
||||
|
||||
|
||||
// Calcium Potion knockback reduction
|
||||
if (calcium)
|
||||
modifiers.Knockback *= (1f - CalciumPotion.KnockbackResistance);
|
||||
@@ -1498,7 +1508,7 @@ namespace CalamityMod.CalPlayer
|
||||
#region Custom Hurt Sounds
|
||||
if (hurtSoundTimer == 0)
|
||||
{
|
||||
if(Player.Transformation().Type != -1 && Player.Transformation().currentTransformation.HurtSound(Player) != null)
|
||||
if (Player.Transformation().Type != -1 && Player.Transformation().currentTransformation.HurtSound(Player) != null)
|
||||
{
|
||||
var hurtSound = Player.Transformation().currentTransformation.HurtSound(Player).Value;
|
||||
modifiers.DisableSound();
|
||||
@@ -2224,7 +2234,7 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
SoundStyle Counter = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_Shield_Down");
|
||||
if (fleshTotemManaStorage >= 100 && fleshTotemVisual)
|
||||
SoundEngine.PlaySound(Counter with { Volume = 0.75f}, Player.Center);
|
||||
SoundEngine.PlaySound(Counter with { Volume = 0.75f }, Player.Center);
|
||||
int lostSoulAmount = (fleshTotemManaStorage / 2) / 25;
|
||||
int lostSoulDamage = (int)Player.GetTotalDamage<MagicDamageClass>().ApplyTo(FleshTotem.lostSoulDamage);
|
||||
if (Player.ownedProjectileCounts[ModContent.ProjectileType<FleshTotemMinion>()] != 0)
|
||||
@@ -2370,7 +2380,7 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
int deificProjDamage = (int)(Player.GetBestClassDamage().ApplyTo(DeificAmulet.StarDamage));
|
||||
|
||||
Projectile onHitProj = Main.projectile[Projectile.NewProjectile(source, Player.Center, new Vector2(0,-15 * (rampartOfDeities && n % 2 == 0 ? 0.75f: 1.25f)).RotatedBy(MathHelper.TwoPi/projAmount*n), ModContent.ProjectileType<AstralStar>(), deificProjDamage, 4f, Player.whoAmI)];
|
||||
Projectile onHitProj = Main.projectile[Projectile.NewProjectile(source, Player.Center, new Vector2(0, -15 * (rampartOfDeities && n % 2 == 0 ? 0.75f : 1.25f)).RotatedBy(MathHelper.TwoPi / projAmount * n), ModContent.ProjectileType<AstralStar>(), deificProjDamage, 4f, Player.whoAmI)];
|
||||
if (onHitProj.whoAmI.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
onHitProj.DamageType = DamageClass.Generic;
|
||||
|
||||
@@ -707,6 +707,9 @@ namespace CalamityMod.CalPlayer
|
||||
regen *= LivingDew.NaturalRegenPower;
|
||||
else if (honeyDew)
|
||||
regen *= HoneyDew.NaturalRegenPower;
|
||||
|
||||
if (Player.HasBuff<FulfilledContract>())
|
||||
regen *= ThePact.NaturalRegenBoost;
|
||||
// The Camper counteracts the regen loss while moving horizontally
|
||||
if (camper && (Player.velocity.X != 0 && Player.grappling[0] <= 0))
|
||||
{
|
||||
@@ -738,7 +741,6 @@ namespace CalamityMod.CalPlayer
|
||||
finalRegen += 4f;
|
||||
|
||||
regeneratorDamage = finalRegen * Regenerator.RegenToDamageRatio;
|
||||
Player.GetDamage<GenericDamageClass>() += regeneratorDamage;
|
||||
|
||||
if (Player.lifeRegen > 0)
|
||||
Player.lifeRegen = 0;
|
||||
|
||||
@@ -2026,8 +2026,8 @@ namespace CalamityMod.CalPlayer
|
||||
if (Player.velocity.Y == 0 && fallingBootVelCheckTimer > 10)
|
||||
{
|
||||
float power = Utils.Remap(fallingBootVelCheckTimer, 10, 40, 0.1f, 1);
|
||||
float scaledPower = (float)Math.Pow(power, 3);
|
||||
int damage = (int)Player.GetBestClassDamage().ApplyTo(1500 * scaledPower); // Damage scales down thrice
|
||||
float scaledPower = (float)Math.Pow(power, 2);
|
||||
int damage = (int)Player.GetBestClassDamage().ApplyTo(300 * scaledPower); // Damage scales down thrice
|
||||
Vector2 playerFeet = Player.Center + Vector2.UnitY * 26 * Player.gravDir;
|
||||
|
||||
float blastSize = 120 * power;
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace CalamityMod
|
||||
|
||||
// Vanilla
|
||||
public static readonly Condition DownedBetsy = Create("Drops.DownedBetsy", () => DownedBossSystem.downedBetsy);
|
||||
|
||||
public static readonly Condition DownedDreadnautilus = Create("Drops.DownedDreadnautilus", () => DownedBossSystem.downedDreadnautilus);
|
||||
//
|
||||
// Calamity Biome conditions
|
||||
//
|
||||
|
||||
@@ -653,8 +653,14 @@ namespace CalamityMod.ILEditing
|
||||
{
|
||||
if (self.Calamity().ChaosStone)
|
||||
{
|
||||
if (amount <= -1)
|
||||
amount = self.GetManaCost(item);
|
||||
|
||||
if (pay)
|
||||
{
|
||||
self.statMana -= item.mana;
|
||||
CombinedHooks.OnConsumeMana(self, item, amount);
|
||||
}
|
||||
if (self.statMana < -self.statManaMax2)
|
||||
self.statMana = -self.statManaMax2;
|
||||
return true;
|
||||
|
||||
@@ -49,8 +49,8 @@ namespace CalamityMod.Items.Accessories
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.ArcticDivingGear).
|
||||
AddIngredient<DepthCharm>().
|
||||
AddIngredient<DepthCells>(10).
|
||||
AddIngredient<Lumenyl>(10).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddIngredient<Lumenyl>(15).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -73,8 +73,8 @@ namespace CalamityMod.Items.Accessories
|
||||
CreateRecipe().
|
||||
AddIngredient<MirageMirror>().
|
||||
AddIngredient<InkBomb>().
|
||||
AddIngredient<DepthCells>(5).
|
||||
AddIngredient<Lumenyl>(5).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddIngredient<Lumenyl>(15).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@ namespace CalamityMod.Items.Fishing
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.FishingBobber).
|
||||
AddIngredient<AerialiteBar>(5).
|
||||
AddIngredient(ItemID.Feather).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<OrnateShield>().
|
||||
AddIngredient<CoreofCalamity>().
|
||||
AddIngredient(ItemID.HallowedBar, 5).
|
||||
AddIngredient<CoreofCalamity>().
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.WarriorEmblem).
|
||||
AddIngredient<UelibloomBar>(2).
|
||||
AddIngredient<UelibloomBar>(12).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CrawCarapace>().
|
||||
AddIngredient<DepthCells>(12).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CosmiliteBar>(5).
|
||||
AddIngredient<CosmiliteBar>(10).
|
||||
AddIngredient<Elumplate>(25).
|
||||
AddIngredient<ExodiumCluster>(25).
|
||||
AddTile<CosmicAnvil>().
|
||||
|
||||
@@ -33,12 +33,12 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<SeaSpiritAmulet>().
|
||||
AddIngredient<AbyssGravel>(10).
|
||||
AddIngredient<DepthCells>(5).
|
||||
AddIngredient<PyreMantle>(10).
|
||||
AddIngredient<ScoriaBar>(5).
|
||||
AddIngredient<Voidstone>(10).
|
||||
AddIngredient<Lumenyl>(5).
|
||||
AddIngredient<AbyssGravel>(20).
|
||||
AddIngredient<PyreMantle>(20).
|
||||
AddIngredient<Voidstone>(20).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddIngredient<Lumenyl>(15).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CreateRecipe().
|
||||
AddRecipeGroup("AnyGoldCrown").
|
||||
AddIngredient<AerialiteBar>(6).
|
||||
AddIngredient<AerialiteBar>(8).
|
||||
AddIngredient(ItemID.Feather, 8).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
|
||||
@@ -14,13 +14,13 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
public class FrozenCube : ModItem, ILocalizedModType
|
||||
{
|
||||
public static int mistBaseDamage = 1;
|
||||
public static int slamBaseDamage = 20;
|
||||
public static int baseAttackSpeed = 90;
|
||||
public static int baseAttackCooldown = 180;
|
||||
public static int mistBaseDamage => 5;
|
||||
public static int slamBaseDamage => 20;
|
||||
public static int baseAttackSpeed => 90;
|
||||
public static int baseAttackCooldown => 180;
|
||||
|
||||
public static int usedDefenseDivide = 3;
|
||||
public static int debuff = ModContent.BuffType<WindChilled>();
|
||||
public static int usedDefenseDivide => 3;
|
||||
public static int debuff => ModContent.BuffType<WindChilled>();
|
||||
|
||||
public static readonly SoundStyle noise = new("CalamityMod/Sounds/Item/ElumphantSound") { Volume = 0.6f };
|
||||
public static readonly SoundStyle cry = new("CalamityMod/Sounds/Item/ElumphantCry") { Volume = 0.6f };
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Rarities;
|
||||
using CalamityMod.Systems.Collections;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Accessories
|
||||
@@ -12,6 +13,13 @@ namespace CalamityMod.Items.Accessories
|
||||
public class NebulousCore : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Accessories";
|
||||
|
||||
public static float DamageBoost => 0.12f;
|
||||
public static int HealLifeOnRevive => 300;
|
||||
public static int ReviveCooldown => CalamityUtils.SecondsToFrames(90);
|
||||
public static int MaxStars => 15;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(DamageBoost.ToPercent(), HealLifeOnRevive, ReviveCooldown.FramesToSeconds());
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
CalamityItemSets.ExtraDebuffTooltip_Enemy[Type] = [ModContent.BuffType<GodSlayerInferno>()];
|
||||
@@ -37,7 +45,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.nebulousCore = true;
|
||||
player.GetDamage<GenericDamageClass>() += 0.12f;
|
||||
player.GetDamage<GenericDamageClass>() += DamageBoost;
|
||||
|
||||
// Spawn nebula stars
|
||||
if (Main.rand.NextBool(15))
|
||||
@@ -51,7 +59,7 @@ namespace CalamityMod.Items.Accessories
|
||||
numProj++;
|
||||
}
|
||||
}
|
||||
if (Main.rand.Next(15) >= numProj && numProj < 15)
|
||||
if (Main.rand.Next(15) >= numProj && numProj < MaxStars)
|
||||
{
|
||||
int spawnRadius = 24;
|
||||
for (int j = 0; j < 50; j++) // Attempt to spawn the star randomly around the player
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.AvengerEmblem).
|
||||
AddIngredient<PerennialBar>(2).
|
||||
AddIngredient<PerennialBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace CalamityMod.Items.Accessories
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CryonicBar>(5).
|
||||
AddIngredient(ItemID.CrystalShard, 10).
|
||||
AddIngredient<CryonicBar>(12).
|
||||
AddIngredient(ItemID.CrystalShard, 20).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
CreateRecipe().
|
||||
AddIngredient<SandSharkToothNecklace>().
|
||||
AddIngredient<ReaperTooth>(6).
|
||||
AddIngredient<DepthCells>(15).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace CalamityMod.Items.Accessories
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.regenerator = true;
|
||||
player.longInvince = true; // Gives better iframes because god help you if you end up getting hit twice
|
||||
player.GetDamage<GenericDamageClass>() += player.Calamity().regeneratorDamage;
|
||||
}
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> list)
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.CelestialEmblem).
|
||||
AddIngredient<ScoriaBar>(5).
|
||||
AddIngredient<ScoriaBar>(8).
|
||||
AddIngredient<AshesofCalamity>(15).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace CalamityMod.Items.Accessories
|
||||
AddIngredient<AshesofCalamity>(12).
|
||||
AddIngredient<EssenceofEleum>(15).
|
||||
AddIngredient<PlagueCellCanister>(15).
|
||||
AddIngredient<DepthCells>(15).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddIngredient<ArmoredShell>(4).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatBuffs;
|
||||
using CalamityMod.Systems.Collections;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
public class ThePact : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Accessories";
|
||||
|
||||
public static float MaxLifeMult => 2;
|
||||
public static float ChanceToBeCrit => 0.25f;
|
||||
public static float CritDmgTaken => 2.25f;
|
||||
public static int BoostDuration => 900;
|
||||
public static int DebuffInflictionDuration => 60;
|
||||
public static float NaturalRegenBoost => 1.75f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MaxLifeMult, ChanceToBeCrit.ToPercent(), CritDmgTaken);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
CalamityItemSets.ExtraDebuffTooltip_Enemy[Type] = [ModContent.BuffType<Laceration>()];
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 46;
|
||||
Item.height = 64;
|
||||
Item.value = CalamityGlobalItem.RarityLightRedBuyPrice;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
{
|
||||
player.Calamity().CanBeCritByThePact = true;
|
||||
|
||||
if (player.HasBuff<FulfilledContract>() && player.miscCounter % 3 == 0 && player.potionDelay > 0)
|
||||
{
|
||||
player.potionDelay -= 1;
|
||||
if (player.potionDelay < 0)
|
||||
player.potionDelay = 0;
|
||||
if (player.HasBuff(BuffID.PotionSickness))
|
||||
{
|
||||
for (var i = 0; i < player.buffType.Length; i++)
|
||||
{
|
||||
if (player.buffType[i] == BuffID.PotionSickness)
|
||||
{
|
||||
player.buffTime[i] = player.potionDelay;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 775 B |
@@ -106,7 +106,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SoulofFlight, 20).
|
||||
AddIngredient<PerennialBar>(5).
|
||||
AddIngredient<PerennialBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SoulofFlight, 20).
|
||||
AddIngredient<ScoriaBar>(5).
|
||||
AddIngredient<ScoriaBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
CreateRecipe().
|
||||
AddIngredient<AngelTreads>().
|
||||
AddIngredient(ItemID.SoulofFlight,20).
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddIngredient(ItemID.LunarBar, 10).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -55,9 +55,9 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SoulofFlight, 20).
|
||||
AddIngredient<PlantyMush>(3).
|
||||
AddIngredient<EffulgentFeather>(15).
|
||||
AddIngredient<AscendantSpiritEssence>(2).
|
||||
AddIngredient<PlantyMush>(45).
|
||||
AddIngredient<EffulgentFeather>(10).
|
||||
AddIngredient<AscendantSpiritEssence>(3).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(5).
|
||||
AddIngredient<AerialiteBar>(10).
|
||||
AddIngredient(ItemID.Feather, 5).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SoulofFlight, 20).
|
||||
AddIngredient<CryonicBar>(5).
|
||||
AddIngredient<CryonicBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SoulofFlight, 20).
|
||||
AddIngredient<UelibloomBar>(5).
|
||||
AddIngredient<UelibloomBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -51,9 +51,9 @@ namespace CalamityMod.Items.Accessories
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<WulfrumMetalScrap>(5).
|
||||
AddIngredient<WulfrumMetalScrap>(10).
|
||||
AddIngredient<EnergyCore>().
|
||||
AddIngredient(ItemID.Chain, 2).
|
||||
AddIngredient(ItemID.Chain, 3).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items.Armor.Aerospec
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(15).
|
||||
AddIngredient<AerialiteBar>(20).
|
||||
AddIngredient(ItemID.Feather, 2).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace CalamityMod.Items.Armor.Aerospec
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(5).
|
||||
AddIngredient<AerialiteBar>(10).
|
||||
AddIngredient(ItemID.Feather).
|
||||
AddTile(TileID.Anvils).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AerospecBreastplate>()).
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace CalamityMod.Items.Armor.Aerospec
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(5).
|
||||
AddIngredient<AerialiteBar>(10).
|
||||
AddIngredient(ItemID.Feather).
|
||||
AddTile(TileID.Anvils).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AerospecHeadMagic>()).
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.Items.Armor.Aerospec
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(5).
|
||||
AddIngredient<AerialiteBar>(10).
|
||||
AddIngredient(ItemID.Feather).
|
||||
AddTile(TileID.Anvils).
|
||||
SortAfterFirstRecipesOf(ModContent.ItemType<AerospecHeadMagic>()).
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Items.Armor.Aerospec
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(5).
|
||||
AddIngredient<AerialiteBar>(10).
|
||||
AddIngredient(ItemID.Feather).
|
||||
AddTile(TileID.Anvils).
|
||||
SortAfterFirstRecipesOf(ModContent.ItemType<AerospecBreastplate>()).
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace CalamityMod.Items.Armor.Aerospec
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(5).
|
||||
AddIngredient<AerialiteBar>(10).
|
||||
AddIngredient(ItemID.Feather).
|
||||
AddTile(TileID.Anvils).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AerospecHeadRogue>()).
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Armor.Aerospec
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(10).
|
||||
AddIngredient<AerialiteBar>(15).
|
||||
AddIngredient(ItemID.Feather, 2).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
|
||||
@@ -36,8 +36,7 @@ namespace CalamityMod.Items.Armor.Astral
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AstralBar>(12).
|
||||
AddIngredient(ItemID.MeteoriteBar, 9).
|
||||
AddIngredient<AstralBar>(24).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -110,8 +110,7 @@ namespace CalamityMod.Items.Armor.Astral
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AstralBar>(8).
|
||||
AddIngredient(ItemID.MeteoriteBar, 6).
|
||||
AddIngredient<AstralBar>(12).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AstralBreastplate>()).
|
||||
Register();
|
||||
|
||||
@@ -33,8 +33,7 @@ namespace CalamityMod.Items.Armor.Astral
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AstralBar>(10).
|
||||
AddIngredient(ItemID.MeteoriteBar, 8).
|
||||
AddIngredient<AstralBar>(18).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace CalamityMod.Items.Armor.Auric
|
||||
AddIngredient<GodSlayerChestplate>().
|
||||
AddIngredient<BloodflareBodyArmor>().
|
||||
AddIngredient<TarragonBreastplate>().
|
||||
AddIngredient<AuricBar>(18).
|
||||
AddIngredient<AuricBar>(20).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace CalamityMod.Items.Armor.Auric
|
||||
AddIngredient<SilvaArmor>().
|
||||
AddIngredient<BloodflareBodyArmor>().
|
||||
AddIngredient<TarragonBreastplate>().
|
||||
AddIngredient<AuricBar>(18).
|
||||
AddIngredient<AuricBar>(20).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace CalamityMod.Items.Armor.Auric
|
||||
AddIngredient<SilvaHeadMagic>().
|
||||
AddIngredient<BloodflareHeadMagic>().
|
||||
AddIngredient<TarragonHeadMagic>().
|
||||
AddIngredient<AuricBar>(12).
|
||||
AddIngredient<AuricBar>(10).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AuricTeslaBodyArmor>()).
|
||||
Register();
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace CalamityMod.Items.Armor.Auric
|
||||
AddIngredient<GodSlayerHeadMelee>().
|
||||
AddIngredient<BloodflareHeadMelee>().
|
||||
AddIngredient<TarragonHeadMelee>().
|
||||
AddIngredient<AuricBar>(12).
|
||||
AddIngredient<AuricBar>(10).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AuricTeslaHeadMagic>()).
|
||||
Register();
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace CalamityMod.Items.Armor.Auric
|
||||
AddIngredient<GodSlayerHeadRanged>().
|
||||
AddIngredient<BloodflareHeadRanged>().
|
||||
AddIngredient<TarragonHeadRanged>().
|
||||
AddIngredient<AuricBar>(12).
|
||||
AddIngredient<AuricBar>(10).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AuricTeslaHeadMagic>()).
|
||||
Register();
|
||||
|
||||
@@ -104,7 +104,7 @@ namespace CalamityMod.Items.Armor.Auric
|
||||
AddIngredient<GodSlayerHeadRogue>().
|
||||
AddIngredient<BloodflareHeadRogue>().
|
||||
AddIngredient<TarragonHeadRogue>().
|
||||
AddIngredient<AuricBar>(12).
|
||||
AddIngredient<AuricBar>(10).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AuricTeslaBodyArmor>()).
|
||||
Register();
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace CalamityMod.Items.Armor.Auric
|
||||
AddIngredient<SilvaHeadSummon>().
|
||||
AddIngredient<BloodflareHeadSummon>().
|
||||
AddIngredient<TarragonHeadSummon>().
|
||||
AddIngredient<AuricBar>(12).
|
||||
AddIngredient<AuricBar>(10).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<AuricTeslaHeadRogue>()).
|
||||
Register();
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Items.Armor.Bloodflare
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(16).
|
||||
AddIngredient<BloodstoneCore>(20).
|
||||
AddIngredient<RuinousSoul>(4).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace CalamityMod.Items.Armor.Bloodflare
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(13).
|
||||
AddIngredient<BloodstoneCore>(15).
|
||||
AddIngredient<RuinousSoul>(3).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.Armor.Bloodflare
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(11).
|
||||
AddIngredient<BloodstoneCore>(10).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<BloodflareBodyArmor>()).
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.Armor.Bloodflare
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(11).
|
||||
AddIngredient<BloodstoneCore>(10).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<BloodflareHeadMagic>()).
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace CalamityMod.Items.Armor.Bloodflare
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(11).
|
||||
AddIngredient<BloodstoneCore>(10).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<BloodflareHeadMagic>()).
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor.Bloodflare
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(11).
|
||||
AddIngredient<BloodstoneCore>(10).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<BloodflareBodyArmor>()).
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.Armor.Bloodflare
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(11).
|
||||
AddIngredient<BloodstoneCore>(10).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<BloodflareHeadRogue>()).
|
||||
|
||||
@@ -34,8 +34,8 @@ namespace CalamityMod.Items.Armor.Brimflame
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AshesofCalamity>(5).
|
||||
AddIngredient<UnholyCore>(3).
|
||||
AddIngredient<UnholyCore>(10).
|
||||
AddIngredient<AshesofCalamity>(6).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -67,8 +67,8 @@ namespace CalamityMod.Items.Armor.Brimflame
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<UnholyCore>(8).
|
||||
AddIngredient<AshesofCalamity>(4).
|
||||
AddIngredient<UnholyCore>(2).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<BrimflameBoots>()).
|
||||
Register();
|
||||
|
||||
@@ -44,8 +44,8 @@ namespace CalamityMod.Items.Armor.Brimflame
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<UnholyCore>(12).
|
||||
AddIngredient<AshesofCalamity>(8).
|
||||
AddIngredient<UnholyCore>(4).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<BrimflameBoots>()).
|
||||
Register();
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace CalamityMod.Items.Armor.Daedalus
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CryonicBar>(15).
|
||||
AddIngredient<CryonicBar>(24).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace CalamityMod.Items.Armor.Daedalus
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CryonicBar>(7).
|
||||
AddIngredient<CryonicBar>(12).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<DaedalusBreastplate>()).
|
||||
Register();
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace CalamityMod.Items.Armor.Daedalus
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CryonicBar>(7).
|
||||
AddIngredient<CryonicBar>(12).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<DaedalusHeadMagic>()).
|
||||
Register();
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor.Daedalus
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CryonicBar>(7).
|
||||
AddIngredient<CryonicBar>(12).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<DaedalusHeadMagic>()).
|
||||
Register();
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Items.Armor.Daedalus
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CryonicBar>(7).
|
||||
AddIngredient<CryonicBar>(12).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<DaedalusBreastplate>()).
|
||||
Register();
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace CalamityMod.Items.Armor.Daedalus
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CryonicBar>(7).
|
||||
AddIngredient<CryonicBar>(12).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<DaedalusHeadRogue>()).
|
||||
Register();
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Armor.Daedalus
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CryonicBar>(10).
|
||||
AddIngredient<CryonicBar>(18).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace CalamityMod.Items.Armor.FathomSwarmer
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<SeaRemains>(9).
|
||||
AddIngredient<PlantyMush>(8).
|
||||
AddIngredient<DepthCells>(4).
|
||||
AddIngredient<PlantyMush>(50).
|
||||
AddIngredient<DepthCells>(15).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -47,8 +47,8 @@ namespace CalamityMod.Items.Armor.FathomSwarmer
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<SeaRemains>(12).
|
||||
AddIngredient<PlantyMush>(10).
|
||||
AddIngredient<DepthCells>(5).
|
||||
AddIngredient<PlantyMush>(75).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<FathomSwarmerBoots>()).
|
||||
Register();
|
||||
|
||||
@@ -71,9 +71,9 @@ namespace CalamityMod.Items.Armor.FathomSwarmer
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<SeaRemains>(5).
|
||||
AddIngredient<PlantyMush>(6).
|
||||
AddIngredient<DepthCells>(3).
|
||||
AddIngredient<SeaRemains>(6).
|
||||
AddIngredient<PlantyMush>(25).
|
||||
AddIngredient<DepthCells>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<FathomSwarmerBreastplate>()).
|
||||
Register();
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace CalamityMod.Items.Armor.GodSlayer
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CosmiliteBar>(15).
|
||||
AddIngredient<AscendantSpiritEssence>(3).
|
||||
AddIngredient<CosmiliteBar>(20).
|
||||
AddIngredient<AscendantSpiritEssence>(4).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace CalamityMod.Items.Armor.GodSlayer
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CosmiliteBar>(7).
|
||||
AddIngredient<CosmiliteBar>(10).
|
||||
AddIngredient<AscendantSpiritEssence>(2).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<GodSlayerChestplate>()).
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace CalamityMod.Items.Armor.GodSlayer
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CosmiliteBar>(7).
|
||||
AddIngredient<CosmiliteBar>(10).
|
||||
AddIngredient<AscendantSpiritEssence>(2).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<GodSlayerChestplate>()).
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.Items.Armor.GodSlayer
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CosmiliteBar>(7).
|
||||
AddIngredient<CosmiliteBar>(10).
|
||||
AddIngredient<AscendantSpiritEssence>(2).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<GodSlayerChestplate>()).
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace CalamityMod.Items.Armor.GodSlayer
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<CosmiliteBar>(10).
|
||||
AddIngredient<AscendantSpiritEssence>(2).
|
||||
AddIngredient<CosmiliteBar>(15).
|
||||
AddIngredient<AscendantSpiritEssence>(3).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ScoriaBar>(15).
|
||||
AddIngredient<ScoriaBar>(20).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ScoriaBar>(7).
|
||||
AddIngredient<ScoriaBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<HydrothermicArmor>()).
|
||||
Register();
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ScoriaBar>(7).
|
||||
AddIngredient<ScoriaBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<HydrothermicHeadMagic>()).
|
||||
Register();
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ScoriaBar>(7).
|
||||
AddIngredient<ScoriaBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<HydrothermicHeadMagic>()).
|
||||
Register();
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ScoriaBar>(7).
|
||||
AddIngredient<ScoriaBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<HydrothermicArmor>()).
|
||||
Register();
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ScoriaBar>(7).
|
||||
AddIngredient<ScoriaBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<HydrothermicHeadRogue>()).
|
||||
Register();
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ScoriaBar>(10).
|
||||
AddIngredient<ScoriaBar>(15).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ReaperTooth>(5).
|
||||
AddIngredient<DepthCells>(18).
|
||||
AddIngredient<DepthCells>(25).
|
||||
AddIngredient<RuinousSoul>(3).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
|
||||
@@ -98,7 +98,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ReaperTooth>(3).
|
||||
AddIngredient<DepthCells>(12).
|
||||
AddIngredient<DepthCells>(15).
|
||||
AddIngredient<RuinousSoul>().
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<OmegaBlueChestplate>()).
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ReaperTooth>(4).
|
||||
AddIngredient<DepthCells>(15).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Armor.Reaver
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PerennialBar>(10).
|
||||
AddIngredient<PerennialBar>(15).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace CalamityMod.Items.Armor.Reaver
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PerennialBar>(7).
|
||||
AddIngredient<PerennialBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<ReaverCuisses>()).
|
||||
Register();
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.Items.Armor.Reaver
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PerennialBar>(7).
|
||||
AddIngredient<PerennialBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<ReaverHeadExplore>()).
|
||||
Register();
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Items.Armor.Reaver
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PerennialBar>(7).
|
||||
AddIngredient<PerennialBar>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<ReaverHeadMobility>()).
|
||||
Register();
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items.Armor.Reaver
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PerennialBar>(15).
|
||||
AddIngredient<PerennialBar>(20).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<ReaverCuisses>()).
|
||||
Register();
|
||||
|
||||
@@ -44,9 +44,9 @@ namespace CalamityMod.Items.Armor.Silva
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PlantyMush>(12).
|
||||
AddIngredient<EffulgentFeather>(10).
|
||||
AddIngredient<AscendantSpiritEssence>(3).
|
||||
AddIngredient<PlantyMush>(90).
|
||||
AddIngredient<EffulgentFeather>(12).
|
||||
AddIngredient<AscendantSpiritEssence>(4).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Abyss;
|
||||
using CalamityMod.Rarities;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
@@ -59,8 +59,8 @@ namespace CalamityMod.Items.Armor.Silva
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PlantyMush>(6).
|
||||
AddIngredient<EffulgentFeather>(5).
|
||||
AddIngredient<PlantyMush>(30).
|
||||
AddIngredient<EffulgentFeather>(8).
|
||||
AddIngredient<AscendantSpiritEssence>(2).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<SilvaArmor>()).
|
||||
|
||||
@@ -58,8 +58,8 @@ namespace CalamityMod.Items.Armor.Silva
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PlantyMush>(6).
|
||||
AddIngredient<EffulgentFeather>(5).
|
||||
AddIngredient<PlantyMush>(30).
|
||||
AddIngredient<EffulgentFeather>(8).
|
||||
AddIngredient<AscendantSpiritEssence>(2).
|
||||
AddTile<CosmicAnvil>().
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<SilvaArmor>()).
|
||||
|
||||
@@ -37,9 +37,9 @@ namespace CalamityMod.Items.Armor.Silva
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PlantyMush>(9).
|
||||
AddIngredient<EffulgentFeather>(7).
|
||||
AddIngredient<AscendantSpiritEssence>(2).
|
||||
AddIngredient<PlantyMush>(60).
|
||||
AddIngredient<EffulgentFeather>(10).
|
||||
AddIngredient<AscendantSpiritEssence>(3).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -33,8 +33,8 @@ namespace CalamityMod.Items.Armor.Statigel
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PurifiedGel>(7).
|
||||
AddIngredient<BlightedGel>(7).
|
||||
AddIngredient<PurifiedGel>(10).
|
||||
AddIngredient<BlightedGel>(10).
|
||||
AddTile(TileID.Solidifier).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -49,8 +49,8 @@ namespace CalamityMod.Items.Armor.Statigel
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PurifiedGel>(5).
|
||||
AddIngredient<BlightedGel>(5).
|
||||
AddIngredient<PurifiedGel>(8).
|
||||
AddIngredient<BlightedGel>(8).
|
||||
AddTile(TileID.Solidifier).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<StatigelArmor>()).
|
||||
Register();
|
||||
|
||||
@@ -51,8 +51,8 @@ namespace CalamityMod.Items.Armor.Statigel
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PurifiedGel>(5).
|
||||
AddIngredient<BlightedGel>(5).
|
||||
AddIngredient<PurifiedGel>(8).
|
||||
AddIngredient<BlightedGel>(8).
|
||||
AddTile(TileID.Solidifier).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<StatigelHeadMagic>()).
|
||||
Register();
|
||||
|
||||
@@ -45,8 +45,8 @@ namespace CalamityMod.Items.Armor.Statigel
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<PurifiedGel>(5).
|
||||
AddIngredient<BlightedGel>(5).
|
||||
AddIngredient<PurifiedGel>(8).
|
||||
AddIngredient<BlightedGel>(8).
|
||||
AddTile(TileID.Solidifier).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<StatigelHeadMagic>()).
|
||||
Register();
|
||||
|
||||
Loaded 100 of 266 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user