This commit is contained in:
IbanPlay committed 2022-06-12 02:33:45 +02:00
commit a77bed889a
79 files changed
+97 -163

No files matched your search

+1 -1
View File
@@ -620,7 +620,7 @@ namespace CalamityMod.CalPlayer
ModContent.ItemType<HalleysInferno>(),
ModContent.ItemType<CleansingBlaze>(),
ModContent.ItemType<ElementalEruption>(),
ModContent.ItemType<TheEmpyrean>(),
ModContent.ItemType<GodsBellows>(),
ModContent.ItemType<Meowthrower>(),
ModContent.ItemType<OverloadedBlaster>(),
ModContent.ItemType<TerraFlameburster>(),
+1 -1
View File
@@ -2657,7 +2657,7 @@ namespace CalamityMod.CalPlayer
if (planarSpeedBoost != 0)
{
if (Player.ActiveItem().type != ModContent.ItemType<PrideHuntersPlanarRipper>())
if (Player.ActiveItem().type != ModContent.ItemType<PridefulHuntersPlanarRipper>())
planarSpeedBoost = 0;
}
if (brimlashBusterBoost)
+6 -6
View File
@@ -1326,7 +1326,7 @@ namespace CalamityMod
scopedWeaponList = new List<int>()
{
ItemType<AMR>(),
ItemType<AntiMaterielRifle>(),
ItemType<Auralis>(),
ItemType<HalleysInferno>(),
ItemType<Shroomer>(),
@@ -1340,12 +1340,12 @@ namespace CalamityMod
ItemType<Brimblade>(),
ItemType<BlazingStar>(),
ItemType<Celestus>(),
ItemType<AccretionDisk>(),
ItemType<ElementalDisk>(),
ItemType<EnchantedAxe>(),
ItemType<EpidemicShredder>(),
ItemType<Equanimity>(),
ItemType<Eradicator>(),
ItemType<FlameScythe>(),
ItemType<SubductionSlicer>(),
ItemType<Glaive>(),
ItemType<GhoulishGouger>(),
ItemType<Icebreaker>(),
@@ -1353,7 +1353,7 @@ namespace CalamityMod
ItemType<Kylie>(),
ItemType<MangroveChakram>(),
ItemType<MoltenAmputator>(),
ItemType<NanoblackReaperRogue>(),
ItemType<NanoblackReaper>(),
ItemType<SandDollar>(),
ItemType<FishboneBoomerang>(),
ItemType<Shroomerang>(),
@@ -1411,7 +1411,7 @@ namespace CalamityMod
{
ItemType<CrystalPiercer>(),
ItemType<PalladiumJavelin>(),
ItemType<DuneHopper>(),
ItemType<WaveSkipper>(),
ItemType<EclipsesFall>(),
ItemType<IchorSpear>(),
ItemType<ProfanedTrident>(),
@@ -1421,7 +1421,7 @@ namespace CalamityMod
ItemType<ScourgeoftheSeas>(),
ItemType<SpearofDestiny>(),
ItemType<SpearofPaleolith>(),
ItemType<XerocPitchfork>(),
ItemType<ShardofAntumbra>(),
ItemType<PhantasmalRuin>(),
ItemType<PhantomLance>(),
ItemType<ProfanedPartisan>(),
-2
View File
@@ -1,6 +1,4 @@
using CalamityMod.Dusts;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
+2 -2
View File
@@ -99,13 +99,13 @@ namespace CalamityMod.Items
nameLine.OverrideColor = new Color(0, 0, 255);
if (item.type == ModContent.ItemType<TheDanceofLight>())
nameLine.OverrideColor = TheDanceofLight.GetSyncedLightColor();
if (item.type == ModContent.ItemType<NanoblackReaperRogue>())
if (item.type == ModContent.ItemType<NanoblackReaper>())
nameLine.OverrideColor = new Color(0.34f, 0.34f + 0.66f * Main.DiscoG / 255f, 0.34f + 0.5f * Main.DiscoG / 255f);
if (item.type == ModContent.ItemType<ShatteredCommunity>())
nameLine.OverrideColor = ShatteredCommunity.GetRarityColor();
if (item.type == ModContent.ItemType<ProfanedSoulCrystal>())
nameLine.OverrideColor = CalamityUtils.ColorSwap(new Color(255, 166, 0), new Color(25, 250, 25), 4f); //alternates between emerald green and amber (BanditHueh)
if (item.type == ModContent.ItemType<BensUmbrella>())
if (item.type == ModContent.ItemType<TemporalUmbrella>())
nameLine.OverrideColor = CalamityUtils.ColorSwap(new Color(210, 0, 255), new Color(255, 248, 24), 4f);
if (item.type == ModContent.ItemType<Endogenesis>())
nameLine.OverrideColor = CalamityUtils.ColorSwap(new Color(131, 239, 255), new Color(36, 55, 230), 4f);
@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Pets
{
public class SparksSummon : ModItem
[LegacyName("SparksSummon")]
public class EnchantedButterfly : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 713 B

@@ -10,7 +10,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Pets
{
public class RotomRemote : ModItem
[LegacyName("RotomRemote")]
public class TheEtomer : ModItem
{
public override void SetStaticDefaults()
{
@@ -49,7 +50,7 @@ namespace CalamityMod.Items.Pets
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
{
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Pets/RotomRemoteGlow").Value);
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Pets/TheEtomerGlow").Value);
}
public override void AddRecipes()
File renamed without changes.

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 313 B

File renamed without changes.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 243 B

+1 -1
View File
@@ -60,7 +60,7 @@ namespace CalamityMod.Items.TreasureBags
DropHelper.WeightStack<Oblivion>(w),
DropHelper.WeightStack<Animosity>(w),
DropHelper.WeightStack<LashesofChaos>(w),
DropHelper.WeightStack<BlightedEyeStaff>(w),
DropHelper.WeightStack<EntropysVigil>(w),
DropHelper.WeightStack<ChaosStone>(w)
);
+1 -1
View File
@@ -61,7 +61,7 @@ namespace CalamityMod.Items.TreasureBags
DropHelper.WeightStack<DragonsBreath>(w),
DropHelper.WeightStack<ChickenCannon>(w),
DropHelper.WeightStack<PhoenixFlameBarrage>(w),
DropHelper.WeightStack<AngryChickenStaff>(w), // Yharon Kindle Staff
DropHelper.WeightStack<YharonsKindleStaff>(w), // Yharon Kindle Staff
DropHelper.WeightStack<ProfanedTrident>(w), // Infernal Spear
DropHelper.WeightStack<FinalDawn>(w)
);
+1 -1
View File
@@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<Purge>().
AddIngredient<NanoPurge>().
AddIngredient<PurgeGuzzler>().
AddIngredient<AuricBar>(5).
AddIngredient<UelibloomBar>(12).
@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class Purge : ModItem
[LegacyName("Purge")]
public class NanoPurge : ModItem
{
public const int UseTime = 20;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -1
View File
@@ -89,7 +89,7 @@ namespace CalamityMod.Items.Weapons.Melee
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ElementalShortsword>().
AddIngredient<ElementalShiv>().
AddIngredient<CosmiliteBar>(8).
AddTile(ModContent.TileType<CosmicAnvil>()).
Register();
@@ -9,7 +9,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Melee
{
public class ElementalShortsword : ModItem
[LegacyName("ElementalShortsword")]
public class ElementalShiv : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 948 B

After

Width:  |  Height:  |  Size: 948 B

@@ -10,7 +10,8 @@ using CalamityMod.Sounds;
namespace CalamityMod.Items.Weapons.Ranged
{
public class AMR : ModItem
[LegacyName("AMR")]
public class AntiMaterielRifle : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

+1 -1
View File
@@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Ranged
CreateRecipe().
AddIngredient(ItemID.SpiritFlame).
AddIngredient(ItemID.ShadowFlameBow).
AddIngredient<GreatbowofTurmoil>().
AddIngredient<ContinentalGreatbow>().
AddIngredient<BladedgeGreatbow>().
AddIngredient<DarkechoGreatbow>().
AddIngredient<GalacticaSingularity>(5).
-94
View File
@@ -1,94 +0,0 @@
using Terraria.DataStructures;
using CalamityMod.Items.Materials;
using CalamityMod.Projectiles.Ranged;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using CalamityMod.Sounds;
namespace CalamityMod.Items.Weapons.Ranged
{
public class ChargedDartRifle : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Charged Dart Blaster");
Tooltip.SetDefault("Fires a shotgun spread of darts and a splitting energy blast\n" +
"Right click to fire a more powerful exploding energy blast that bounces");
SacrificeTotal = 1;
ItemID.Sets.ItemsThatAllowRepeatedRightClick[Item.type] = true;
}
public override void SetDefaults()
{
Item.damage = 100;
Item.DamageType = DamageClass.Ranged;
Item.width = 74;
Item.height = 40;
Item.useTime = 25;
Item.useAnimation = 25;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 7f;
Item.value = CalamityGlobalItem.Rarity10BuyPrice;
Item.rare = ItemRarityID.Red;
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
Item.autoReuse = true;
Item.shootSpeed = 22f;
Item.shoot = ModContent.ProjectileType<ChargedBlast>();
Item.useAmmo = AmmoID.Dart;
Item.Calamity().canFirePointBlankShots = true;
}
public override Vector2? HoldoutOffset()
{
return new Vector2(-5, 0);
}
public override bool AltFunctionUse(Player player)
{
return true;
}
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
if (player.altFunctionUse == 2)
{
Projectile.NewProjectile(source, position.X, position.Y, velocity.X, velocity.Y, ModContent.ProjectileType<ChargedBlast3>(), (int)((double)damage * 2), knockback, player.whoAmI, 0f, 0f);
return false;
}
else
{
int num6 = Main.rand.Next(2, 5);
for (int index = 0; index < num6; ++index)
{
float SpeedX = velocity.X + (float)Main.rand.Next(-40, 41) * 0.05f;
float SpeedY = velocity.Y + (float)Main.rand.Next(-40, 41) * 0.05f;
int projectile = Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, type, damage / 2, knockback, player.whoAmI, 0f, 0f);
}
Projectile.NewProjectile(source, position.X, position.Y, velocity.X, velocity.Y, ModContent.ProjectileType<ChargedBlast>(), damage, knockback, player.whoAmI, 0f, 0f);
return false;
}
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.DartRifle).
AddIngredient(ItemID.MartianConduitPlating, 25).
AddIngredient<CoreofEleum>(3).
AddIngredient(ItemID.FragmentVortex, 5).
AddTile(TileID.MythrilAnvil).
Register();
CreateRecipe().
AddIngredient(ItemID.DartPistol).
AddIngredient(ItemID.MartianConduitPlating, 25).
AddIngredient<CoreofEleum>(3).
AddIngredient(ItemID.FragmentVortex, 5).
AddTile(TileID.MythrilAnvil).
Register();
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 730 B

@@ -6,7 +6,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class TrueConferenceCall : ModItem
[LegacyName("TrueConferenceCall", "ConclaveCrossfire")]
public class ConferenceCall : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 974 B

@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class GreatbowofTurmoil : ModItem
[LegacyName("GreatbowofTurmoil")]
public class ContinentalGreatbow : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -6,7 +6,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class Interfacer : ModItem
[LegacyName("Interfacer")]
public class Disseminator : ModItem
{
public override void SetStaticDefaults()
{
@@ -150,7 +151,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<TrueConferenceCall>().
AddIngredient<ConferenceCall>().
AddIngredient(ItemID.LunarBar, 5).
AddTile(TileID.LunarCraftingStation).
Register();
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.Ranged
CreateRecipe().
AddIngredient<SpectralstormCannon>().
AddIngredient<ClockGatlignum>().
AddIngredient<PaintballBlaster>().
AddIngredient<SpeedBlaster>().
AddIngredient<GalacticaSingularity>(5).
AddIngredient(ItemID.LunarBar, 5).
AddTile(TileID.LunarCraftingStation).
@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class TheEmpyrean : ModItem
[LegacyName("TheEmpyrean")]
public class GodsBellows : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

+1
View File
@@ -10,6 +10,7 @@ using Terraria.Audio;
namespace CalamityMod.Items.Weapons.Ranged
{
// TODO -- This weapon is a disgrace to its Armored Core heritage. It needs a full rework.
public class Karasawa : ModItem
{
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/MechGaussRifle");
@@ -3,11 +3,13 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class MarniteRifleSpear : ModItem
[LegacyName("MarniteRifleSpear")]
public class MarniteBayonet : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Marnite Bayonet");
// TODO -- Marnite Bayonet hitboxes are screwed because it's not a holdout
Tooltip.SetDefault("The gun damages enemies that touch it");
SacrificeTotal = 1;
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 707 B

After

Width:  |  Height:  |  Size: 707 B

@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class NettlelineGreatbow : ModItem
[LegacyName("NettlelineGreatbow")]
public class NettlevineGreatbow : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class PrideHuntersPlanarRipper : ModItem
[LegacyName("PrideHuntersPlanarRipper")]
public class PridefulHuntersPlanarRipper : ModItem
{
private int counter = 0;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 769 B

After

Width:  |  Height:  |  Size: 769 B

+2 -1
View File
@@ -74,10 +74,11 @@ namespace CalamityMod.Items.Weapons.Ranged
}
}
// TODO -- Shredder used to use Charged Dart Blaster. The item has been deleted.
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ChargedDartRifle>().
// AddIngredient<ChargedDartRifle>().
AddIngredient<FrostbiteBlaster>().
AddIngredient(ItemID.Shotgun).
AddIngredient<GalacticaSingularity>(5).
@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class PaintballBlaster : ModItem
[LegacyName("PaintballBlaster")]
public class SpeedBlaster : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 657 B

After

Width:  |  Height:  |  Size: 657 B

@@ -10,7 +10,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class StarfleetMK2 : ModItem
[LegacyName("StarfleetMK2")]
public class Starmada : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

+1 -1
View File
@@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Ranged
{
CreateRecipe().
AddIngredient<GoldenEagle>().
AddIngredient<AMR>().
AddIngredient<AntiMaterielRifle>().
AddIngredient<AuricBar>(5).
AddTile<CosmicAnvil>().
Register();
+2 -2
View File
@@ -101,7 +101,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<Interfacer>().
AddIngredient<Disseminator>().
AddIngredient(ItemID.StarCloak, 3).
AddIngredient<ArmoredShell>(2).
AddIngredient<CosmiliteBar>(8).
@@ -110,7 +110,7 @@ namespace CalamityMod.Items.Weapons.Ranged
Register();
CreateRecipe().
AddIngredient<Interfacer>().
AddIngredient<Disseminator>().
AddIngredient(ItemID.StarCloak, 3).
AddIngredient<ArmoredShell>(2).
AddIngredient<NebulousCore>().
@@ -9,12 +9,14 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class Megafleet : ModItem
[LegacyName("Megafleet")]
public class Voidragon : ModItem
{
private int shotType = 1;
public override void SetStaticDefaults()
{
// Long live Megafleet. You will be missed. Maybe one day we can revive you.
DisplayName.SetDefault("Voidragon");
Tooltip.SetDefault("75% chance to not consume ammo\n" +
"Fires void blasts that explode every other shot\n" +
@@ -61,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Ranged
if (shotType == 1)
Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, type, damage, knockback, player.whoAmI, 0.0f, 0.0f);
else
Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<Voidragon>(), damage, knockback, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<Projectiles.Ranged.Voidragon>(), damage, knockback, player.whoAmI, 0f, 0f);
shotType++;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

+1 -1
View File
@@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AccretionDisk>().
AddIngredient<ElementalDisk>().
AddIngredient<AlphaVirus>().
AddIngredient<MoltenAmputator>().
AddIngredient<FrostcrushValari>().
@@ -8,7 +8,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class AccretionDisk : ModItem
[LegacyName("AccretionDisk")]
public class ElementalDisk : ModItem
{
public override void SetStaticDefaults()
{
@@ -60,7 +61,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
CreateRecipe().
AddIngredient<MangroveChakram>().
AddIngredient<FlameScythe>().
AddIngredient<SubductionSlicer>().
AddIngredient<TerraDisk>().
AddIngredient<GalacticaSingularity>(5).
AddIngredient<LifeAlloy>(5).
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

@@ -9,7 +9,9 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class NanoblackReaperRogue : ModItem
// Deny me no longer!
[LegacyName("NanoblackReaperMelee", "NanoblackReaperRogue")]
public class NanoblackReaper : ModItem
{
public static int BaseDamage = 130;
public static float Knockback = 9f;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -8,7 +8,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class XerocPitchfork : ModItem
[LegacyName("XerocPitchfork")]
public class ShardofAntumbra : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

@@ -8,7 +8,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class FlameScythe : ModItem
[LegacyName("FlameScythe")]
public class SubductionSlicer : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -10,7 +10,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class DuneHopper : ModItem
[LegacyName("DuneHopper")]
public class WaveSkipper : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -8,7 +8,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Summon
{
public class BlightedEyeStaff : ModItem
[LegacyName("BlightedEyeStaff")]
public class EntropysVigil : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Summon
{
public class LanternoftheSoul : ModItem
[LegacyName("LanternoftheSoul")]
public class GuidelightofOblivion : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -9,7 +9,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Summon
{
public class BensUmbrella : ModItem
[LegacyName("BensUmbrella")]
public class TemporalUmbrella : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -8,7 +8,8 @@ using CalamityMod.Sounds;
namespace CalamityMod.Items.Weapons.Summon
{
public class AngryChickenStaff : ModItem
[LegacyName("AngryChickenStaff")]
public class YharonsKindleStaff : ModItem
{
public const int Damage = 340;
public const float ReboundRamDamageFactor = 2f;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

@@ -6,10 +6,11 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Typeless
{
public class AeroDynamite : ModItem
[LegacyName("AeroDynamite")]
public class Skynamite : ModItem
{
public static int Damage = 250;
public static float Knockback = 10f;
public const int Damage = 250;
public const float Knockback = 10f;
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

+5 -5
View File
@@ -379,7 +379,7 @@ namespace CalamityMod
BossDifficulty.TryGetValue("Calamitas", out float order);
int type = NPCType<CalamitasRun3>();
int summon = ItemType<EyeofDesolation>();
List<int> loot = new List<int>() { ItemType<CalamitasBag>(), ItemType<EssenceofChaos>(), ItemType<AshesofCalamity>(), ItemType<Bloodstone>(), ItemType<LashesofChaos>(), ItemType<Oblivion>(), ItemType<BlightedEyeStaff>(), ItemType<Animosity>(), ItemType<BrimstoneFlamesprayer>(), ItemType<BrimstoneFlameblaster>(), ItemType<CrushsawCrasher>(), ItemType<ChaosStone>(), ItemType<VoidofCalamity>(), ItemType<Regenator>(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion };
List<int> loot = new List<int>() { ItemType<CalamitasBag>(), ItemType<EssenceofChaos>(), ItemType<AshesofCalamity>(), ItemType<Bloodstone>(), ItemType<LashesofChaos>(), ItemType<Oblivion>(), ItemType<EntropysVigil>(), ItemType<Animosity>(), ItemType<BrimstoneFlamesprayer>(), ItemType<BrimstoneFlameblaster>(), ItemType<CrushsawCrasher>(), ItemType<ChaosStone>(), ItemType<VoidofCalamity>(), ItemType<Regenator>(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion };
List<int> collection = new List<int>() { ItemType<CalamitasTrophy>(), ItemType<CataclysmTrophy>(), ItemType<CatastropheTrophy>(), ItemType<CalamitasMask>(), ItemType<HoodOfCalamity>(), ItemType<RobesOfCalamity>(), ItemType<KnowledgeCalamitasClone>() };
string instructions = $"Use an [i:{summon}] at Night";
string despawn = CalamityUtils.ColorMessage("If you wanted a fight, you should've came more prepared.", new Color(0xFF, 0xA5, 0x00));
@@ -583,7 +583,7 @@ namespace CalamityMod
BossDifficulty.TryGetValue("Yharon", out float order);
int type = NPCType<Yharon>();
int summon = ItemType<JungleDragonEgg>();
List<int> loot = new List<int>() { ItemType<YharonBag>(), ItemType<HellcasterFragment>(), ItemType<DragonRage>(), ItemType<TheBurningSky>(), ItemType<DragonsBreath>(), ItemType<ChickenCannon>(), ItemType<PhoenixFlameBarrage>(), ItemType<AngryChickenStaff>(), ItemType<ProfanedTrident>(), ItemType<FinalDawn>(), ItemType<YharimsCrystal>(), ItemType<YharimsGift>(), ItemType<DrewsWings>(), /*ItemType<BossRush>(), */ItemType<OmegaHealingPotion>() };
List<int> loot = new List<int>() { ItemType<YharonBag>(), ItemType<HellcasterFragment>(), ItemType<DragonRage>(), ItemType<TheBurningSky>(), ItemType<DragonsBreath>(), ItemType<ChickenCannon>(), ItemType<PhoenixFlameBarrage>(), ItemType<YharonsKindleStaff>(), ItemType<ProfanedTrident>(), ItemType<FinalDawn>(), ItemType<YharimsCrystal>(), ItemType<YharimsGift>(), ItemType<DrewsWings>(), /*ItemType<BossRush>(), */ItemType<OmegaHealingPotion>() };
List<int> collection = new List<int>() { ItemType<YharonTrophy>(), ItemType<YharonMask>(), ItemType<KnowledgeYharon>(), ItemType<ForgottenDragonEgg>(), ItemType<McNuggets>(), ItemType<FoxDrive>() };
string instructions = $"Use a [i:{summon}] in the Jungle Biome";
string despawn = CalamityUtils.ColorMessage("Yharon found you too weak to stay near your gravestone.", new Color(0xFF, 0xA5, 0x00));
@@ -948,16 +948,16 @@ namespace CalamityMod
RegisterSummon(ItemType<CorvidHarbringerStaff>(), BuffType<CorvidHarbringerBuff>(), ProjectileType<PowerfulRaven>());
RegisterSummon(ItemType<EndoHydraStaff>(), BuffType<EndoHydraBuff>(), ProjectileType<EndoHydraHead>());
RegisterSummon(ItemType<CosmicViperEngine>(), BuffType<CosmicViperEngineBuff>(), ProjectileType<CosmicViperSummon>());
RegisterSummon(ItemType<AngryChickenStaff>(), BuffType<YharonKindleBuff>(), ProjectileType<SonOfYharon>());
RegisterSummon(ItemType<YharonsKindleStaff>(), BuffType<YharonKindleBuff>(), ProjectileType<SonOfYharon>());
RegisterSummon(ItemType<MidnightSunBeacon>(), BuffType<MidnightSunBuff>(), ProjectileType<MidnightSunUFO>());
RegisterSummon(ItemType<PoleWarper>(), BuffType<PoleWarperBuff>(), ProjectileType<PoleWarperSummon>());
RegisterSummon(ItemType<Vigilance>(), BuffType<SoulSeekerBuff>(), ProjectileType<SeekerSummonProj>());
RegisterSummon(ItemType<Metastasis>(), BuffType<SepulcherMinionBuff>(), ProjectileType<SepulcherMinion>());
RegisterSummon(ItemType<CosmicImmaterializer>(), BuffType<CosmicEnergy>(), ProjectileType<CosmicEnergySpiral>());
RegisterSummon(ItemType<BensUmbrella>(), BuffType<MagicHatBuff>(), ProjectileType<MagicHat>());
RegisterSummon(ItemType<TemporalUmbrella>(), BuffType<MagicHatBuff>(), ProjectileType<MagicHat>());
RegisterSummon(ItemType<Endogenesis>(), BuffType<EndoCooperBuff>(), ProjectileType<EndoCooperBody>());
sAssociation.Call("AddMinionInfo", ItemType<BlightedEyeStaff>(), BuffType<CalamitasEyes>(), new List<int>() { ProjectileType<Calamitamini>(), ProjectileType<Cataclymini>(), ProjectileType<Catastromini>()}, new List<float>() {1-(1f/3f), 2f/3f, 2f/3f});
sAssociation.Call("AddMinionInfo", ItemType<EntropysVigil>(), BuffType<CalamitasEyes>(), new List<int>() { ProjectileType<Calamitamini>(), ProjectileType<Cataclymini>(), ProjectileType<Catastromini>()}, new List<float>() {1-(1f/3f), 2f/3f, 2f/3f});
//Entropy's Vigil is a bruh moment
sAssociation.Call("AddMinionInfo", ItemType<ResurrectionButterfly>(), BuffType<ResurrectionButterflyBuff>(), new List<int>() { ProjectileType<PinkButterfly>(), ProjectileType<PurpleButterfly>()});
}
+1 -1
View File
@@ -200,7 +200,7 @@ namespace CalamityMod.NPCs.Calamitas
ModContent.ItemType<Oblivion>(),
ModContent.ItemType<Animosity>(),
ModContent.ItemType<LashesofChaos>(),
ModContent.ItemType<BlightedEyeStaff>(),
ModContent.ItemType<EntropysVigil>(),
ModContent.ItemType<ChaosStone>(),
};
normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, items));
+1 -1
View File
@@ -262,7 +262,7 @@ namespace CalamityMod.NPCs.Crags
npcLoot.AddIf(() => Main.hardMode, ModContent.ItemType<EssenceofChaos>(), 3);
var postProvidence = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedProvidence);
postProvidence.Add(ModContent.ItemType<Bloodstone>(), 2);
postProvidence.Add(ModContent.ItemType<LanternoftheSoul>(), 20);
postProvidence.Add(ModContent.ItemType<GuidelightofOblivion>(), 20);
}
public override void ModifyNPCLoot(NPCLoot npcLoot) => DefineScryllarLoot(npcLoot);
+1 -1
View File
@@ -2808,7 +2808,7 @@ namespace CalamityMod.NPCs.Yharon
ModContent.ItemType<DragonsBreath>(),
ModContent.ItemType<ChickenCannon>(),
ModContent.ItemType<PhoenixFlameBarrage>(),
ModContent.ItemType<AngryChickenStaff>(), // Yharon Kindle Staff
ModContent.ItemType<YharonsKindleStaff>(), // Yharon Kindle Staff
ModContent.ItemType<ProfanedTrident>(), // Infernal Spear
ModContent.ItemType<FinalDawn>(),
};
+1 -1
View File
@@ -51,7 +51,7 @@ namespace CalamityMod.Projectiles.Magic
Projectile.damage = (int)Owner.GetTotalDamage<MagicDamageClass>().ApplyTo(weaponItem?.damage ?? 0);
// Get the original weapon's use time.
int itemUseTime = weaponItem?.useAnimation ?? Purge.UseTime;
int itemUseTime = weaponItem?.useAnimation ?? NanoPurge.UseTime;
// Update time.
DeployedFrames += 1f;
+1 -1
View File
@@ -65,7 +65,7 @@ namespace CalamityMod.Projectiles.Rogue
{
if (Main.rand.NextBool(2))
{
Item.NewItem(Projectile.GetSource_DropAsItem(), (int)Projectile.position.X, (int)Projectile.position.Y, Projectile.width, Projectile.height, ModContent.ItemType<XerocPitchfork>());
Item.NewItem(Projectile.GetSource_DropAsItem(), (int)Projectile.position.X, (int)Projectile.position.Y, Projectile.width, Projectile.height, ModContent.ItemType<ShardofAntumbra>());
}
}
+1 -1
View File
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Rogue
// The scythe runs its returning AI if the frame counter is greater than ReboundTime.
if (Projectile.ai[0] >= ReboundTime)
{
float returnSpeed = NanoblackReaperRogue.Speed;
float returnSpeed = NanoblackReaper.Speed;
float acceleration = 2.4f;
Player owner = Main.player[Projectile.owner];
+1 -1
View File
@@ -228,7 +228,7 @@ namespace CalamityMod.Projectiles.Summon
{
// Do much more damage during a ram than otherwise.
if (RamCountdown > 0f)
damage = (int)(damage * AngryChickenStaff.ReboundRamDamageFactor);
damage = (int)(damage * YharonsKindleStaff.ReboundRamDamageFactor);
}
public override bool? CanDamage() => Projectile.localAI[0] > 1f;
+2 -2
View File
@@ -34,8 +34,8 @@ namespace CalamityMod.Projectiles.Typeless
{
if (Projectile.timeLeft < 2)
{
Projectile.damage = AeroDynamite.Damage; // Like most explosives, not boosted by damage boosts
Projectile.knockBack = AeroDynamite.Knockback;
Projectile.damage = Skynamite.Damage; // Like most explosives, not boosted by damage boosts
Projectile.knockBack = Skynamite.Knockback;
}
if (Projectile.timeLeft % 4 == 0 && Projectile.timeLeft < 270)
@@ -310,7 +310,7 @@ namespace CalamityMod.UI.CalamitasEnchants
ItemUpgradeRelationship = new Dictionary<int, int>()
{
[ModContent.ItemType<TheCommunity>()] = ModContent.ItemType<ShatteredCommunity>(),
[ModContent.ItemType<BlightedEyeStaff>()] = ModContent.ItemType<CindersOfLament>(),
[ModContent.ItemType<EntropysVigil>()] = ModContent.ItemType<CindersOfLament>(),
[ModContent.ItemType<StaffoftheMechworm>()] = ModContent.ItemType<Metastasis>(),
[ModContent.ItemType<GhastlyVisage>()] = ModContent.ItemType<GruesomeEminence>(),
[ModContent.ItemType<BurningSea>()] = ModContent.ItemType<Rancor>()