Renamed magic weapons

This commit is contained in:
Ozzatron committed 2022-06-11 15:16:30 -04:00
1 parent 718f172115
commit 202dcf4869
39 files changed
+45 -35

No files matched your search

+1 -1
View File
@@ -1742,7 +1742,7 @@ namespace CalamityMod
ItemType<Greentide>(),
ItemType<Leviatitan>(),
ItemType<Atlantis>(),
ItemType<SirensSong>(),
ItemType<AnahitasArpeggio>(),
ItemType<BrackishFlask>(),
ItemType<LeviathanTeeth>(),
ItemType<GastricBelcherStaff>(),
+3 -3
View File
@@ -95,10 +95,10 @@ namespace CalamityMod.Items
#region Uniquely Colored Developer Items
if (item.type == ModContent.ItemType<Fabstaff>())
nameLine.OverrideColor = new Color(Main.DiscoR, 100, 255);
if (item.type == ModContent.ItemType<BlushieStaff>())
if (item.type == ModContent.ItemType<StaffofBlushie>())
nameLine.OverrideColor = new Color(0, 0, 255);
if (item.type == ModContent.ItemType<Judgement>())
nameLine.OverrideColor = Judgement.GetSyncedLightColor();
if (item.type == ModContent.ItemType<TheDanceofLight>())
nameLine.OverrideColor = TheDanceofLight.GetSyncedLightColor();
if (item.type == ModContent.ItemType<NanoblackReaperRogue>())
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>())
+1 -1
View File
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.TreasureBags
DropHelper.DropEntireWeightedSet(s, player,
DropHelper.WeightStack<TheEyeofCalamitas>(w),
DropHelper.WeightStack<Animosity>(w),
DropHelper.WeightStack<CalamitasInferno>(w),
DropHelper.WeightStack<LashesofChaos>(w),
DropHelper.WeightStack<BlightedEyeStaff>(w),
DropHelper.WeightStack<ChaosStone>(w)
);
+1 -1
View File
@@ -58,7 +58,7 @@ namespace CalamityMod.Items.TreasureBags
DropHelper.DropEntireWeightedSet(s, player,
DropHelper.WeightStack<Greentide>(w),
DropHelper.WeightStack<Leviatitan>(w),
DropHelper.WeightStack<SirensSong>(w),
DropHelper.WeightStack<AnahitasArpeggio>(w),
DropHelper.WeightStack<Atlantis>(w),
DropHelper.WeightStack<GastricBelcherStaff>(w),
DropHelper.WeightStack<BrackishFlask>(w),
+1 -1
View File
@@ -62,7 +62,7 @@ namespace CalamityMod.Items.TreasureBags
DropHelper.WeightStack<Violence>(w),
DropHelper.WeightStack<Condemnation>(w),
DropHelper.WeightStack<Heresy>(w),
DropHelper.WeightStack<Vehemenc>(w),
DropHelper.WeightStack<Vehemence>(w),
DropHelper.WeightStack<Perdition>(w),
DropHelper.WeightStack<Vigilance>(w),
DropHelper.WeightStack<Sacrifice>(w)
@@ -9,7 +9,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class T1000 : ModItem
[LegacyName("T1000")]
public class AetherfluxCannon : ModItem
{
public const int UseTime = 36;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

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

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 631 B

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

Before

Width:  |  Height:  |  Size: 970 B

After

Width:  |  Height:  |  Size: 970 B

+1 -1
View File
@@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Magic
CreateRecipe().
AddIngredient<SeethingDischarge>().
AddIngredient<SlitheringEels>().
AddIngredient<GammaFusillade>().
AddIngredient<Biofusillade>().
AddIngredient<PrimordialAncient>().
AddIngredient<Heresy>().
AddIngredient<DarkPlasma>(20).
+1 -1
View File
@@ -93,7 +93,7 @@ namespace CalamityMod.Items.Weapons.Magic
CreateRecipe().
AddIngredient(ItemID.TheAxe).
AddIngredient(ItemID.MagicalHarp).
AddIngredient<SirensSong>().
AddIngredient<AnahitasArpeggio>().
AddIngredient<CosmiliteBar>(8).
AddIngredient<NightmareFuel>(20).
AddTile<CosmicAnvil>().
+1 -1
View File
@@ -99,7 +99,7 @@ namespace CalamityMod.Items.Weapons.Magic
{
CreateRecipe().
AddIngredient<VenusianTrident>().
AddIngredient<CalamitasInferno>().
AddIngredient<LashesofChaos>().
AddIngredient<ForbiddenSun>().
AddIngredient(ItemID.FragmentSolar, 20).
AddIngredient(ItemID.FragmentNebula, 5).
@@ -5,7 +5,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class CalamitasInferno : ModItem
[LegacyName("CalamitasInferno")]
public class LashesofChaos : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 823 B

After

Width:  |  Height:  |  Size: 823 B

+1 -1
View File
@@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Magic
{
CreateRecipe(1).
AddIngredient(ItemID.HeatRay).
AddIngredient<Zapper>().
AddIngredient<Lazinator>().
AddIngredient(ItemID.FragmentSolar, 10).
AddIngredient(ItemID.ChlorophyteBar, 6).
AddTile(TileID.LunarCraftingStation).
@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class Zapper : ModItem
[LegacyName("Zapper")]
public class Lazinator : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

+1 -1
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<DeathValley>().
AddIngredient<DeathValleyDuster>().
AddIngredient(ItemID.AncientBattleArmorMaterial, 3).
AddIngredient(ItemID.MeteoriteBar, 5).
AddIngredient(ItemID.Ectoplasm, 5).
@@ -6,7 +6,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class BlushieStaff : ModItem
[LegacyName("BlushieStaff")]
public class StaffofBlushie : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 752 B

After

Width:  |  Height:  |  Size: 752 B

@@ -10,7 +10,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class Judgement : ModItem
[LegacyName("Judgement", "Judgment")]
public class TheDanceofLight : ModItem
{
public const int HitsPerFlash = 300;
public const int FlashBaseDamage = 16000;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 876 B

After

Width:  |  Height:  |  Size: 876 B

@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class Vehemenc : ModItem
[LegacyName("Vehemenc")]
public class Vehemence : ModItem
{
public const int BaseDamage = 5185;
public const float SkullRatio = 0.08f;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 906 B

After

Width:  |  Height:  |  Size: 906 B

+1 -1
View File
@@ -69,7 +69,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<Climax>().
AddIngredient<VoltaicClimax>().
AddIngredient<AuricBar>(5).
AddTile<CosmicAnvil>().
Register();
@@ -9,7 +9,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Magic
{
public class Climax : ModItem
[LegacyName("Climax")]
public class VoltaicClimax : ModItem
{
public const int OrbFireRate = 10;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

+3 -3
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<CalamitasInferno>(), ItemType<TheEyeofCalamitas>(), 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<TheEyeofCalamitas>(), ItemType<BlightedEyeStaff>(), 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));
@@ -402,7 +402,7 @@ namespace CalamityMod
{
BossDifficulty.TryGetValue("Leviathan", out float order);
List<int> bosses = new List<int>() { NPCType<Leviathan>(), NPCType<Siren>() };
List<int> loot = new List<int>() { ItemType<LeviathanBag>(), ItemType<Greentide>(), ItemType<Leviatitan>(), ItemType<SirensSong>(), ItemType<Atlantis>(), ItemType<GastricBelcherStaff>(), ItemType<BrackishFlask>(), ItemType<LeviathanTeeth>(), ItemType<LureofEnthrallment>(), ItemType<LeviathanAmbergris>(), ItemType<TheCommunity>(), ItemID.HotlineFishingHook, ItemID.BottomlessBucket, ItemID.SuperAbsorbantSponge, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GreaterHealingPotion };
List<int> loot = new List<int>() { ItemType<LeviathanBag>(), ItemType<Greentide>(), ItemType<Leviatitan>(), ItemType<AnahitasArpeggio>(), ItemType<Atlantis>(), ItemType<GastricBelcherStaff>(), ItemType<BrackishFlask>(), ItemType<LeviathanTeeth>(), ItemType<LureofEnthrallment>(), ItemType<LeviathanAmbergris>(), ItemType<TheCommunity>(), ItemID.HotlineFishingHook, ItemID.BottomlessBucket, ItemID.SuperAbsorbantSponge, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GreaterHealingPotion };
List<int> collection = new List<int>() { ItemType<LeviathanTrophy>(), ItemType<AnahitaTrophy>(), ItemType<LeviathanMask>(), ItemType<AnahitaMask>(), ItemType<KnowledgeOcean>(), ItemType<KnowledgeLeviathanAnahita>() };
string instructions = "By killing an unknown entity in the Ocean Biome";
string despawn = CalamityUtils.ColorMessage("The aquatic entities sink back beneath the ocean depths.", new Color(0x7F, 0xFF, 0xD4));
@@ -614,7 +614,7 @@ namespace CalamityMod
int summon2 = ItemType<CeremonialUrn>();
int altar = ItemType<AltarOfTheAccursedItem>();
List<int> summons = new List<int>() { summon1, summon2 };
List<int> loot = new List<int>() { ItemType<SupremeCalamitasCoffer>(), ItemType<AshesofAnnihilation>(), ItemType<Vehemenc>(), ItemType<Heresy>(), ItemType<Perdition>(), ItemType<Vigilance>(), ItemType<Sacrifice>(), ItemType<Violence>(), ItemType<Condemnation>(), ItemType<GaelsGreatsword>(), ItemType<OmegaHealingPotion>() };
List<int> loot = new List<int>() { ItemType<SupremeCalamitasCoffer>(), ItemType<AshesofAnnihilation>(), ItemType<Vehemence>(), ItemType<Heresy>(), ItemType<Perdition>(), ItemType<Vigilance>(), ItemType<Sacrifice>(), ItemType<Violence>(), ItemType<Condemnation>(), ItemType<GaelsGreatsword>(), ItemType<OmegaHealingPotion>() };
List<int> collection = new List<int>() { ItemType<SupremeCalamitasTrophy>(), ItemType<SupremeCataclysmTrophy>(), ItemType<SupremeCatastropheTrophy>(), ItemType<AshenHorns>(), ItemType<SCalMask>(), ItemType<SCalRobes>(), ItemType<SCalBoots>(), ItemType<KnowledgeCalamitas>(), ItemType<BrimstoneJewel>(), ItemType<Levi>() };
string instructions = $"Use [i:{summon1}] or a [i:{summon2}] as offering at an [i:{altar}]";
string despawn = CalamityUtils.ColorMessage("Please don't waste my time.", new Color(0xFF, 0xA5, 0x00));
+1 -1
View File
@@ -199,7 +199,7 @@ namespace CalamityMod.NPCs.Calamitas
{
ModContent.ItemType<TheEyeofCalamitas>(),
ModContent.ItemType<Animosity>(),
ModContent.ItemType<CalamitasInferno>(),
ModContent.ItemType<LashesofChaos>(),
ModContent.ItemType<BlightedEyeStaff>(),
ModContent.ItemType<ChaosStone>(),
};
+1 -1
View File
@@ -755,7 +755,7 @@ namespace CalamityMod.NPCs.Leviathan
{
ModContent.ItemType<Greentide>(),
ModContent.ItemType<Leviatitan>(),
ModContent.ItemType<SirensSong>(),
ModContent.ItemType<AnahitasArpeggio>(),
ModContent.ItemType<Atlantis>(),
ModContent.ItemType<GastricBelcherStaff>(),
ModContent.ItemType<BrackishFlask>(),
+1 -1
View File
@@ -2510,7 +2510,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas
ModContent.ItemType<Violence>(),
ModContent.ItemType<Condemnation>(),
ModContent.ItemType<Heresy>(),
ModContent.ItemType<Vehemenc>(),
ModContent.ItemType<Vehemence>(),
ModContent.ItemType<Perdition>(),
ModContent.ItemType<Vigilance>(),
ModContent.ItemType<Sacrifice>(),
+1 -1
View File
@@ -59,7 +59,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 ?? T1000.UseTime;
int itemUseTime = weaponItem?.useAnimation ?? AetherfluxCannon.UseTime;
// 36, base use time, will result in 5. Speed increasing reforges push it to 4.
int framesPerShot = itemUseTime / 7;
+1 -1
View File
@@ -53,7 +53,7 @@ namespace CalamityMod.Projectiles.Magic
// but once it's past that then it can fire constantly
--Projectile.ai[0];
if (Projectile.ai[0] < 0f)
CalamityGlobalProjectile.MagnetSphereHitscan(Projectile, 400f, 8f, Climax.OrbFireRate, 2, ModContent.ProjectileType<ClimaxBeam>(), 1D, true);
CalamityGlobalProjectile.MagnetSphereHitscan(Projectile, 400f, 8f, VoltaicClimax.OrbFireRate, 2, ModContent.ProjectileType<ClimaxBeam>(), 1D, true);
}
public override Color? GetAlpha(Color lightColor)
+3 -3
View File
@@ -88,7 +88,7 @@ namespace CalamityMod.Projectiles.Magic
{
// Pick a random sword sprite and a random color to use.
Projectile.frame = Main.rand.Next(14);
lightColor = Judgement.GetRandomLightColor();
lightColor = TheDanceofLight.GetRandomLightColor();
// Spawn starting dust.
Vector2 baseOffsetVec = new Vector2(1f, 4f);
@@ -115,12 +115,12 @@ namespace CalamityMod.Projectiles.Magic
Player player = Main.player[Projectile.owner];
CalamityPlayer calPlayer = player.Calamity();
calPlayer.danceOfLightCharge++;
if (calPlayer.danceOfLightCharge >= Judgement.HitsPerFlash)
if (calPlayer.danceOfLightCharge >= TheDanceofLight.HitsPerFlash)
{
calPlayer.danceOfLightCharge = 0;
if (Projectile.owner == Main.myPlayer)
{
int flashDamage = (int)player.GetTotalDamage<MagicDamageClass>().ApplyTo(Judgement.FlashBaseDamage);
int flashDamage = (int)player.GetTotalDamage<MagicDamageClass>().ApplyTo(TheDanceofLight.FlashBaseDamage);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType<BlindingLight>(), flashDamage, 0f, Projectile.owner);
}
}
+1 -1
View File
@@ -85,7 +85,7 @@ namespace CalamityMod.Projectiles.Magic
if (Main.myPlayer == Projectile.owner)
{
int skullID = ModContent.ProjectileType<VehemenceSkull>();
int damage = (int)(Projectile.damage * Vehemenc.SkullRatio);
int damage = (int)(Projectile.damage * Items.Weapons.Magic.Vehemence.SkullRatio);
for (int i = 0; i < 18; i++)
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Main.rand.NextVector2Circular(12f, 12f), skullID, damage, Projectile.knockBack, Projectile.owner);
}