This commit is contained in:
Doze-Zoze committed 2025-07-11 20:41:57 -05:00
commit f5463c6232
13 files changed
+16 -90

No files matched your search

File renamed without changes.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

@@ -14,9 +14,9 @@ namespace CalamityMod.Items.Accessories.Vanity
public override (EquipType, string, string)[] EquipSlots =>
[
(EquipType.Head, "Xyk", null),
(EquipType.Body, "Xyk", null),
(EquipType.Legs, "Xyk", null),
(EquipType.Head, "Xyk2", null),
(EquipType.Body, "Xyk2", null),
(EquipType.Legs, "Xyk2", null),
(EquipType.Wings, null, null), //results in setting this equip slot to -1
];
+1 -1
View File
@@ -70,7 +70,7 @@ namespace CalamityMod.Items.PermanentBoosters
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.LifeFruit, 5).
AddIngredient(ItemID.LifeFruit).
AddIngredient<LifeAlloy>(5).
AddIngredient<LivingShard>(12).
AddTile(TileID.MythrilAnvil).
+1 -1
View File
@@ -73,7 +73,7 @@ namespace CalamityMod.Items.PermanentBoosters
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.LifeFruit, 5).
AddIngredient(ItemID.LifeFruit).
AddIngredient<YharonSoulFragment>(5).
AddIngredient<AscendantSpiritEssence>().
AddTile<CosmicAnvil>().
+1 -1
View File
@@ -71,7 +71,7 @@ namespace CalamityMod.Items.PermanentBoosters
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.LifeFruit, 5).
AddIngredient(ItemID.LifeFruit).
AddIngredient<BloodOrb>(10).
AddIngredient(ItemID.SoulofFright, 5).
AddIngredient(ItemID.SoulofMight, 5).
+1 -1
View File
@@ -72,7 +72,7 @@ namespace CalamityMod.Items.PermanentBoosters
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.LifeFruit, 5).
AddIngredient(ItemID.LifeFruit).
AddIngredient<UelibloomBar>(10).
AddIngredient<DivineGeode>(8).
AddTile(TileID.MythrilAnvil).
@@ -2004,7 +2004,7 @@ TrinketofChi: {
'''
Increases damage reduction by 8% if you avoid taking damage for 10 seconds
This buff expires on hit
+1 HP/s life regen for teammates
+1 HP/s life regen for you and your teammates
'''
}
+4
View File
@@ -460,9 +460,11 @@ namespace CalamityMod
string entryName = "HiveMind";
BossChecklistProgressionValues.TryGetValue(entryName, out float order);
int type = NPCType<HiveMind>();
Func<bool> IsCorruption = () => !WorldGen.crimson || Main.drunkWorld;
List<int> collection = new List<int>() { ItemType<HiveMindRelic>(), ItemType<HiveMindTrophy>(), ItemType<HiveMindMask>(), ItemType<LoreHiveMind>(), ItemType<RottingEyeball>(), ItemType<ThankYouPainting>() };
AddBoss(bossChecklist, calamity, entryName, order, DownedHiveMind, type, new Dictionary<string, object>()
{
["availability"] = IsCorruption,
["spawnInfo"] = GetSpawnInfo(entryName),
["despawnMessage"] = GetDespawnMessage(entryName),
["spawnItems"] = ItemType<Teratoma>(),
@@ -476,9 +478,11 @@ namespace CalamityMod
string entryName = "Perforators";
BossChecklistProgressionValues.TryGetValue(entryName, out float order);
int type = NPCType<PerforatorHive>();
Func<bool> IsCrimson = () => WorldGen.crimson || Main.drunkWorld;
List<int> collection = new List<int>() { ItemType<PerforatorsRelic>(), ItemType<PerforatorTrophy>(), ItemType<PerforatorMask>(), ItemType<LorePerforators>(), ItemType<BloodyVein>(), ItemType<ThankYouPainting>() };
AddBoss(bossChecklist, calamity, entryName, order, DownedPerforators, type, new Dictionary<string, object>()
{
["availability"] = IsCrimson,
["displayName"] = GetDisplayName(entryName),
["spawnInfo"] = GetSpawnInfo(entryName),
["despawnMessage"] = GetDespawnMessage(entryName),
+1 -1
View File
@@ -79,7 +79,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
else
p.velocity *= 0.9f;
if (p.ai[0] % 2 == 0)
p.timeLeft++;
p.timeLeft += p.MaxUpdates;
}
}
}
+3 -3
View File
@@ -52,6 +52,9 @@ namespace CalamityMod.Projectiles.Typeless
public override void AI()
{
if (!BreakApart)
lastDir = Owner.direction;
float intendedScale = 0.85f;
float spawnAnimTime = 12 + wingNum;
if (time == 0)
@@ -266,9 +269,6 @@ namespace CalamityMod.Projectiles.Typeless
}
public override bool PreDraw(ref Color lightColor)
{
if (!BreakApart)
lastDir = Owner.direction;
float topWingNum = (checkActiveWings() - 1);
float width = 1;
float height = 1;
-78
View File
@@ -812,84 +812,6 @@ namespace CalamityMod.Systems
// Berserker's Glove recipe change now that it doesn't provide melee speed
{ Vanilla(ItemID.BerserkerGlove), ReplaceIngredient(ItemID.PowerGlove, ItemID.TitanGlove) },
// Standardize the costs of all PHM ore armors to 10/16/14 head/chest/legs
{ Vanilla(ItemID.CopperHelmet), ChangeIngredientStack(ItemID.CopperBar, 10) },
{ Vanilla(ItemID.CopperChainmail), ChangeIngredientStack(ItemID.CopperBar, 16) },
{ Vanilla(ItemID.CopperGreaves), ChangeIngredientStack(ItemID.CopperBar, 14) },
{ Vanilla(ItemID.TinHelmet), ChangeIngredientStack(ItemID.TinBar, 10) },
{ Vanilla(ItemID.TinChainmail), ChangeIngredientStack(ItemID.TinBar, 16) },
{ Vanilla(ItemID.TinGreaves), ChangeIngredientStack(ItemID.TinBar, 14) },
{ Vanilla(ItemID.IronHelmet), ChangeIngredientStack(ItemID.IronBar, 10) },
{ Vanilla(ItemID.IronChainmail), ChangeIngredientStack(ItemID.IronBar, 16) },
{ Vanilla(ItemID.IronGreaves), ChangeIngredientStack(ItemID.IronBar, 14) },
{ Vanilla(ItemID.LeadHelmet), ChangeIngredientStack(ItemID.LeadBar, 10) },
{ Vanilla(ItemID.LeadChainmail), ChangeIngredientStack(ItemID.LeadBar, 16) },
{ Vanilla(ItemID.LeadGreaves), ChangeIngredientStack(ItemID.LeadBar, 14) },
{ Vanilla(ItemID.SilverHelmet), ChangeIngredientStack(ItemID.SilverBar, 10) },
{ Vanilla(ItemID.SilverChainmail), ChangeIngredientStack(ItemID.SilverBar, 16) },
{ Vanilla(ItemID.SilverGreaves), ChangeIngredientStack(ItemID.SilverBar, 14) },
{ Vanilla(ItemID.TungstenHelmet), ChangeIngredientStack(ItemID.TungstenBar, 10) },
{ Vanilla(ItemID.TungstenChainmail), ChangeIngredientStack(ItemID.TungstenBar, 16) },
{ Vanilla(ItemID.TungstenGreaves), ChangeIngredientStack(ItemID.TungstenBar, 14) },
{ Vanilla(ItemID.GoldHelmet), ChangeIngredientStack(ItemID.GoldBar, 10) },
{ Vanilla(ItemID.GoldChainmail), ChangeIngredientStack(ItemID.GoldBar, 16) },
{ Vanilla(ItemID.GoldGreaves), ChangeIngredientStack(ItemID.GoldBar, 14) },
{ Vanilla(ItemID.PlatinumHelmet), ChangeIngredientStack(ItemID.PlatinumBar, 10) },
{ Vanilla(ItemID.PlatinumChainmail), ChangeIngredientStack(ItemID.PlatinumBar, 16) },
{ Vanilla(ItemID.PlatinumGreaves), ChangeIngredientStack(ItemID.PlatinumBar, 14) },
// Standardize the costs of all HM ore items to the following:
// 10 BARS : Melee Helm, Ranged Helm, Magic Helm, Pickaxe, Drill, Waraxe, Chainsaw, Sword, Spear, Repeater
// 20 BARS : Breastplate
// 15 BARS : Leggings
{ VanillaEach(
ItemID.CobaltHelmet, ItemID.CobaltMask, ItemID.CobaltHat, ItemID.CobaltPickaxe, ItemID.CobaltDrill, ItemID.CobaltWaraxe, ItemID.CobaltChainsaw,
ItemID.CobaltSword, ItemID.CobaltNaginata, ItemID.CobaltRepeater),
ChangeIngredientStack(ItemID.CobaltBar, 10)
},
{ Vanilla(ItemID.CobaltBreastplate), ChangeIngredientStack(ItemID.CobaltBar, 20) },
{ Vanilla(ItemID.CobaltLeggings), ChangeIngredientStack(ItemID.CobaltBar, 15) },
{ VanillaEach(
ItemID.PalladiumHelmet, ItemID.PalladiumMask, ItemID.PalladiumHeadgear, ItemID.PalladiumPickaxe, ItemID.PalladiumDrill, ItemID.PalladiumWaraxe, ItemID.PalladiumChainsaw,
ItemID.PalladiumSword, ItemID.PalladiumPike, ItemID.PalladiumRepeater),
ChangeIngredientStack(ItemID.PalladiumBar, 10)
},
{ Vanilla(ItemID.PalladiumBreastplate), ChangeIngredientStack(ItemID.PalladiumBar, 20) },
{ Vanilla(ItemID.PalladiumLeggings), ChangeIngredientStack(ItemID.PalladiumBar, 15) },
{ VanillaEach(
ItemID.MythrilHelmet, ItemID.MythrilHat, ItemID.MythrilHood, ItemID.MythrilPickaxe, ItemID.MythrilDrill, ItemID.MythrilWaraxe, ItemID.MythrilChainsaw,
ItemID.MythrilSword, ItemID.MythrilHalberd, ItemID.MythrilRepeater),
ChangeIngredientStack(ItemID.MythrilBar, 10)
},
{ Vanilla(ItemID.MythrilChainmail), ChangeIngredientStack(ItemID.MythrilBar, 20) },
{ Vanilla(ItemID.MythrilGreaves), ChangeIngredientStack(ItemID.MythrilBar, 15) },
{ VanillaEach(
ItemID.OrichalcumHelmet, ItemID.OrichalcumMask, ItemID.OrichalcumHeadgear, ItemID.OrichalcumPickaxe, ItemID.OrichalcumDrill, ItemID.OrichalcumWaraxe, ItemID.OrichalcumChainsaw,
ItemID.OrichalcumSword, ItemID.OrichalcumHalberd, ItemID.OrichalcumRepeater),
ChangeIngredientStack(ItemID.OrichalcumBar, 10)
},
{ Vanilla(ItemID.OrichalcumBreastplate), ChangeIngredientStack(ItemID.OrichalcumBar, 20) },
{ Vanilla(ItemID.OrichalcumLeggings), ChangeIngredientStack(ItemID.OrichalcumBar, 15) },
{ VanillaEach(
ItemID.AdamantiteHelmet, ItemID.AdamantiteMask, ItemID.AdamantiteHeadgear, ItemID.AdamantitePickaxe, ItemID.AdamantiteDrill, ItemID.AdamantiteWaraxe, ItemID.AdamantiteChainsaw,
ItemID.AdamantiteSword, ItemID.AdamantiteGlaive, ItemID.AdamantiteRepeater),
ChangeIngredientStack(ItemID.AdamantiteBar, 10)
},
{ Vanilla(ItemID.AdamantiteBreastplate), ChangeIngredientStack(ItemID.AdamantiteBar, 20) },
{ Vanilla(ItemID.AdamantiteLeggings), ChangeIngredientStack(ItemID.AdamantiteBar, 15) },
{ VanillaEach(
ItemID.TitaniumHelmet, ItemID.TitaniumMask, ItemID.TitaniumHeadgear, ItemID.TitaniumPickaxe, ItemID.TitaniumDrill, ItemID.TitaniumWaraxe, ItemID.TitaniumChainsaw,
ItemID.TitaniumSword, ItemID.TitaniumTrident, ItemID.TitaniumRepeater),
ChangeIngredientStack(ItemID.TitaniumBar, 10)
},
{ Vanilla(ItemID.TitaniumBreastplate), ChangeIngredientStack(ItemID.TitaniumBar, 20) },
{ Vanilla(ItemID.TitaniumLeggings), ChangeIngredientStack(ItemID.TitaniumBar, 15) },
};
// Apply all recipe changes.