Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into 1.4.4
No files matched your search
@@ -32,7 +32,7 @@ namespace CalamityMod.Items.Accessories
|
||||
CreateRecipe().
|
||||
AddIngredient<CrownJewel>().
|
||||
AddIngredient<AureusCell>(10).
|
||||
AddIngredient<Stardust>(25).
|
||||
AddIngredient<StarblightSoot>(25).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -10,8 +10,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
[LegacyName("AstralArcanum")]
|
||||
public class Purity : ModItem, ILocalizedModType
|
||||
[LegacyName("AstralArcanum", "Purity")]
|
||||
public class Radiance : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Accessories";
|
||||
public override void SetStaticDefaults()
|
||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
@@ -55,7 +55,7 @@ namespace CalamityMod.Items.Fishing.AstralCatches
|
||||
var postAstrumDeus = itemLoot.DefineConditionalDropSet(() => DownedBossSystem.downedAstrumDeus);
|
||||
|
||||
// Materials
|
||||
itemLoot.Add(ModContent.ItemType<Stardust>(), 1, 5, 10);
|
||||
itemLoot.Add(ModContent.ItemType<StarblightSoot>(), 1, 5, 10);
|
||||
itemLoot.Add(ItemID.FallenStar, 1, 5, 10);
|
||||
itemLoot.Add(ItemID.Meteorite, 5, 10, 20);
|
||||
itemLoot.Add(ItemID.MeteoriteBar, 10, 1, 3);
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Materials
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<Stardust>(3).
|
||||
AddIngredient<StarblightSoot>(3).
|
||||
AddIngredient<AstralOre>(2).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Materials
|
||||
{
|
||||
CreateRecipe(3).
|
||||
AddIngredient<MeldBlob>(6).
|
||||
AddIngredient<Stardust>(3).
|
||||
AddIngredient<StarblightSoot>(3).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Materials
|
||||
{
|
||||
public class Stardust : ModItem, ILocalizedModType
|
||||
[LegacyName("Stardust")]
|
||||
public class StarblightSoot : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Materials";
|
||||
public override void SetStaticDefaults()
|
||||
|
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |
@@ -71,7 +71,7 @@ namespace CalamityMod.Items.PermanentBoosters
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.MeteoriteBar, 10).
|
||||
AddIngredient(ItemID.FallenStar, 10).
|
||||
AddIngredient<Stardust>(50).
|
||||
AddIngredient<StarblightSoot>(50).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace CalamityMod.Items.Placeables
|
||||
}
|
||||
else if (val < 68.03f)
|
||||
{
|
||||
resultType = ModContent.ItemType<Stardust>();
|
||||
resultType = ModContent.ItemType<StarblightSoot>();
|
||||
resultStack = Main.rand.Next(1, 11);
|
||||
}
|
||||
else if (val < 69.03f)
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.Furniture
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AureusCell>(5).
|
||||
AddIngredient<Stardust>(20).
|
||||
AddIngredient<StarblightSoot>(20).
|
||||
AddIngredient<AstralStone>(30).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.Placeables.Furniture
|
||||
{
|
||||
CreateRecipe(3).
|
||||
AddIngredient(ItemID.Torch, 3).
|
||||
AddIngredient<Stardust>().
|
||||
AddIngredient<StarblightSoot>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace CalamityMod.Items.Placeables
|
||||
}
|
||||
else if (val < 58.03f)
|
||||
{
|
||||
resultType = ModContent.ItemType<Stardust>();
|
||||
resultType = ModContent.ItemType<StarblightSoot>();
|
||||
resultStack = Main.rand.Next(1, 21);
|
||||
}
|
||||
else if (val < 61.03f)
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Items.Potions
|
||||
{
|
||||
CreateRecipe(15).
|
||||
AddIngredient(ItemID.BottledWater, 15).
|
||||
AddIngredient<Stardust>(4).
|
||||
AddIngredient<StarblightSoot>(4).
|
||||
AddIngredient<AureusCell>().
|
||||
AddTile(TileID.AlchemyTable).
|
||||
AddConsumeItemCallback(Recipe.ConsumptionRules.Alchemy).
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<Stardust>(30).
|
||||
AddIngredient<StarblightSoot>(30).
|
||||
AddIngredient(ItemID.FallenStar, 20).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<Stardust>(25).
|
||||
AddIngredient<StarblightSoot>(25).
|
||||
AddIngredient<AureusCell>(8).
|
||||
AddIngredient<AstralBar>(4).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Materials
|
||||
itemLoot.Add(ModContent.ItemType<AureusCell>(), 1, 12, 16);
|
||||
itemLoot.Add(ModContent.ItemType<Stardust>(), 1, 30, 40);
|
||||
itemLoot.Add(ModContent.ItemType<StarblightSoot>(), 1, 30, 40);
|
||||
itemLoot.Add(ItemID.FallenStar, 1, 20, 30);
|
||||
|
||||
// Weapons
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
itemLoot.Add(ItemDropRule.CoinsBasedOnNPCValue(ModContent.NPCType<AstrumDeusHead>()));
|
||||
|
||||
// Materials
|
||||
itemLoot.Add(ModContent.ItemType<Stardust>(), 1, 60, 90);
|
||||
itemLoot.Add(ModContent.ItemType<StarblightSoot>(), 1, 60, 90);
|
||||
itemLoot.Add(ItemID.FallenStar, 1, 30, 50);
|
||||
|
||||
// Weapons
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
itemLoot.Add(DropHelper.CalamityStyle(DropHelper.BagWeaponDropRateFraction, new int[]
|
||||
{
|
||||
ModContent.ItemType<HolyCollider>(),
|
||||
ModContent.ItemType<SolarFlare>(),
|
||||
ModContent.ItemType<BurningRevelation>(),
|
||||
ModContent.ItemType<BlissfulBombardier>(),
|
||||
ModContent.ItemType<TelluricGlare>(),
|
||||
ModContent.ItemType<PurgeGuzzler>(),
|
||||
|
||||
@@ -5,7 +5,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
public class SolarFlare : ModItem, ILocalizedModType
|
||||
[LegacyName("SolarFlare")]
|
||||
public class BurningRevelation : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
public override void SetStaticDefaults()
|
||||
@@ -32,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.noUseGraphic = true;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.shoot = ModContent.ProjectileType<SolarFlareYoyo>();
|
||||
Item.shoot = ModContent.ProjectileType<BurningRevelationYoyo>();
|
||||
Item.shootSpeed = 16f;
|
||||
|
||||
Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice;
|
||||
|
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 514 B |
@@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<SolarFlare>().
|
||||
AddIngredient<BurningRevelation>().
|
||||
AddIngredient<TheObliterator>().
|
||||
AddIngredient<AuricBar>(5).
|
||||
AddTile<CosmicAnvil>().
|
||||
|
||||
@@ -388,7 +388,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
AddIngredient(ItemID.SoulofMight).
|
||||
AddIngredient(ItemID.SoulofSight).
|
||||
AddIngredient(ItemID.PixieDust, 2).
|
||||
AddIngredient<Stardust>(10).
|
||||
AddIngredient<StarblightSoot>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
AddIngredient(ItemID.SniperRifle).
|
||||
AddIngredient<UelibloomBar>(5).
|
||||
AddIngredient<AureusCell>(5).
|
||||
AddIngredient<Stardust>(50).
|
||||
AddIngredient<StarblightSoot>(50).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
CreateRecipe().
|
||||
AddIngredient<Prismalline>().
|
||||
AddIngredient<AstralBar>(10).
|
||||
AddIngredient<Stardust>(15).
|
||||
AddIngredient<StarblightSoot>(15).
|
||||
AddIngredient(ItemID.FallenStar, 10).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Typeless
|
||||
{
|
||||
CreateRecipe().
|
||||
AddRecipeGroup("AnyCobaltBar", 10).
|
||||
AddIngredient<Stardust>(20).
|
||||
AddIngredient<StarblightSoot>(20).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items.Weapons.Typeless
|
||||
{
|
||||
CreateRecipe(10).
|
||||
AddIngredient(ItemID.BottledWater, 10).
|
||||
AddIngredient<Stardust>(2).
|
||||
AddIngredient<StarblightSoot>(2).
|
||||
AddIngredient<AstralGrassSeeds>().
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -1316,8 +1316,19 @@ ProfanedSoulCrystal: {
|
||||
'''
|
||||
}
|
||||
|
||||
Purity: {
|
||||
DisplayName: Purity
|
||||
QuiverofNihility: {
|
||||
DisplayName: Quiver of Nihility
|
||||
Tooltip:
|
||||
'''
|
||||
5% increased ranged critical strike chance
|
||||
Summons a ring of four void fields to orbit you
|
||||
Arrows that pass through these fields gain a 75% damage boost and double the speed
|
||||
'Filled with a substance darker than the night sky'
|
||||
'''
|
||||
}
|
||||
|
||||
Radiance: {
|
||||
DisplayName: Radiance
|
||||
Tooltip:
|
||||
'''
|
||||
+100 max life
|
||||
@@ -1335,17 +1346,6 @@ Purity: {
|
||||
'''
|
||||
}
|
||||
|
||||
QuiverofNihility: {
|
||||
DisplayName: Quiver of Nihility
|
||||
Tooltip:
|
||||
'''
|
||||
5% increased ranged critical strike chance
|
||||
Summons a ring of four void fields to orbit you
|
||||
Arrows that pass through these fields gain a 75% damage boost and double the speed
|
||||
'Filled with a substance darker than the night sky'
|
||||
'''
|
||||
}
|
||||
|
||||
RadiantOoze: {
|
||||
DisplayName: Radiant Ooze
|
||||
Tooltip:
|
||||
|
||||
@@ -302,8 +302,8 @@ SolarVeil: {
|
||||
Tooltip: Sunlight cannot penetrate the fabric of this cloth
|
||||
}
|
||||
|
||||
Stardust: {
|
||||
DisplayName: Stardust
|
||||
StarblightSoot: {
|
||||
DisplayName: Starblight Soot
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
|
||||
@@ -239,6 +239,15 @@ BrokenBiomeBlade: {
|
||||
DefaultFunction: Does nothing... yet
|
||||
}
|
||||
|
||||
BurningRevelation: {
|
||||
DisplayName: Burning Revelation
|
||||
Tooltip:
|
||||
'''
|
||||
Emits large holy explosions on hit
|
||||
An exceptionally agile yoyo
|
||||
'''
|
||||
}
|
||||
|
||||
BurntSienna: {
|
||||
DisplayName: Burnt Sienna
|
||||
Tooltip: Causes enemies to erupt into healing projectiles on death
|
||||
@@ -1040,15 +1049,6 @@ SmokingComet: {
|
||||
Tooltip: Rains stars from the sky
|
||||
}
|
||||
|
||||
SolarFlare: {
|
||||
DisplayName: Solar Flare
|
||||
Tooltip:
|
||||
'''
|
||||
Emits large holy explosions on hit
|
||||
An exceptionally agile yoyo
|
||||
'''
|
||||
}
|
||||
|
||||
SolsticeClaymore: {
|
||||
DisplayName: Solstice Claymore
|
||||
Tooltip:
|
||||
|
||||
@@ -235,7 +235,6 @@ namespace CalamityMod
|
||||
ItemRedirect(ItemType<PineapplePet>(), "Pineapple (calamity)");
|
||||
ItemRedirect(ItemType<TrashmanTrashcan>(), "Trash Can (pet)");
|
||||
ItemRedirect(ItemType<Butcher>(), "Butcher (weapon)");
|
||||
ItemRedirect(ItemType<Purity>(), "Purity (accessory)");
|
||||
ItemRedirect(ItemType<SandstormGun>(), "Sandstorm (weapon)");
|
||||
ItemRedirect(ItemType<Thunderstorm>(), "Thunderstorm (weapon)");
|
||||
// Lore items
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 2, 1, 2, 1, 3));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 2, 1, 2, 1, 3));
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<StellarKnife>(), 7);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 2, 1, 2, 1, 3));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 2, 1, 2, 1, 3));
|
||||
}
|
||||
|
||||
public override float SpawnChance(NPCSpawnInfo spawnInfo)
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 2, 1, 2, 1, 3));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 2, 1, 2, 1, 3));
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<AbandonedSlimeStaff>(), 7);
|
||||
|
||||
var postDeus = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedAstrumDeus);
|
||||
|
||||
@@ -155,8 +155,8 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public static void ModifyAstralachneaLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.AddIf(() => !Main.expertMode, ModContent.ItemType<Stardust>(), 2, 2, 3);
|
||||
npcLoot.AddIf(() => Main.expertMode, ModContent.ItemType<Stardust>(), 1, 1, 4);
|
||||
npcLoot.AddIf(() => !Main.expertMode, ModContent.ItemType<StarblightSoot>(), 2, 2, 3);
|
||||
npcLoot.AddIf(() => Main.expertMode, ModContent.ItemType<StarblightSoot>(), 1, 1, 4);
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<AstralachneaStaff>(), 7);
|
||||
}
|
||||
|
||||
|
||||
@@ -657,7 +657,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(ModContent.ItemType<TitanHeart>());
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 6, 8, 7, 9));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 6, 8, 7, 9));
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<TitanArm>(), 7);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -322,7 +322,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(ItemID.SharkFin, 8);
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 2, 3, 3, 4));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 2, 3, 3, 4));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -221,7 +221,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 3, 1, 4));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 3, 1, 4));
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<HadarianWings>(), 10);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 3, 1, 4));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 3, 1, 4));
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<HivePod>(), 7);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -250,7 +250,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 2, 1, 3));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 2, 1, 3));
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<AstralScythe>(), 7);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
var exploded = npcLoot.DefineConditionalDropSet((info) => info.npc.ai[3] <= -10000f);
|
||||
|
||||
// 2-3 Stardust (3-4 Expert+)
|
||||
exploded.OnFailedConditions(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 2, 3, 3, 4));
|
||||
exploded.OnFailedConditions(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 2, 3, 3, 4));
|
||||
exploded.OnFailedConditions(ItemDropRule.ByCondition(DropHelper.If(() => DownedBossSystem.downedAstrumAureus), ModContent.ItemType<StellarCannon>(), 7));
|
||||
|
||||
// If exploded, then have a chance to drop Glorious End and nothing else
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 2, 1, 3));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 2, 1, 3));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -186,7 +186,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 2, 3, 3, 4));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 2, 3, 3, 4));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 2, 1, 3));
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<StarblightSoot>(), 1, 1, 2, 1, 3));
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<StarbusterCore>(), 7);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,7 +229,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
}
|
||||
}
|
||||
|
||||
public override void BossLoot(ref string name, ref int potionType) => potionType = ModContent.ItemType<Stardust>();
|
||||
public override void BossLoot(ref string name, ref int potionType) => potionType = ModContent.ItemType<StarblightSoot>();
|
||||
|
||||
public static bool ShouldNotDropThings(NPC npc) => npc.Calamity().newAI[0] == 0f || ((CalamityWorld.death || BossRushEvent.BossRushActive) && npc.Calamity().newAI[0] != 3f);
|
||||
|
||||
@@ -311,7 +311,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
|
||||
// Materials
|
||||
normalOnly.Add(ItemID.FallenStar, 1, 25, 40);
|
||||
normalOnly.Add(ModContent.ItemType<Stardust>(), 1, 50, 80);
|
||||
normalOnly.Add(ModContent.ItemType<StarblightSoot>(), 1, 50, 80);
|
||||
}
|
||||
|
||||
npcLoot.DefineConditionalDropSet(() => true).Add(DropHelper.PerPlayer(ItemID.SuperHealingPotion, 1, 5, 15), hideLootReport: true); // Healing Potions don't show up in the Bestiary
|
||||
|
||||
@@ -2071,7 +2071,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
int[] weapons = new int[]
|
||||
{
|
||||
ModContent.ItemType<HolyCollider>(),
|
||||
ModContent.ItemType<SolarFlare>(),
|
||||
ModContent.ItemType<BurningRevelation>(),
|
||||
ModContent.ItemType<TelluricGlare>(),
|
||||
ModContent.ItemType<BlissfulBombardier>(),
|
||||
ModContent.ItemType<PurgeGuzzler>(),
|
||||
|
||||
@@ -9,9 +9,9 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Melee.Yoyos
|
||||
{
|
||||
public class SolarFlareYoyo : ModProjectile
|
||||
public class BurningRevelationYoyo : ModProjectile
|
||||
{
|
||||
public override LocalizedText DisplayName => CalamityUtils.GetItemName<SolarFlare>();
|
||||
public override LocalizedText DisplayName => CalamityUtils.GetItemName<BurningRevelation>();
|
||||
public const int MaxUpdates = 3;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
|
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 228 B |
@@ -216,7 +216,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
if (!Projectile.getRect().Intersects(Elster.getRect()))
|
||||
{
|
||||
int walkDirection = Sign(Elster.Center.X - Projectile.Center.X);
|
||||
float maxSpeed = Utils.Remap(Abs(Elster.Center.X - Projectile.Center.X), 160f, 0f, 6f, 0f);
|
||||
float maxSpeed = Utils.Remap(Abs(Elster.Center.X - Projectile.Center.X), 160f, 0f, 8f, 0f);
|
||||
Projectile.velocity.X += 0.08f * walkDirection;
|
||||
if (Abs(Projectile.velocity.X) > maxSpeed)
|
||||
Projectile.velocity.X = maxSpeed * walkDirection;
|
||||
@@ -257,7 +257,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
return;
|
||||
}
|
||||
|
||||
FlyTowardsPlace(Owner.velocity.Length() + 6f, Owner.Center, Sign(Projectile.velocity.X));
|
||||
FlyTowardsPlace(Owner.velocity.Length() + 8f, Owner.Center, Sign(Projectile.velocity.X));
|
||||
Animation = AnimationState.Fly;
|
||||
}
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
if (!Projectile.WithinRange(idlePosition, 8f))
|
||||
{
|
||||
int walkDirection = Sign(idlePosition.X - Projectile.Center.X);
|
||||
float maxSpeed = Utils.Remap(Abs(idlePosition.X - Projectile.Center.X), 160f, 0f, 6f, 0f);
|
||||
float maxSpeed = Utils.Remap(Abs(idlePosition.X - Projectile.Center.X), 160f, 0f, 8f, 0f);
|
||||
Projectile.velocity.X += 0.08f * walkDirection;
|
||||
if (Abs(Projectile.velocity.X) > maxSpeed)
|
||||
Projectile.velocity.X = maxSpeed * walkDirection;
|
||||
@@ -234,7 +234,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
return;
|
||||
}
|
||||
|
||||
FlyTowardsPlace(Owner.velocity.Length() + 6f, Owner.Center, Sign(Projectile.velocity.X), AnimationState.Fly);
|
||||
FlyTowardsPlace(Owner.velocity.Length() + 8f, Owner.Center, Sign(Projectile.velocity.X), AnimationState.Fly);
|
||||
Projectile.rotation = MathHelper.ToRadians(Projectile.velocity.Length()) * Sign(Projectile.velocity.X);
|
||||
ElevationDust(false);
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace CalamityMod.Tiles.Astral
|
||||
else if (Main.rand.NextBool(15))
|
||||
{
|
||||
createLeaves = true;
|
||||
int type = ModContent.ItemType<Stardust>();
|
||||
int type = ModContent.ItemType<StarblightSoot>();
|
||||
if (!Main.dayTime && Main.rand.NextBool())
|
||||
type = ItemID.FallenStar;
|
||||
Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt);
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace CalamityMod.Tiles.AstralDesert
|
||||
else if (Main.rand.NextBool(15))
|
||||
{
|
||||
createLeaves = true;
|
||||
int type = ModContent.ItemType<Stardust>();
|
||||
int type = ModContent.ItemType<StarblightSoot>();
|
||||
if (!Main.dayTime && Main.rand.NextBool())
|
||||
type = ItemID.FallenStar;
|
||||
Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt);
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace CalamityMod.Tiles.AstralSnow
|
||||
else if (Main.rand.NextBool(15))
|
||||
{
|
||||
createLeaves = true;
|
||||
int type = ModContent.ItemType<Stardust>();
|
||||
int type = ModContent.ItemType<StarblightSoot>();
|
||||
if (!Main.dayTime && Main.rand.NextBool())
|
||||
type = ItemID.FallenStar;
|
||||
Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt);
|
||||
|
||||
@@ -528,7 +528,7 @@ namespace CalamityMod
|
||||
|
||||
// Fallen Stars from Stardust
|
||||
Recipe.Create(ItemID.FallenStar).
|
||||
AddIngredient<Stardust>(5).
|
||||
AddIngredient<StarblightSoot>(5).
|
||||
AddTile(TileID.Anvils).
|
||||
Register()
|
||||
.DisableDecraft();
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.World
|
||||
// Astral Chest has completely different loot in it
|
||||
if (type == ModContent.TileType<AstralChestLocked>())
|
||||
{
|
||||
PutItemInChest(ref chest, ModContent.ItemType<Stardust>(), 30, 80);
|
||||
PutItemInChest(ref chest, ModContent.ItemType<StarblightSoot>(), 30, 80);
|
||||
PutItemInChest(ref chest, ModContent.ItemType<AureusCell>(), 10, 14);
|
||||
PutItemInChest(ref chest, ModContent.ItemType<ZergPotion>(), 8);
|
||||
PutItemInChest(ref chest, ModContent.ItemType<ZenPotion>(), 3, 5);
|
||||
|
||||