Merge branch '1.4' of https://github.com/CalamityTeam/CalamityMod into 1.4
This commit is contained in:
commit
39fb7a1fcb
6 files changed
+8
-42
No files matched your search
@@ -22,16 +22,16 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
"Horizontal speed: 9.00\n" +
|
||||
"Acceleration multiplier: 1.75\n" +
|
||||
"Good vertical speed\n" +
|
||||
"Flight time: 120");
|
||||
ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(120, 9f, 1.75f);
|
||||
"Flight time: 90");
|
||||
ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(90, 9f, 1.75f);
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 24;
|
||||
Item.height = 36;
|
||||
Item.value = CalamityGlobalItem.Rarity9BuyPrice;
|
||||
Item.rare = ItemRarityID.Cyan;
|
||||
Item.value = CalamityGlobalItem.Rarity7BuyPrice;
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
@@ -76,15 +76,5 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
maxAscentMultiplier = 2.55f;
|
||||
constantAscend = 0.13f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AstralBar>(8).
|
||||
AddIngredient<HadarianMembrane>(8).
|
||||
AddIngredient(ItemID.SoulofFlight, 20).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityMod.Items.Materials
|
||||
{
|
||||
public class HadarianMembrane : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 5;
|
||||
DisplayName.SetDefault("Hadarian Membrane");
|
||||
Tooltip.SetDefault("The membrane of an astral creature's wings");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 22;
|
||||
Item.height = 22;
|
||||
Item.maxStack = 999;
|
||||
Item.value = Item.sellPrice(silver: 50);
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 387 B |
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Accessories.Wings;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Tiles.AstralDesert;
|
||||
using CalamityMod.World;
|
||||
@@ -213,7 +214,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Stardust>(), 1, 1, 3, 1, 4));
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<HadarianMembrane>(), 2, 2, 3);
|
||||
npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType<HadarianWings>(), 20);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -343,7 +343,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
Segments[SegmentCount - 1].position = sentPos;
|
||||
}
|
||||
catch (Exception) {
|
||||
CalamityMod.Instance.Warn("IbanPlay Victide Cnidarian Position Netcode failed safely");
|
||||
CalamityMod.Instance.Logger.Warn("IbanPlay Victide Cnidarian Position Netcode failed safely");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1471,7 +1471,7 @@ namespace CalamityMod
|
||||
// Wooden Boomerang
|
||||
r = CreateRecipe(ItemID.WoodenBoomerang);
|
||||
r.AddIngredient(ItemID.Wood, 7);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.AddTile(TileID.WorkBenches);
|
||||
r.Register();
|
||||
|
||||
// Wand of Sparking
|
||||
|
||||
Reference in new issue
Block a user