Elemental weapon renames, EXCEPT Lance and Disk
Also made Legion of Celestia (Elemental Axe) minions destroy trees in GFB
No files matched your search
@@ -313,8 +313,8 @@ namespace CalamityMod.Balancing
|
||||
// 50% resist to Dazzling Stabber Staff.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.StormWeaverIDs, Do(new ProjectileResistBalancingRule(0.5f, ProjectileType<DazzlingStabber>()))));
|
||||
|
||||
// 50% resist to Elemental Axe.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.StormWeaverIDs, Do(new ProjectileResistBalancingRule(0.5f, ProjectileType<ElementalAxeMinion>()))));
|
||||
// 50% resist to Legion of Celestia.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.StormWeaverIDs, Do(new ProjectileResistBalancingRule(0.5f, ProjectileType<CelestialAxeMinion>()))));
|
||||
|
||||
// 50% resist to Pristine Fury's alt fire.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.StormWeaverIDs, Do(new ProjectileResistBalancingRule(0.5f, ProjectileType<PristineSecondary>()))));
|
||||
|
||||
@@ -5,7 +5,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs.Summon
|
||||
{
|
||||
public class ElementalAxeBuff : ModBuff
|
||||
public class LegionofCelestiaBuff : ModBuff
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.Summon
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
if (player.ownedProjectileCounts[ModContent.ProjectileType<ElementalAxeMinion>()] > 0)
|
||||
if (player.ownedProjectileCounts[ModContent.ProjectileType<CelestialAxeMinion>()] > 0)
|
||||
{
|
||||
modPlayer.eAxe = true;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 530 B After Width: | Height: | Size: 530 B |
@@ -446,7 +446,7 @@ namespace CalamityMod.CalPlayer
|
||||
ModContent.ItemType<SparkSpreader>(),
|
||||
ModContent.ItemType<HalleysInferno>(),
|
||||
ModContent.ItemType<CleansingBlaze>(),
|
||||
ModContent.ItemType<ElementalEruption>(),
|
||||
ModContent.ItemType<ChromaticEruption>(),
|
||||
ModContent.ItemType<DeadSunsWind>(),
|
||||
ModContent.ItemType<Meowthrower>(),
|
||||
ModContent.ItemType<OverloadedBlaster>(),
|
||||
|
||||
@@ -8,7 +8,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
public class AuguroftheElements : ModItem, ILocalizedModType
|
||||
[LegacyName("AuguroftheElements")]
|
||||
public class AuguroftheVoid : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
public override void SetDefaults()
|
||||
@@ -29,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Item.rare = ItemRarityID.Purple;
|
||||
Item.UseSound = SoundID.Item103;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<ElementTentacle>();
|
||||
Item.shoot = ModContent.ProjectileType<AugurTentacle>();
|
||||
Item.shootSpeed = 30f;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 939 B After Width: | Height: | Size: 939 B |
@@ -8,7 +8,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
public class ElementalRay : ModItem, ILocalizedModType
|
||||
[LegacyName("ElementalRay")]
|
||||
public class Nucleosynthesis : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
public override void SetStaticDefaults()
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -119,7 +119,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AuguroftheElements>().
|
||||
AddIngredient<AuguroftheVoid>().
|
||||
AddIngredient<EventHorizon>().
|
||||
AddIngredient<TearsofHeaven>().
|
||||
AddIngredient<MiracleMatter>().
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ElementalRay>().
|
||||
AddIngredient<Nucleosynthesis>().
|
||||
AddIngredient<PhantasmalFury>().
|
||||
AddIngredient<ShadowboltStaff>().
|
||||
AddIngredient<UltraLiquidator>().
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ElementalShiv>().
|
||||
AddIngredient<StarburstShiv>().
|
||||
AddIngredient<CosmiliteBar>(8).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
|
||||
@@ -6,8 +6,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
[LegacyName("ElementalShortsword")]
|
||||
public class ElementalShiv : ModItem, ILocalizedModType
|
||||
[LegacyName("ElementalShortsword", "ElementalShiv")]
|
||||
public class StarburstShiv : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.damage = 138;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useAnimation = Item.useTime = 13;
|
||||
Item.shoot = ModContent.ProjectileType<ElementalShivProj>();
|
||||
Item.shoot = ModContent.ProjectileType<StarburstShivProj>();
|
||||
Item.shootSpeed = 2.4f;
|
||||
Item.knockBack = 8.5f;
|
||||
Item.UseSound = SoundID.Item1;
|
||||
|
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 948 B |
@@ -8,7 +8,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
public class ElementalEruption : ModItem, ILocalizedModType
|
||||
[LegacyName("ElementalEruption")]
|
||||
public class ChromaticEruption : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
|
||||
@@ -31,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.value = CalamityGlobalItem.RarityPurpleBuyPrice;
|
||||
Item.rare = ItemRarityID.Purple;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<ElementalEruptionHoldout>();
|
||||
Item.shoot = ModContent.ProjectileType<ChromaticEruptionHoldout>();
|
||||
Item.shootSpeed = 9f;
|
||||
Item.useAmmo = AmmoID.Gel;
|
||||
Item.channel = true;
|
||||
@@ -48,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, ModContent.ProjectileType<ElementalEruptionHoldout>(), damage, knockback, player.whoAmI, 0, 1);
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, ModContent.ProjectileType<ChromaticEruptionHoldout>(), damage, knockback, player.whoAmI, 0, 1);
|
||||
holdout.velocity = player.Calamity().mouseWorld - player.RotatedRelativePoint(player.MountedCenter);
|
||||
return false;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -93,7 +93,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ElementalEruption>().
|
||||
AddIngredient<ChromaticEruption>().
|
||||
AddIngredient<HalleysInferno>().
|
||||
AddIngredient<DeadSunsWind>().
|
||||
AddIngredient<MiracleMatter>().
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<ElementalAxe>().
|
||||
AddIngredient<LegionofCelestia>().
|
||||
AddIngredient<EtherealSubjugator>().
|
||||
AddIngredient<Cosmilamp>().
|
||||
AddIngredient<CalamarisLament>().
|
||||
|
||||
@@ -8,7 +8,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Summon
|
||||
{
|
||||
public class ElementalAxe : ModItem, ILocalizedModType
|
||||
[LegacyName("ElementalAxe")]
|
||||
public class LegionofCelestia : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Summon";
|
||||
public override void SetDefaults()
|
||||
@@ -26,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
Item.rare = ItemRarityID.Purple;
|
||||
Item.UseSound = SoundID.Item44;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<ElementalAxeMinion>();
|
||||
Item.shoot = ModContent.ProjectileType<CelestialAxeMinion>();
|
||||
Item.shootSpeed = 10f;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -1160,9 +1160,9 @@ DemonshadeSetDevilBuff: {
|
||||
Description: The red devil will protect you
|
||||
}
|
||||
|
||||
ElementalAxeBuff: {
|
||||
DisplayName: Elemental Axe
|
||||
Description: The elemental axe will protect you
|
||||
LegionofCelestiaBuff: {
|
||||
DisplayName: Celestial Axe
|
||||
Description: If only it was this good at chopping trees...
|
||||
}
|
||||
|
||||
EndoCooperBuff: {
|
||||
|
||||
@@ -127,8 +127,8 @@ Atlantis: {
|
||||
TooltipGFBDoG: Take good care of my weapon, or else... -CIT
|
||||
}
|
||||
|
||||
AuguroftheElements: {
|
||||
DisplayName: Augur of the Elements
|
||||
AuguroftheVoid: {
|
||||
DisplayName: Augur of the Void
|
||||
Tooltip: Casts a burst of elemental tentacles to spear your enemies
|
||||
}
|
||||
|
||||
@@ -290,18 +290,6 @@ EldritchTome: {
|
||||
Tooltip: Casts eldritch tentacles to spear your enemies
|
||||
}
|
||||
|
||||
ElementalRay: {
|
||||
DisplayName: Elemental Ray
|
||||
Tooltip:
|
||||
'''
|
||||
Casts four celestial beams near the player
|
||||
Solar beams explode into fire on enemy hits
|
||||
Nebula beams sweep a little bit over time
|
||||
Vortex beams act like fast lightning and electrify enemies on hit
|
||||
Stardust beams release small stars that home on enemy hits
|
||||
'''
|
||||
}
|
||||
|
||||
Eternity: {
|
||||
DisplayName: Eternity
|
||||
// Color changes at the second line of tooltip via ModifyTooltips.
|
||||
@@ -578,6 +566,18 @@ NuclearFury: {
|
||||
Tooltip: Casts a torrent of cosmic typhoons
|
||||
}
|
||||
|
||||
Nucleosynthesis: {
|
||||
DisplayName: Nucleosynthesis
|
||||
Tooltip:
|
||||
'''
|
||||
Casts four celestial beams near the player
|
||||
Solar beams explode into fire on enemy hits
|
||||
Nebula beams sweep a little bit over time
|
||||
Vortex beams act like fast lightning and electrify enemies on hit
|
||||
Stardust beams release small stars that home on enemy hits
|
||||
'''
|
||||
}
|
||||
|
||||
Omicron: {
|
||||
DisplayName: Omicron
|
||||
Tooltip:
|
||||
|
||||
@@ -439,11 +439,6 @@ ElementalLance: {
|
||||
'''
|
||||
}
|
||||
|
||||
ElementalShiv: {
|
||||
DisplayName: Elemental Shiv
|
||||
Tooltip: Shoots a rainbow shiv that spawns additional shivs on hit
|
||||
}
|
||||
|
||||
EmpyreanKnives: {
|
||||
DisplayName: Empyrean Knives
|
||||
Tooltip: Throws a flurry of bouncing knives that can heal the user
|
||||
@@ -1127,6 +1122,11 @@ SpineOfThanatos: {
|
||||
'''
|
||||
}
|
||||
|
||||
StarburstShiv: {
|
||||
DisplayName: Starburst Shiv
|
||||
Tooltip: Shoots a rainbow shiv that spawns additional shivs on hit
|
||||
}
|
||||
|
||||
StarnightLance: {
|
||||
DisplayName: Starnight Lance
|
||||
Tooltip: Shoots a frigid starnight beam
|
||||
|
||||
@@ -246,6 +246,16 @@ ChickenCannon: {
|
||||
'''
|
||||
}
|
||||
|
||||
ChromaticEruption: {
|
||||
DisplayName: Chromatic Eruption
|
||||
Tooltip:
|
||||
'''
|
||||
Charges up to spew rainbow flames and pairs of homing chromatic flares
|
||||
Uses gel for ammo
|
||||
70% chance to save ammo
|
||||
'''
|
||||
}
|
||||
|
||||
ClamorRifle: {
|
||||
DisplayName: Clamor Rifle
|
||||
Tooltip: Converts musket balls into homing energy bolts
|
||||
@@ -455,16 +465,6 @@ DriftwoodBow: {
|
||||
Tooltip: This bow is stronger while you are wet
|
||||
}
|
||||
|
||||
ElementalEruption: {
|
||||
DisplayName: Elemental Eruption
|
||||
Tooltip:
|
||||
'''
|
||||
Charges up to spew rainbow flames and pairs of homing elemental flares
|
||||
Uses gel for ammo
|
||||
70% chance to save ammo
|
||||
'''
|
||||
}
|
||||
|
||||
EternalBlizzard: {
|
||||
DisplayName: Eternal Blizzard
|
||||
Tooltip: Fires an additional icicle arrow that freezes into a falling icicle
|
||||
|
||||
@@ -280,11 +280,6 @@ DreadmineStaff: {
|
||||
Tooltip: Summons a dreadmine turret to fight for you
|
||||
}
|
||||
|
||||
ElementalAxe: {
|
||||
DisplayName: Elemental Axe
|
||||
Tooltip: Summons an elemental axe to fight for you
|
||||
}
|
||||
|
||||
EnchantedConch: {
|
||||
DisplayName: Enchanted Conch
|
||||
Tooltip: Summons a hermit crab to fight for you
|
||||
@@ -483,6 +478,11 @@ KingofConstellationsTenryu: {
|
||||
'''
|
||||
}
|
||||
|
||||
LegionofCelestia: {
|
||||
DisplayName: Legion of Celestia
|
||||
Tooltip: Summons a possessed, celestial axe to fight for you
|
||||
}
|
||||
|
||||
LiliesOfFinality: {
|
||||
DisplayName: Lilies of Finality
|
||||
Tooltip:
|
||||
|
||||
@@ -19,6 +19,7 @@ AstralCrystal.DisplayName: Astral Crystal
|
||||
AstralCrystalInvisibleExplosion.DisplayName: Astral Crystal Invisible Explosion
|
||||
AstralStarMagic.DisplayName: Astral Star
|
||||
AtlantisSpear.DisplayName: Atlantis Spear
|
||||
AugurTentacle.DisplayName: Elemental Tentacle
|
||||
AuraRain.DisplayName: Aura Rain
|
||||
AuroraAustralis.DisplayName: Aurora Australis
|
||||
BeamingBolt.DisplayName: Beaming Bolt
|
||||
@@ -58,7 +59,6 @@ DivineRetributionSpear.DisplayName: Divine Retribution
|
||||
EelDrop.DisplayName: Acid Eel Drop
|
||||
EidolicWailSoundwave.DisplayName: Eidolic Wail
|
||||
EldritchTentacle.DisplayName: Eldritch Tentacle
|
||||
ElementTentacle.DisplayName: Elemental Tentacle
|
||||
EnormousConsumingVortex.DisplayName: Subsuming Vortex
|
||||
EternityCircle.DisplayName: Eternity
|
||||
EternityCrystal.DisplayName: Crystal
|
||||
|
||||
@@ -101,7 +101,6 @@ EarthBoom.DisplayName: Earth's Judgement
|
||||
EarthMeteor.DisplayName: Gaia Meteor
|
||||
ElementalGlassStar.DisplayName: Glass Star
|
||||
ElementBall.DisplayName: Elemental Ball
|
||||
ElementBallShiv.DisplayName: Shiv
|
||||
EmpyreanKnife.DisplayName: Empyrean Knife
|
||||
EntropicFlechette.DisplayName: Entropic Flechette
|
||||
EonBolt.DisplayName: Eon Bolt
|
||||
@@ -227,7 +226,6 @@ SanguineFuryWheel.DisplayName: Sanguine Bladewheel
|
||||
ScourgeoftheCosmosMini.DisplayName: Miniature Cosmic Scourge
|
||||
ScourgeoftheCosmosProj.DisplayName: Cosmic Scourge
|
||||
SeashineSwordProj.DisplayName: Seashine Beam
|
||||
SHIV.DisplayName: Shiv
|
||||
SolarNeedle.DisplayName: Solar Needle
|
||||
SolsticeBeam.DisplayName: Solstice Beam
|
||||
SoulScythe.DisplayName: Soul Scythe
|
||||
@@ -238,6 +236,8 @@ SpatialSpear2.DisplayName: Elemental Spear
|
||||
SpatialSpear3.DisplayName: Elemental Spear
|
||||
SpatialSpear4.DisplayName: Elemental Spear
|
||||
SpineOfThanatosProjectile.DisplayName: Spine of Thanatos
|
||||
StarburstBeam.DisplayName: Star Shiv
|
||||
StarburstSHIV.DisplayName: SHIV
|
||||
StarnightBeam.DisplayName: Starnight Beam
|
||||
StellarContemptBlast.DisplayName: Stellar Blast
|
||||
StellarContemptEcho.DisplayName: Echoes of Contempt
|
||||
|
||||
@@ -43,6 +43,8 @@ ChargedBlast.DisplayName: Blast
|
||||
ChargedBlastSplit.DisplayName: Charged Blast Split
|
||||
ChickenExplosion.DisplayName: Kentucky Fried Explosion
|
||||
ChickenRocket.DisplayName: Chicken Rocket
|
||||
ChromaticFire.DisplayName: Chromatic Fire
|
||||
ChromaticFlare.DisplayName: Chromatic Flare
|
||||
CinderArrowProj.DisplayName: Cinder Arrow
|
||||
ClamorRifleProj.DisplayName: Clamor Bolt
|
||||
ClamorRifleProjSplit.DisplayName: Clamor Bolt
|
||||
@@ -68,8 +70,6 @@ DrizzlefishFireSplit.DisplayName: Drizzlefish Flames
|
||||
DryadsTearMain.DisplayName: Dryad's Tear
|
||||
DryadsTearSplit.DisplayName: Dryad's Tear
|
||||
DWArrow.DisplayName: Death's Arrow
|
||||
ElementalFire.DisplayName: Elemental Fire
|
||||
ElementalFlare.DisplayName: Elemental Flare
|
||||
ElysianArrowProj.DisplayName: Elysian Arrow
|
||||
ElysianArrowRain.DisplayName: Elysian Light
|
||||
EmesisGore.DisplayName: Rotten Gore
|
||||
|
||||
@@ -56,6 +56,7 @@ Catastromini.DisplayName: Catastromini
|
||||
CatastropheSummon.DisplayName: Catastrophe
|
||||
CausticStaffProjectile.DisplayName: Thorn
|
||||
CausticStaffSummon.DisplayName: Caustic Dragon
|
||||
CelestialAxeMinion.DisplayName: Celestial Axe
|
||||
Cinder.DisplayName: Cinder
|
||||
CinderBlossom.DisplayName: Cinder Blossom
|
||||
CloudElementalMinion.DisplayName: Cloudy Waifu
|
||||
@@ -89,7 +90,6 @@ DormantBrimseekerBab.DisplayName: Dormant Brimseeker
|
||||
DormantBrimseekerSummoner.DisplayName: Dormant Brimseeker
|
||||
Dreadmine.DisplayName: Dreadmine
|
||||
DreadmineTurret.DisplayName: Dreadmine Turret
|
||||
ElementalAxeMinion.DisplayName: Elemental Axe
|
||||
EndoBeam.DisplayName: Endo Beam
|
||||
EndoCooperBody.DisplayName: Ascened Cooper
|
||||
EndoCooperLimbs.DisplayName: Ascened Cooper
|
||||
|
||||
@@ -1156,7 +1156,7 @@ namespace CalamityMod
|
||||
RegisterSummon(ItemType<WitherBlossomsStaff>(), BuffType<WitherBlossomsBuff>(), ProjectileType<WitherBlossom>());
|
||||
RegisterSummon(ItemType<StarspawnHelixStaff>(), BuffType<AstralProbeBuff>(), ProjectileType<AstralProbeSummon>());
|
||||
RegisterSummon(ItemType<TacticalPlagueEngine>(), BuffType<TacticalPlagueEngineBuff>(), ProjectileType<TacticalPlagueJet>());
|
||||
RegisterSummon(ItemType<ElementalAxe>(), BuffType<ElementalAxeBuff>(), ProjectileType<ElementalAxeMinion>());
|
||||
RegisterSummon(ItemType<LegionofCelestia>(), BuffType<LegionofCelestiaBuff>(), ProjectileType<CelestialAxeMinion>());
|
||||
RegisterSummon(ItemType<FlowersOfMortality>(), BuffType<FlowersOfMortalityBuff>(), ProjectileType<FlowersOfMortalityPetal>());
|
||||
RegisterSummon(ItemType<SnakeEyes>(), BuffType<SnakeEyesBuff>(), ProjectileType<SnakeEyesSummon>());
|
||||
RegisterSummon(ItemType<DazzlingStabberStaff>(), BuffType<DazzlingStabberBuff>(), ProjectileType<DazzlingStabber>());
|
||||
|
||||
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Projectiles.Magic
|
||||
{
|
||||
public class ElementTentacle : ModProjectile, ILocalizedModType
|
||||
public class AugurTentacle : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Magic";
|
||||
public override string Texture => "CalamityMod/Projectiles/InvisibleProj";
|
||||
@@ -10,10 +10,10 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Melee.Shortswords
|
||||
{
|
||||
public class ElementalShivProj : BaseShortswordProjectile
|
||||
public class StarburstShivProj : BaseShortswordProjectile
|
||||
{
|
||||
public override LocalizedText DisplayName => CalamityUtils.GetItemName<ElementalShiv>();
|
||||
public override string Texture => "CalamityMod/Items/Weapons/Melee/ElementalShiv";
|
||||
public override LocalizedText DisplayName => CalamityUtils.GetItemName<StarburstShiv>();
|
||||
public override string Texture => "CalamityMod/Items/Weapons/Melee/StarburstShiv";
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Projectiles.Melee.Shortswords
|
||||
|
||||
public override Action<Projectile> EffectBeforePullback => (proj) =>
|
||||
{
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Projectile.velocity * 14f, ModContent.ProjectileType<ElementBallShiv>(), (int)(Projectile.damage * 0.5), Projectile.knockBack, Projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Projectile.velocity * 14f, ModContent.ProjectileType<StarburstBeam>(), (int)(Projectile.damage * 0.5), Projectile.knockBack, Projectile.owner, 0f, 0f);
|
||||
};
|
||||
|
||||
public override void SetVisualOffsets()
|
||||
@@ -6,7 +6,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
public class ElementBallShiv : ModProjectile, ILocalizedModType
|
||||
public class StarburstBeam : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Melee";
|
||||
public override void SetDefaults()
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
if (Projectile.owner == Main.myPlayer)
|
||||
{
|
||||
CalamityUtils.ProjectileBarrage(source, Projectile.Center, targetPos, x > 2, 800f, 800f, 0f, 800f, 20f, ModContent.ProjectileType<SHIV>(), Projectile.damage, Projectile.knockBack, Projectile.owner, false, 50f);
|
||||
CalamityUtils.ProjectileBarrage(source, Projectile.Center, targetPos, x > 2, 800f, 800f, 0f, 800f, 20f, ModContent.ProjectileType<StarburstSHIV>(), Projectile.damage, Projectile.knockBack, Projectile.owner, false, 50f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
@@ -4,7 +4,7 @@ using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
public class SHIV : ModProjectile, ILocalizedModType
|
||||
public class StarburstSHIV : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Melee";
|
||||
public override void SetStaticDefaults()
|
||||
|
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
@@ -10,9 +10,9 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
public class ElementalEruptionHoldout : BaseGunHoldoutProjectile
|
||||
public class ChromaticEruptionHoldout : BaseGunHoldoutProjectile
|
||||
{
|
||||
public override int AssociatedItemID => ModContent.ItemType<ElementalEruption>();
|
||||
public override int AssociatedItemID => ModContent.ItemType<ChromaticEruption>();
|
||||
public override float MaxOffsetLengthFromArm => 15f;
|
||||
public override float OffsetXUpwards => -10f;
|
||||
public override float BaseOffsetY => -5f;
|
||||
@@ -49,7 +49,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Owner.PickAmmo(Owner.ActiveItem(), out _, out float shootSpeed, out int damage, out float knockback, out _, Main.rand.NextFloat() < 0.70f);
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), GunTipPosition, (Projectile.velocity * 10).RotatedByRandom(0.12f), ModContent.ProjectileType<ElementalFire>(), damage, knockback, Projectile.owner);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), GunTipPosition, (Projectile.velocity * 10).RotatedByRandom(0.12f), ModContent.ProjectileType<ChromaticFire>(), damage, knockback, Projectile.owner);
|
||||
}
|
||||
ShotsFired++;
|
||||
ShotCooldown = HeldItem.useTime;
|
||||
@@ -57,8 +57,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
Vector2 newVel = (Projectile.velocity * 9);
|
||||
Vector2 newPos = GunTipPosition + Projectile.velocity.SafeNormalize(Vector2.UnitX) * 36f;
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), newPos, newVel, ModContent.ProjectileType<ElementalFlare>(), damage, knockback, Projectile.owner, newVel.Length(), -1f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), newPos, newVel, ModContent.ProjectileType<ElementalFlare>(), damage, knockback, Projectile.owner, newVel.Length(), 1f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), newPos, newVel, ModContent.ProjectileType<ChromaticFlare>(), damage, knockback, Projectile.owner, newVel.Length(), -1f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), newPos, newVel, ModContent.ProjectileType<ChromaticFlare>(), damage, knockback, Projectile.owner, newVel.Length(), 1f);
|
||||
FireBlobs = 3;
|
||||
}
|
||||
else
|
||||
@@ -8,7 +8,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
public class ElementalFire : ModProjectile, ILocalizedModType
|
||||
public class ChromaticFire : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Ranged";
|
||||
public override string Texture => "CalamityMod/Projectiles/InvisibleProj";
|
||||
@@ -10,7 +10,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
public class ElementalFlare : ModProjectile, ILocalizedModType
|
||||
public class ChromaticFlare : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Ranged";
|
||||
public override string Texture => "CalamityMod/ExtraTextures/SmallGreyscaleCircle";
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.Summon;
|
||||
using CalamityMod.CalPlayer;
|
||||
using CalamityMod.Projectiles.Melee;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
@@ -9,7 +10,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Summon
|
||||
{
|
||||
public class ElementalAxeMinion : ModProjectile, ILocalizedModType
|
||||
public class CelestialAxeMinion : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Summon";
|
||||
public override void SetStaticDefaults()
|
||||
@@ -41,8 +42,8 @@ namespace CalamityMod.Projectiles.Summon
|
||||
{
|
||||
Player player = Main.player[Projectile.owner];
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
bool isMinion = Projectile.type == ModContent.ProjectileType<ElementalAxeMinion>();
|
||||
player.AddBuff(ModContent.BuffType<ElementalAxeBuff>(), 3600);
|
||||
bool isMinion = Projectile.type == ModContent.ProjectileType<CelestialAxeMinion>();
|
||||
player.AddBuff(ModContent.BuffType<LegionofCelestiaBuff>(), 3600);
|
||||
if (isMinion)
|
||||
{
|
||||
if (player.dead)
|
||||
@@ -57,6 +58,14 @@ namespace CalamityMod.Projectiles.Summon
|
||||
Projectile.rotation += 0.075f;
|
||||
|
||||
Projectile.ChargingMinionAI(1600f, 1800f, 2500f, 400f, 1, 30f, 24f, 12f, new Vector2(0f, -60f), 30f, 16f, true, true);
|
||||
|
||||
// Destroy trees in GFB, because it's an axe, and axes should do that
|
||||
if (Main.zenithWorld)
|
||||
{
|
||||
Point pointToCheck = (Projectile.position + Projectile.Size * 0.5f).ToTileCoordinates();
|
||||
var prismTooth = new PrismTooth(); // Grrrr CS0120
|
||||
prismTooth.AbsolutelyFuckingAnnihilateTrees(pointToCheck.X, pointToCheck.Y);
|
||||
}
|
||||
}
|
||||
|
||||
public override Color? GetAlpha(Color lightColor)
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |