Merge pull request #415 from CalamityTeam/more-last-minute-changes
This commit is contained in:
29 files changed
+50
-31
No files matched your search
+6
-2
@@ -1085,7 +1085,8 @@ namespace CalamityMod
|
||||
ItemType<StarnightLance>(),
|
||||
ItemType<DarkechoGreatbow>(),
|
||||
ItemType<ShadecrystalTome>(),
|
||||
ItemType<CrystalPiercer>()
|
||||
ItemType<CrystalPiercer>(),
|
||||
ItemType<DaedalusGolemStaff>()
|
||||
};
|
||||
|
||||
natureWeaponList = new List<int>()
|
||||
@@ -1199,6 +1200,7 @@ namespace CalamityMod
|
||||
ItemType<SandDollar>(),
|
||||
ItemType<MagicalConch>(),
|
||||
ItemType<SnapClam>(),
|
||||
ItemType<PolypLauncher>(),
|
||||
ItemType<GacruxianMollusk>(),
|
||||
ItemType<PolarisParrotfish>(),
|
||||
ItemType<SparklingEmpress>(),
|
||||
@@ -1210,11 +1212,13 @@ namespace CalamityMod
|
||||
ItemType<TerraDisk>(),
|
||||
ItemType<BelladonnaSpiritStaff>(),
|
||||
ItemType<TenebreusTides>(),
|
||||
ItemType<ViralSprout>(),
|
||||
ItemType<Greentide>(),
|
||||
ItemType<Leviatitan>(),
|
||||
ItemType<BrackishFlask>(),
|
||||
ItemType<LeviathanTeeth>(),
|
||||
ItemType<GastricBelcherStaff>()
|
||||
ItemType<GastricBelcherStaff>(),
|
||||
ItemType<ViridVanguard>()
|
||||
};
|
||||
|
||||
alcoholList = new List<int>()
|
||||
|
||||
@@ -18,7 +18,8 @@ namespace CalamityMod.Items.Armor
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Auric Tesla Space Helmet");
|
||||
Tooltip.SetDefault("Not moving boosts all damage and critical strike chance");
|
||||
Tooltip.SetDefault("15% increased minion damage\n" +
|
||||
"Not moving boosts all damage and critical strike chance");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -45,7 +46,7 @@ namespace CalamityMod.Items.Armor
|
||||
player.setBonus = "Summoner Tarragon, Bloodflare and Silva armor effects\n" +
|
||||
"All projectiles spawn healing auric orbs on enemy hits\n" +
|
||||
"Max run speed and acceleration boosted by 5%\n" +
|
||||
"+6 max minions and 90% increased minion damage";
|
||||
"+6 max minions and 75% increased minion damage";
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.tarraSet = true;
|
||||
modPlayer.tarraSummon = true;
|
||||
@@ -58,7 +59,7 @@ namespace CalamityMod.Items.Armor
|
||||
player.lavaMax += 240;
|
||||
player.ignoreWater = true;
|
||||
player.crimsonRegen = true;
|
||||
player.minionDamage += 0.9f;
|
||||
player.minionDamage += 0.75f;
|
||||
player.maxMinions += 6;
|
||||
if (player.lavaWet)
|
||||
{
|
||||
@@ -82,6 +83,7 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.auricBoost = true;
|
||||
player.minionDamage += 0.15f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.Armor
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Bloodflare Wyvern Helm");
|
||||
Tooltip.SetDefault("You can move freely through liquids and have temporary immunity to lava");
|
||||
Tooltip.SetDefault("You can move freely through liquids and have temporary immunity to lava\n" +
|
||||
"5% increased minion damage");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -32,7 +33,7 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
foreach (TooltipLine line2 in list)
|
||||
{
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip0")
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip1")
|
||||
{
|
||||
line2.text = "You can move freely through liquids and have temporary immunity to lava\n" +
|
||||
"Provides heat protection in Death Mode";
|
||||
@@ -56,7 +57,7 @@ namespace CalamityMod.Items.Armor
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.bloodflareSet = true;
|
||||
modPlayer.bloodflareSummon = true;
|
||||
player.setBonus = "55% increased minion damage and +3 max minions\n" +
|
||||
player.setBonus = "50% increased minion damage and +3 max minions\n" +
|
||||
"Greatly increases life regen\n" +
|
||||
"Enemies below 50% life drop a heart when struck\n" +
|
||||
"This effect has a 5 second cooldown\n" +
|
||||
@@ -65,7 +66,7 @@ namespace CalamityMod.Items.Armor
|
||||
"At 90% life and above you gain 10% increased minion damage\n" +
|
||||
"At 50% life and below you gain 20 defense and 2 life regen";
|
||||
player.crimsonRegen = true;
|
||||
player.minionDamage += 0.55f;
|
||||
player.minionDamage += 0.5f;
|
||||
player.maxMinions += 3;
|
||||
}
|
||||
|
||||
@@ -73,6 +74,7 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
player.lavaMax += 240;
|
||||
player.ignoreWater = true;
|
||||
player.minionDamage += 0.05f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace CalamityMod.Items.Armor
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Silva Horned Hood");
|
||||
Tooltip.SetDefault("10% increased minion damage");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -43,7 +44,7 @@ namespace CalamityMod.Items.Armor
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.silvaSet = true;
|
||||
modPlayer.silvaSummon = true;
|
||||
player.setBonus = "75% increased minion damage and +5 max minions\n" +
|
||||
player.setBonus = "65% increased minion damage and +5 max minions\n" +
|
||||
"All projectiles spawn healing leaf orbs on enemy hits\n" +
|
||||
"Max run speed and acceleration boosted by 5%\n" +
|
||||
"If you are reduced to 1 HP you will not die from any further damage for 8 seconds\n" +
|
||||
@@ -60,10 +61,12 @@ namespace CalamityMod.Items.Armor
|
||||
Projectile.NewProjectile(player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType<SilvaCrystal>(), (int)(600f * player.MinionDamage()), 0f, Main.myPlayer, -20f, 0f);
|
||||
}
|
||||
}
|
||||
player.minionDamage += 0.75f;
|
||||
player.minionDamage += 0.65f;
|
||||
player.maxMinions += 5;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player) => player.minionDamage += 0.1f;
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
|
||||
@@ -43,6 +43,10 @@ namespace CalamityMod.Items
|
||||
|
||||
switch (itemID)
|
||||
{
|
||||
case ItemID.EyeOfCthulhuBossBag:
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<DeathstareRod>(), DropHelper.BagWeaponDropRateFloat);
|
||||
break;
|
||||
|
||||
case ItemID.QueenBeeBossBag:
|
||||
// Drop weapons Calamity style instead of mutually exclusive.
|
||||
int[] queenBeeWeapons = new int[]
|
||||
@@ -106,8 +110,7 @@ namespace CalamityMod.Items
|
||||
ItemID.VenusMagnum,
|
||||
ItemID.LeafBlower,
|
||||
ItemID.NettleBurst,
|
||||
ItemID.WaspGun,
|
||||
ItemID.PygmyStaff
|
||||
ItemID.WaspGun
|
||||
};
|
||||
DropHelper.DropEntireSet(player, DropHelper.BagWeaponDropRateFloat, planteraWeapons);
|
||||
DropHelper.BlockDrops(planteraWeapons);
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.useTime = item.useAnimation = 14;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.noMelee = true;
|
||||
item.autoReuse = true;
|
||||
item.knockBack = 4f;
|
||||
item.UseSound = SoundID.NPCDeath13;
|
||||
item.shoot = ModContent.ProjectileType<OldDukeHeadCorpse>();
|
||||
|
||||
@@ -27,7 +27,6 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.value = Item.buyPrice(0, 4, 0, 0);
|
||||
item.rare = ItemRarityID.Orange;
|
||||
item.UseSound = SoundID.Item34;
|
||||
item.autoReuse = true;
|
||||
item.shoot = ModContent.ProjectileType<CinderBlossom>();
|
||||
item.shootSpeed = 10f;
|
||||
item.summon = true;
|
||||
|
||||
@@ -26,6 +26,7 @@ Fire rate and range increase the longer it targets an enemy");
|
||||
item.useTime = item.useAnimation = 25;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.noMelee = true;
|
||||
item.autoReuse = true;
|
||||
item.knockBack = 4f;
|
||||
|
||||
item.value = CalamityGlobalItem.Rarity6BuyPrice;
|
||||
|
||||
@@ -30,7 +30,6 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.value = CalamityGlobalItem.Rarity11BuyPrice;
|
||||
item.rare = ItemRarityID.Purple;
|
||||
item.UseSound = SoundID.Item44;
|
||||
item.autoReuse = true;
|
||||
item.shoot = ModContent.ProjectileType<FlowersOfMortalityPetal>();
|
||||
item.shootSpeed = 10f;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,6 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.value = Item.buyPrice(0, 1, 0, 0);
|
||||
item.rare = ItemRarityID.Blue;
|
||||
item.UseSound = SoundID.Item28;
|
||||
item.autoReuse = true;
|
||||
item.shoot = ModContent.ProjectileType<FrostBlossom>();
|
||||
item.shootSpeed = 10f;
|
||||
item.summon = true;
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.mana = 10;
|
||||
item.summon = true;
|
||||
item.sentry = true;
|
||||
item.autoReuse = true;
|
||||
item.width = 46;
|
||||
item.height = 50;
|
||||
item.useTime = item.useAnimation = 20;
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.summon = true;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[item.shoot] <= 0;
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.summon = true;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[item.shoot] <= 0;
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
|
||||
@@ -28,7 +28,6 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.value = CalamityGlobalItem.Rarity5BuyPrice;
|
||||
item.rare = ItemRarityID.Pink;
|
||||
item.UseSound = SoundID.Item46;
|
||||
item.autoReuse = true;
|
||||
item.shoot = ModContent.ProjectileType<TundraFlameBlossom>();
|
||||
item.shootSpeed = 10f;
|
||||
item.summon = true;
|
||||
|
||||
@@ -29,7 +29,6 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.value = CalamityGlobalItem.Rarity8BuyPrice;
|
||||
item.rare = ItemRarityID.Yellow;
|
||||
item.UseSound = SoundID.Item46;
|
||||
item.autoReuse = true;
|
||||
item.shoot = ModContent.ProjectileType<WitherBlossom>();
|
||||
item.shootSpeed = 10f;
|
||||
item.summon = true;
|
||||
|
||||
@@ -674,7 +674,7 @@ namespace CalamityMod
|
||||
|
||||
// Eye of Cthulhu
|
||||
AddLoot(bossChecklist, "EyeofCthulhu",
|
||||
new List<int>() { ItemType<TeardropCleaver>(), ItemType<CounterScarf>() },
|
||||
new List<int>() { ItemType<DeathstareRod>(), ItemType<TeardropCleaver>(), ItemType<CounterScarf>() },
|
||||
new List<int>() { ItemType<KnowledgeEyeofCthulhu>() }
|
||||
);
|
||||
|
||||
|
||||
@@ -103,6 +103,7 @@ namespace CalamityMod.NPCs
|
||||
// Legendary drops for Eye of Cthulhu
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<TeardropCleaver>(), true, CalamityWorld.malice);
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<CounterScarf>(), true, CalamityWorld.malice);
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<DeathstareRod>(), !Main.expertMode, DropHelper.NormalWeaponDropRateFloat, 1, 1);
|
||||
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeEyeofCthulhu>(), true, !NPC.downedBoss1);
|
||||
CalamityGlobalTownNPC.SetNewShopVariable(new int[] { NPCID.Merchant, NPCID.Dryad, NPCID.Demolitionist }, NPC.downedBoss1);
|
||||
@@ -295,8 +296,7 @@ namespace CalamityMod.NPCs
|
||||
ItemID.VenusMagnum,
|
||||
ItemID.LeafBlower,
|
||||
ItemID.NettleBurst,
|
||||
ItemID.WaspGun,
|
||||
ItemID.PygmyStaff
|
||||
ItemID.WaspGun
|
||||
};
|
||||
DropHelper.DropEntireSet(npc, DropHelper.NormalWeaponDropRateFloat, planteraWeapons);
|
||||
DropHelper.BlockDrops(planteraWeapons);
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
{
|
||||
projectile.width = 4;
|
||||
projectile.height = 4;
|
||||
projectile.extraUpdates = 100;
|
||||
projectile.extraUpdates = 200;
|
||||
projectile.friendly = true;
|
||||
projectile.timeLeft = 45;
|
||||
projectile.minion = true;
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
CalamityGlobalProjectile.MagnetSphereHitscan(projectile, 150f, 6f, 6f, 2, ModContent.ProjectileType<AngelBolt>(), 1D, true);
|
||||
CalamityGlobalProjectile.MagnetSphereHitscan(projectile, 150f, 3f, 6f, 2, ModContent.ProjectileType<AngelBolt>(), 1D, true);
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) => target.AddBuff(ModContent.BuffType<BanishingFire>(), 300);
|
||||
|
||||
@@ -25,10 +25,10 @@ namespace CalamityMod.Projectiles.Summon
|
||||
projectile.minionSlots = 0f;
|
||||
projectile.ignoreWater = true;
|
||||
projectile.penetrate = 10;
|
||||
projectile.extraUpdates = 100;
|
||||
projectile.extraUpdates = 200;
|
||||
projectile.timeLeft = 600;
|
||||
projectile.usesLocalNPCImmunity = true;
|
||||
projectile.localNPCHitCooldown = 10;
|
||||
projectile.localNPCHitCooldown = 20;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
if (Main.myPlayer == projectile.owner)
|
||||
{
|
||||
int type = ModContent.ProjectileType<AngelRay>();
|
||||
Projectile.NewProjectile(projectile.Center, direction, type, projectile.damage, projectile.knockBack, projectile.owner);
|
||||
Projectile.NewProjectile(projectile.Center, direction * 0.5f, type, projectile.damage, projectile.knockBack, projectile.owner);
|
||||
}
|
||||
projectile.ai[0] = 0f;
|
||||
projectile.netUpdate = true;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Buffs.Summon;
|
||||
using CalamityMod.CalPlayer;
|
||||
using Microsoft.Xna.Framework;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -10,6 +9,8 @@ namespace CalamityMod.Projectiles.Summon
|
||||
{
|
||||
public class MortalityBeam : ModProjectile
|
||||
{
|
||||
public override string Texture => "CalamityMod/Projectiles/InvisibleProj";
|
||||
|
||||
public ref float Time => ref projectile.ai[0];
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -58,7 +59,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 180);
|
||||
target.AddBuff(BuffID.Frostburn, 180);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 180);
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 119 B |
@@ -1,5 +1,4 @@
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -8,6 +7,8 @@ namespace CalamityMod.Projectiles.Summon
|
||||
{
|
||||
public class MortalityBolt : ModProjectile
|
||||
{
|
||||
public override string Texture => "CalamityMod/Projectiles/InvisibleProj";
|
||||
|
||||
public Color ProjectileColor => Main.hslToRgb(projectile.localAI[0], 1f, 0.5f);
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -45,7 +46,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 180);
|
||||
target.AddBuff(BuffID.Frostburn, 180);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 180);
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 119 B |
Binary file not shown.
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 3.2 KiB |
@@ -9,6 +9,8 @@ namespace CalamityMod.Projectiles.Summon
|
||||
{
|
||||
public class UniverseSplitterField : ModProjectile
|
||||
{
|
||||
public override string Texture => "CalamityMod/Projectiles/InvisibleProj";
|
||||
|
||||
public float Timer
|
||||
{
|
||||
get => projectile.ai[0];
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB |
Reference in new issue
Block a user