Merge branch 'master' of https://github.com/CalamityTeam/CalamityMod
No files matched your search
@@ -411,7 +411,6 @@ namespace CalamityMod.CalPlayer
|
||||
else if (currentlyHeldItem.type == ModContent.ItemType<Excelsus>() ||
|
||||
currentlyHeldItem.type == ModContent.ItemType<EssenceFlayer>() ||
|
||||
currentlyHeldItem.type == ModContent.ItemType<TheEnforcer>() ||
|
||||
currentlyHeldItem.type == ModContent.ItemType<ElementalExcalibur>() ||
|
||||
currentlyHeldItem.type == ModContent.ItemType<TerrorBlade>() ||
|
||||
currentlyHeldItem.type == ModContent.ItemType<EtherealSubjugator>() ||
|
||||
(currentlyHeldItem.type == ModContent.ItemType<PrismaticBreaker>() && currentlyHeldItem.useStyle == ItemUseStyleID.SwingThrow))
|
||||
@@ -421,8 +420,6 @@ namespace CalamityMod.CalPlayer
|
||||
texture = ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/EssenceFlayerGlow");
|
||||
else if (currentlyHeldItem.type == ModContent.ItemType<TheEnforcer>())
|
||||
texture = ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/TheEnforcerGlow");
|
||||
else if (currentlyHeldItem.type == ModContent.ItemType<ElementalExcalibur>())
|
||||
texture = ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/ElementalExcaliburGlow");
|
||||
else if (currentlyHeldItem.type == ModContent.ItemType<TerrorBlade>())
|
||||
texture = ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/TerrorBladeGlow");
|
||||
else if (currentlyHeldItem.type == ModContent.ItemType<EtherealSubjugator>())
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -21,7 +22,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.25f;
|
||||
item.value = 250;
|
||||
item.value = Item.sellPrice(copper: 2);
|
||||
item.rare = ItemRarityID.Green;
|
||||
item.shoot = ModContent.ProjectileType<AccelerationBulletProj>();
|
||||
item.shootSpeed = 1f;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -22,7 +23,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.5f;
|
||||
item.value = 1250;
|
||||
item.value = Item.sellPrice(copper: 16);
|
||||
item.rare = ItemRarityID.Yellow;
|
||||
item.shoot = ModContent.ProjectileType<AcidBulletProj>();
|
||||
item.shootSpeed = 10f;
|
||||
|
||||
@@ -23,8 +23,8 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.5f;
|
||||
item.value = Item.sellPrice(0, 0, 0, 24);
|
||||
item.rare = ItemRarityID.Orange;
|
||||
item.value = Item.sellPrice(copper: 12);
|
||||
item.rare = ItemRarityID.Pink;
|
||||
item.shoot = ModContent.ProjectileType<ArcticArrowProj>();
|
||||
item.shootSpeed = 13f;
|
||||
item.ammo = AmmoID.Arrow;
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 3.5f;
|
||||
item.value = Item.sellPrice(copper: 80);
|
||||
item.value = Item.sellPrice(copper: 24);
|
||||
item.rare = ItemRarityID.Purple;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
item.shoot = ModContent.ProjectileType<BloodfireArrowProj>();
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 4.5f;
|
||||
item.value = Item.sellPrice(copper: 80);
|
||||
item.value = Item.sellPrice(copper: 24);
|
||||
item.rare = ItemRarityID.Purple;
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
item.shoot = ModContent.ProjectileType<BloodfireBulletProj>();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -21,8 +22,8 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 3f;
|
||||
item.value = 2000;
|
||||
item.rare = ItemRarityID.Purple;
|
||||
item.value = Item.sellPrice(copper: 24);
|
||||
item.rare = ItemRarityID.Purple;
|
||||
item.shoot = ModContent.ProjectileType<ElysianArrowProj>();
|
||||
item.shootSpeed = 10f;
|
||||
item.ammo = AmmoID.Arrow;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -21,7 +22,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 5.5f;
|
||||
item.value = 500;
|
||||
item.value = Item.sellPrice(copper: 16);
|
||||
item.rare = ItemRarityID.Lime;
|
||||
item.shoot = ModContent.ProjectileType<EnhancedNanoRoundProj>();
|
||||
item.shootSpeed = 8f;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -20,7 +21,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.15f;
|
||||
item.value = 250;
|
||||
item.value = Item.sellPrice(copper: 2);
|
||||
item.rare = ItemRarityID.Blue;
|
||||
item.shoot = ModContent.ProjectileType<FlashBulletProj>();
|
||||
item.shootSpeed = 12f;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 3f;
|
||||
item.value = Item.buyPrice(silver: 4);
|
||||
item.value = Item.sellPrice(copper: 28);
|
||||
item.rare = ItemRarityID.Red;
|
||||
item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
item.shoot = ModContent.ProjectileType<GodSlayerSlugProj>();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -23,7 +24,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 2f;
|
||||
item.value = 2000;
|
||||
item.value = Item.sellPrice(copper: 24);
|
||||
item.rare = ItemRarityID.Purple;
|
||||
item.shoot = ModContent.ProjectileType<HolyFireBulletProj>();
|
||||
item.shootSpeed = 6f;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -22,7 +23,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.5f;
|
||||
item.value = 2000;
|
||||
item.value = Item.sellPrice(copper: 16);
|
||||
item.rare = ItemRarityID.Cyan;
|
||||
item.shoot = ModContent.ProjectileType<HyperiusBulletProj>();
|
||||
item.shootSpeed = 16f;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -22,7 +23,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 7.5f;
|
||||
item.value = 500;
|
||||
item.value = Item.sellPrice(copper: 20);
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
item.ammo = AmmoID.Bullet;
|
||||
item.shoot = ModContent.ProjectileType<MortarRoundProj>();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -21,8 +22,8 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.5f;
|
||||
item.value = 1000;
|
||||
item.rare = ItemRarityID.Orange;
|
||||
item.value = Item.sellPrice(copper: 12);
|
||||
item.rare = ItemRarityID.LightRed;
|
||||
item.shoot = ModContent.ProjectileType<NapalmArrowProj>();
|
||||
item.shootSpeed = 13f;
|
||||
item.ammo = AmmoID.Arrow;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -22,7 +23,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 7.5f;
|
||||
item.value = 1000;
|
||||
item.value = Item.sellPrice(copper: 20);
|
||||
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
item.ammo = AmmoID.Bullet;
|
||||
item.shoot = ModContent.ProjectileType<RubberMortarRoundProj>();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -21,7 +22,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.5f;
|
||||
item.value = 250;
|
||||
item.value = Item.sellPrice(copper: 2);
|
||||
item.rare = ItemRarityID.Green;
|
||||
item.shoot = ModContent.ProjectileType<SuperballBulletProj>();
|
||||
item.shootSpeed = 1f;
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.5f;
|
||||
item.value = Item.sellPrice(0, 0, 0, 40);
|
||||
item.value = Item.sellPrice(copper: 20);
|
||||
item.rare = ItemRarityID.Lime;
|
||||
item.shoot = ModContent.ProjectileType<TerraArrowMain>();
|
||||
item.shootSpeed = 15f;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -21,7 +22,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.25f;
|
||||
item.value = 2000;
|
||||
item.value = Item.sellPrice(copper: 16);
|
||||
item.rare = ItemRarityID.Lime;
|
||||
item.shoot = ModContent.ProjectileType<TerraBulletMain>();
|
||||
item.shootSpeed = 10f;
|
||||
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Projectiles.Ranged;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -26,7 +27,7 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 3.5f;
|
||||
item.value = 2250;
|
||||
item.value = Item.sellPrice(copper: 28);
|
||||
item.shoot = ModContent.ProjectileType<VanquisherArrowMain>();
|
||||
item.shootSpeed = 10f;
|
||||
item.ammo = AmmoID.Arrow;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Ammo
|
||||
@@ -22,8 +23,8 @@ namespace CalamityMod.Items.Ammo
|
||||
item.maxStack = 999;
|
||||
item.consumable = true;
|
||||
item.knockBack = 1.25f;
|
||||
item.value = 500;
|
||||
item.rare = ItemRarityID.Orange;
|
||||
item.value = Item.sellPrice(copper: 12);
|
||||
item.rare = ItemRarityID.Pink;
|
||||
item.shoot = ModContent.ProjectileType<VeriumBulletProj>();
|
||||
item.shootSpeed = 16f;
|
||||
item.ammo = AmmoID.Bullet;
|
||||
|
||||
@@ -2417,25 +2417,25 @@ namespace CalamityMod.Items
|
||||
public static readonly int Rarity2BuyPrice = Item.buyPrice(0, 2, 0, 0);
|
||||
public static readonly int Rarity3BuyPrice = Item.buyPrice(0, 4, 0, 0);
|
||||
public static readonly int Rarity4BuyPrice = Item.buyPrice(0, 12, 0, 0);
|
||||
public static readonly int Rarity5BuyPrice = Item.buyPrice(0, 36, 0, 0);
|
||||
public static readonly int Rarity6BuyPrice = Item.buyPrice(0, 48, 0, 0);
|
||||
public static readonly int Rarity7BuyPrice = Item.buyPrice(0, 60, 0, 0);
|
||||
public static readonly int Rarity8BuyPrice = Item.buyPrice(0, 80, 0, 0);
|
||||
public static readonly int Rarity9BuyPrice = Item.buyPrice(0, 95, 0, 0);
|
||||
public static readonly int Rarity5BuyPrice = Item.buyPrice(0, 24, 0, 0);
|
||||
public static readonly int Rarity6BuyPrice = Item.buyPrice(0, 36, 0, 0);
|
||||
public static readonly int Rarity7BuyPrice = Item.buyPrice(0, 48, 0, 0);
|
||||
public static readonly int Rarity8BuyPrice = Item.buyPrice(0, 60, 0, 0);
|
||||
public static readonly int Rarity9BuyPrice = Item.buyPrice(0, 80, 0, 0);
|
||||
public static readonly int Rarity10BuyPrice = Item.buyPrice(1, 0, 0, 0);
|
||||
public static readonly int Rarity11BuyPrice = Item.buyPrice(1, 10, 0, 0);
|
||||
public static readonly int RarityTurquoiseBuyPrice = Item.buyPrice(1, 20, 0, 0);
|
||||
public static readonly int RarityPureGreenBuyPrice = Item.buyPrice(1, 40, 0, 0);
|
||||
public static readonly int RarityDarkBlueBuyPrice = Item.buyPrice(1, 80, 0, 0);
|
||||
public static readonly int RarityVioletBuyPrice = Item.buyPrice(2, 50, 0, 0);
|
||||
public static readonly int RarityHotPinkBuyPrice = Item.buyPrice(5, 0, 0, 0);
|
||||
public static readonly int RarityPureGreenBuyPrice = Item.buyPrice(1, 30, 0, 0);
|
||||
public static readonly int RarityDarkBlueBuyPrice = Item.buyPrice(1, 40, 0, 0);
|
||||
public static readonly int RarityVioletBuyPrice = Item.buyPrice(1, 50, 0, 0);
|
||||
public static readonly int RarityHotPinkBuyPrice = Item.buyPrice(2, 0, 0, 0);
|
||||
|
||||
//These duplicates are for my sanity...
|
||||
public static readonly int Rarity12BuyPrice = Item.buyPrice(1, 20, 0, 0);
|
||||
public static readonly int Rarity13BuyPrice = Item.buyPrice(1, 40, 0, 0);
|
||||
public static readonly int Rarity14BuyPrice = Item.buyPrice(1, 80, 0, 0);
|
||||
public static readonly int Rarity15BuyPrice = Item.buyPrice(2, 50, 0, 0);
|
||||
public static readonly int Rarity16BuyPrice = Item.buyPrice(5, 0, 0, 0);
|
||||
public static readonly int Rarity13BuyPrice = Item.buyPrice(1, 30, 0, 0);
|
||||
public static readonly int Rarity14BuyPrice = Item.buyPrice(1, 40, 0, 0);
|
||||
public static readonly int Rarity15BuyPrice = Item.buyPrice(1, 50, 0, 0);
|
||||
public static readonly int Rarity16BuyPrice = Item.buyPrice(2, 0, 0, 0);
|
||||
|
||||
public static int GetBuyPrice(int rarity)
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Items.Materials
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Phantoplasm>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<Phantoplasm>(), 2);
|
||||
recipe.AddIngredient(ModContent.ItemType<NightmareFuel>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<EndothermicEnergy>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<DarksunFragment>(), 2);
|
||||
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 473 B After Width: | Height: | Size: 532 B |
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.Potions
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Cadance Potion");
|
||||
Tooltip.SetDefault("Gives the cadance buff which reduces enemy aggro\n" +
|
||||
Tooltip.SetDefault("Gives the cadance buff which reduces spawn rates\n" +
|
||||
"Increases life regen and increases max life by 25%\n" +
|
||||
"Increases heart pickup range\n" +
|
||||
"While this potion's buff is active, Regeneration Potion and Lifeforce Potion buffs are disabled");
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
recipe.AddIngredient(ItemID.SoulofNight, 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<EssenceofChaos>(), 7);
|
||||
recipe.AddIngredient(ModContent.ItemType<UnholyCore>(), 2);
|
||||
recipe.AddTile(TileID.AdamantiteForge);
|
||||
recipe.AddTile(TileID.Hellforge);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
|
||||
@@ -27,8 +27,8 @@ namespace CalamityMod.Items.Tools
|
||||
item.tileBoost += 1;
|
||||
|
||||
item.melee = true;
|
||||
item.width = 62;
|
||||
item.height = 46;
|
||||
item.width = 80;
|
||||
item.height = 66;
|
||||
item.useTurn = true;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.value = Item.buyPrice(0, 36, 0, 0);
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -51,8 +51,6 @@ namespace CalamityMod.Items.TreasureBags
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<GodSlayerHornedHelm>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<GodSlayerVisage>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,12 +74,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<DevourerofGodsMask>(), 7);
|
||||
if (Main.rand.NextBool(5))
|
||||
{
|
||||
DropHelper.DropItem(player, ModContent.ItemType<SilvaHelm>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<SilvaHornedHelm>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<SilvaMask>());
|
||||
}
|
||||
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<CosmicPlushie>(), CalamityWorld.death && player.difficulty == 2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,8 +51,6 @@ namespace CalamityMod.Items.TreasureBags
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<GodSlayerHornedHelm>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<GodSlayerVisage>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,8 +52,6 @@ namespace CalamityMod.Items.TreasureBags
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<GodSlayerHornedHelm>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<GodSlayerVisage>());
|
||||
}
|
||||
|
||||
// Light Pet
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Frequency Manipulator");
|
||||
Tooltip.SetDefault("A long device, used in the tuning of some rather... original machines.\n" +
|
||||
Tooltip.SetDefault("A long device, used in the tuning of some rather... original machines\n" +
|
||||
"Swings a spear around and then throws it\n" +
|
||||
"On collision, the spear releases a burst of homing energy\n" +
|
||||
"Stealth strikes release more energy and explode on collision");
|
||||
|
||||
@@ -14,10 +14,10 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Galvanizing Glaive");
|
||||
Tooltip.SetDefault("Its use as a tool is to quickly separate a single object into two. That is also its use as a weapon.\n" +
|
||||
"Swings a spear which envelops struck foes in an energy field\n" +
|
||||
"When done swinging, the spear discharges an extra pulse of energy\n" +
|
||||
"Deals more damage against enemies with high defenses");
|
||||
Tooltip.SetDefault("Its use as a tool is to quickly separate a single object into two\n" +
|
||||
"That is also its use as a weapon\n" +
|
||||
"Swings a spear which envelops struck foes in an energy field\n" +
|
||||
"When done swinging, the spear discharges an extra pulse of energy");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -17,8 +17,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Gatling Laser");
|
||||
Tooltip.SetDefault("Large laser cannon used primarily by Yharim's fleet and base defense force\n" +
|
||||
"Deals less damage against enemies with high defense");
|
||||
Tooltip.SetDefault("Large laser cannon used primarily by Yharim's fleet and base defense force");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Gauss Dagger");
|
||||
Tooltip.SetDefault("Slicing foes, it causes a flux of energy to form on the area tearing at them with turbulent forces.\n" +
|
||||
Tooltip.SetDefault("Slicing foes, it causes a flux of energy to form on the area tearing at them with turbulent forces\n" +
|
||||
"Repeat strikes envelop foes in magnetic flux");
|
||||
}
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Gauss Pistol");
|
||||
Tooltip.SetDefault("A simple pistol that utilizes magic power; a weapon for the more magically adept.\n" +
|
||||
Tooltip.SetDefault("A simple pistol that utilizes magic power; a weapon for the more magically adept\n" +
|
||||
"Fires a devastating high velocity blast with extreme knockback");
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Gauss Rifle");
|
||||
Tooltip.SetDefault("A large and slow weapon, the concussive force of its projectiles do well in clearing large groups.\n" +
|
||||
Tooltip.SetDefault("A large and slow weapon, the concussive force of its projectiles do well in clearing large groups\n" +
|
||||
"Fires a devastating high velocity blast with absurd knockback");
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Hydraulic Volt Crasher");
|
||||
Tooltip.SetDefault("Good for both stamping metal plates and instantly fusing them, as well as crushing enemies.\n" +
|
||||
Tooltip.SetDefault("Good for both stamping metal plates and instantly fusing them, as well as crushing enemies\n" +
|
||||
"An electrically charged jackhammer which shocks all nearby foes on hit");
|
||||
}
|
||||
|
||||
|
||||
@@ -14,8 +14,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Heavy Laser Rifle");
|
||||
Tooltip.SetDefault("Laser weapon used by heavy infantry units in Yharim's army\n" +
|
||||
"Deals less damage against enemies with high defense");
|
||||
Tooltip.SetDefault("Laser weapon used by heavy infantry units in Yharim's army");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,10 +14,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Matter Modulator");
|
||||
Tooltip.SetDefault("Using extra mass gained from collision with solid materials, it causes extra damage.\n" +
|
||||
"Fires a burst of unstable matter that does significant damage after striking a tile.\n" +
|
||||
"Before striking a tile, the matter pierces infinitely but deals little damage.\n" +
|
||||
"Deals more damage against enemies with high defenses");
|
||||
Tooltip.SetDefault("Using extra mass gained from collision with solid materials, it causes extra damage\n" +
|
||||
"Fires a burst of unstable matter that does significant damage after striking a tile\n" +
|
||||
"Before striking a tile, the matter pierces infinitely but deals little damage");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,9 +14,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Mounted Scanner");
|
||||
Tooltip.SetDefault("Laser technology used in this case for both targeting and defense.\n" +
|
||||
"Summons a powerful weapon above your head that fires lasers at nearby enemies\n" +
|
||||
"Deals less damage against enemies with high defense");
|
||||
Tooltip.SetDefault("Laser technology used in this case for both targeting and defense\n" +
|
||||
"Summons a powerful weapon above your head that fires lasers at nearby enemies");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -25,11 +25,10 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Phaseslayer");
|
||||
Tooltip.SetDefault("A rough prototype of the Murasama blade, it is formed entirely from laser energy.\n" +
|
||||
Tooltip.SetDefault("A rough prototype of the Murasama blade, it is formed entirely from laser energy\n" +
|
||||
"Wield a colossal laser blade which is controlled by the cursor\n" +
|
||||
"Faster swings deal more damage and release sword beams\n" +
|
||||
"When at low charge, the blade is smaller and weaker\n" +
|
||||
"Deals less damage against enemies with high defense");
|
||||
"When at low charge, the blade is smaller and weaker");
|
||||
}
|
||||
public override void SetDefaults()
|
||||
{
|
||||
|
||||
@@ -17,7 +17,6 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
DisplayName.SetDefault("Plasma Caster");
|
||||
Tooltip.SetDefault("Industrial tool used to fuse metal together with super-heated plasma\n" +
|
||||
"Deals more damage against enemies with high defenses\n" +
|
||||
"Right click for turbo mode");
|
||||
}
|
||||
|
||||
|
||||
@@ -16,10 +16,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Plasma Grenade");
|
||||
Tooltip.SetDefault("Each grenade contains a heavily condensed and heated unit of plasma. Use with care.\n" +
|
||||
Tooltip.SetDefault("Each grenade contains a heavily condensed and heated unit of plasma. Use with care\n" +
|
||||
"Throws a grenade that explodes into plasma on collision\n" +
|
||||
"Stealth strikes explode violently on collision into a vaporizing blast\n" +
|
||||
"Deals more damage against enemies with high defenses");
|
||||
"Stealth strikes explode violently on collision into a vaporizing blast");
|
||||
}
|
||||
|
||||
public override void SafeSetDefaults()
|
||||
|
||||
@@ -15,8 +15,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Pole Warper");
|
||||
Tooltip.SetDefault("Magnetic devices which tear at foes by propelling themselves off their opposite counterparts. Incredibly dangerous.\n" +
|
||||
"Summons a pair of floating magnets that repel each other and relentlessly swarm enemies");
|
||||
Tooltip.SetDefault("Magnetic devices which tear at foes by propelling themselves off their opposite counterparts\n" +
|
||||
"Incredibly dangerous\n" +
|
||||
"Summons a pair of floating magnets that repel each other and relentlessly swarm enemies");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,8 +15,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Snake Eyes");
|
||||
Tooltip.SetDefault("Surveillance drones equipped with a strong electric field which can be directed at enemies.\n" +
|
||||
"Summons a mechanical watcher that zaps and flies around enemies.");
|
||||
Tooltip.SetDefault("Surveillance drones equipped with a strong electric field which can be directed at enemies\n" +
|
||||
"Summons a mechanical watcher that zaps and flies around enemies");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,9 +15,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Star Swallower Containment Unit");
|
||||
Tooltip.SetDefault("Small novelties created to easily transport and fire plasma, strangely popular with humans.\n" +
|
||||
"Summons a biomechanical frog that vomits plasma onto enemies\n" +
|
||||
"Deals more damage against enemies with high defenses");
|
||||
Tooltip.SetDefault("Small novelties created to easily transport and fire plasma, strangely popular with humans\n" +
|
||||
"Summons a biomechanical frog that vomits plasma onto enemies");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Taser");
|
||||
Tooltip.SetDefault("A slow, simple electric weapon, meant only for low ranking guards.\n" +
|
||||
Tooltip.SetDefault("A slow, simple electric weapon, meant only for low ranking guards\n" +
|
||||
"Shoots a hook that attaches to enemies and electrocutes them before returning");
|
||||
}
|
||||
|
||||
|
||||
@@ -16,10 +16,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Tracking Disk");
|
||||
Tooltip.SetDefault("A weapon that, as it flies, processes calculations and fires lasers.\n" +
|
||||
Tooltip.SetDefault("A weapon that, as it flies, processes calculations and fires lasers\n" +
|
||||
"Releases a flying disk that fires lasers at nearby enemies\n" +
|
||||
"Stealth strikes allow the disk to fire multiple larger lasers at different targets.\n" +
|
||||
"Deals less damage against enemies with high defense");
|
||||
"Stealth strikes allow the disk to fire multiple larger lasers at different targets");
|
||||
}
|
||||
public override void SafeSetDefaults()
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Wave Pounder");
|
||||
Tooltip.SetDefault("It utilizes its power to send heavy shockwaves throughout the area, causing agonizing internal damage.\n" +
|
||||
Tooltip.SetDefault("It utilizes its power to send heavy shockwaves throughout the area, causing agonizing internal damage\n" +
|
||||
"Throws a bomb which explodes into a forceful shockwave\n" +
|
||||
"Stealth strikes emit absurdly powerful shockwaves");
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
item.damage = 18;
|
||||
item.magic = true;
|
||||
item.mana = 20;
|
||||
item.width = 90;
|
||||
item.height = 42;
|
||||
item.width = 124;
|
||||
item.height = 52;
|
||||
item.useTime = item.useAnimation = 7;
|
||||
item.useStyle = ItemUseStyleID.HoldingOut;
|
||||
item.noMelee = true;
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOffset()
|
||||
{
|
||||
return new Vector2(-25, 0);
|
||||
return new Vector2(-35, -10);
|
||||
}
|
||||
|
||||
public override bool AltFunctionUse(Player player)
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -17,9 +17,9 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 58;
|
||||
item.height = 58;
|
||||
item.scale = 1.5f;
|
||||
item.width = 72;
|
||||
item.height = 72;
|
||||
item.scale = 1.2f;
|
||||
item.damage = 108;
|
||||
item.melee = true;
|
||||
item.useAnimation = item.useTime = 15;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
DisplayName.SetDefault("Broken Biome Blade"); //Broken Ecoliburn lmfao. Tbh a proper name instead of just "biome blade" may be neat given the importance of the sword
|
||||
Tooltip.SetDefault("FUNCTION_DESC\n" +
|
||||
"Use RMB while standing still on the ground to attune the weapon to the powers of the surrounding biome\n" +
|
||||
"Hold down RMB while standing still on flat ground to attune the weapon to the powers of the surrounding biome\n" +
|
||||
"Using RMB otherwise switches between the current attunement and an extra stored one\n" +
|
||||
"Main attunement : None\n" +
|
||||
"Secondary attunement: None\n"); //Theres potential for flavor text as well but im not a writer
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
item.knockBack = 8f;
|
||||
item.UseSound = SoundID.Item1;
|
||||
item.autoReuse = true;
|
||||
item.width = 92;
|
||||
item.height = 92;
|
||||
item.width = 112;
|
||||
item.height = 112;
|
||||
item.value = Item.buyPrice(5, 0, 0, 0);
|
||||
item.rare = ItemRarityID.Purple;
|
||||
item.shoot = ModContent.ProjectileType<ElementalExcaliburBeam>();
|
||||
@@ -48,11 +48,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
// Terraria seems to really dislike high crit values in SetDefaults
|
||||
public override void GetWeaponCrit(Player player, ref int crit) => crit += 10;
|
||||
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/ElementalExcaliburGlow"));
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
{
|
||||
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, type, damage, knockBack, player.whoAmI, (float)BeamType, 0f);
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
@@ -32,8 +32,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
item.melee = true;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.UseSound = SoundID.NPCHit42;
|
||||
item.width = 80;
|
||||
item.height = 80;
|
||||
item.width = 100;
|
||||
item.height = 100;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
|
||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
@@ -7,6 +7,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
public class StellarContemptMelee : ModItem
|
||||
{
|
||||
public override string Texture => "CalamityMod/Items/Weapons/Melee/StellarContempt";
|
||||
|
||||
public static int BaseDamage = 300;
|
||||
public static float Speed = 18f;
|
||||
|
||||
@@ -18,8 +20,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 66;
|
||||
item.height = 64;
|
||||
item.width = 74;
|
||||
item.height = 74;
|
||||
item.melee = true;
|
||||
item.damage = BaseDamage;
|
||||
item.knockBack = 9f;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB |
@@ -75,7 +75,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
DisplayName.SetDefault("Biome Blade");
|
||||
Tooltip.SetDefault("FUNCTION_DESC\n" +
|
||||
"FUNCTION_EXTRA\n" +
|
||||
"Use RMB while standing still on the ground to attune the weapon to the powers of the surrounding biome\n" +
|
||||
"Hold down RMB while standing still on flat ground to attune the weapon to the powers of the surrounding biome\n" +
|
||||
"Using RMB otherwise switches between the current attunement and an extra stored one\n" +
|
||||
"Main attunement : None\n" +
|
||||
"Secondary attunement: None\n"); //Theres potential for flavor text as well but im not a writer
|
||||
|
||||
@@ -21,8 +21,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
item.damage = 3240;
|
||||
item.ranged = true;
|
||||
item.width = 140;
|
||||
item.height = 36;
|
||||
item.width = 154;
|
||||
item.height = 40;
|
||||
item.useTime = 60;
|
||||
item.useAnimation = 60;
|
||||
item.useStyle = ItemUseStyleID.HoldingOut;
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
item.Calamity().canFirePointBlankShots = true;
|
||||
}
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-10, 0);
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-30, 0);
|
||||
|
||||
// Terraria seems to really dislike high crit values in SetDefaults
|
||||
public override void GetWeaponCrit(Player player, ref int crit) => crit += 20;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -19,8 +19,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
item.damage = 275;
|
||||
item.ranged = true;
|
||||
item.width = 72;
|
||||
item.height = 34;
|
||||
item.width = 92;
|
||||
item.height = 44;
|
||||
item.useTime = 3;
|
||||
item.useAnimation = 3;
|
||||
item.useStyle = ItemUseStyleID.HoldingOut;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -496,7 +496,7 @@ namespace CalamityMod
|
||||
List<int> bosses = new List<int>() { NPCType<CeaselessVoid>(), NPCType<DarkEnergy>() };
|
||||
int summon = ItemType<RuneofCos>();
|
||||
List<int> loot = new List<int>() { ItemType<CeaselessVoidBag>(), ItemType<DarkPlasma>(), ItemType<MirrorBlade>(), ItemType<VoidConcentrationStaff>(), ItemType<TheEvolution>(), ItemType<SupremeHealingPotion>() };
|
||||
List<int> collection = new List<int>() { ItemType<CeaselessVoidTrophy>(), ItemType<CeaselessVoidMask>(), ItemType<GodSlayerHornedHelm>(), ItemType<GodSlayerVisage>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>() };
|
||||
List<int> collection = new List<int>() { ItemType<CeaselessVoidTrophy>(), ItemType<CeaselessVoidMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Dungeon";
|
||||
string despawn = CalamityUtils.ColorMessage("The rift in time and space has moved away from your reach.", new Color(0x4B, 0x00, 0x82));
|
||||
AddBoss(bossChecklist, calamity, "Ceaseless Void", order, bosses, DownedCeaselessVoid, summon, loot, collection, instructions, despawn);
|
||||
@@ -508,7 +508,7 @@ namespace CalamityMod
|
||||
List<int> segments = new List<int>() { NPCType<StormWeaverHead>(), NPCType<StormWeaverBody>(), NPCType<StormWeaverTail>() };
|
||||
int summon = ItemType<RuneofCos>();
|
||||
List<int> loot = new List<int>() { ItemType<StormWeaverBag>(), ItemType<ArmoredShell>(), ItemType<TheStorm>(), ItemType<StormDragoon>(), ItemType<Thunderstorm>(), ItemType<SupremeHealingPotion>() };
|
||||
List<int> collection = new List<int>() { ItemType<WeaverTrophy>(), ItemType<StormWeaverMask>(), ItemType<GodSlayerHornedHelm>(), ItemType<GodSlayerVisage>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>(), ItemType<LittleLight>() };
|
||||
List<int> collection = new List<int>() { ItemType<WeaverTrophy>(), ItemType<StormWeaverMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>(), ItemType<LittleLight>() };
|
||||
string instructions = $"Use a [i:{summon}] in Space";
|
||||
string despawn = CalamityUtils.ColorMessage("Storm Weaver hid itself once again within the stormfront.", new Color(0xEE, 0x82, 0xEE));
|
||||
string bossLogTex = "CalamityMod/NPCs/StormWeaver/StormWeaver_BossChecklist";
|
||||
@@ -521,7 +521,7 @@ namespace CalamityMod
|
||||
int type = NPCType<Signus>();
|
||||
int summon = ItemType<RuneofCos>();
|
||||
List<int> loot = new List<int>() { ItemType<SignusBag>(), ItemType<TwistingNether>(), ItemType<Cosmilamp>(), ItemType<CosmicKunai>(), ItemType<SpectralVeil>(), ItemType<SupremeHealingPotion>() };
|
||||
List<int> collection = new List<int>() { ItemType<SignusTrophy>(), ItemType<SignusMask>(), ItemType<GodSlayerHornedHelm>(), ItemType<GodSlayerVisage>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>() };
|
||||
List<int> collection = new List<int>() { ItemType<SignusTrophy>(), ItemType<SignusMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Underworld";
|
||||
string despawn = CalamityUtils.ColorMessage("The Devourer's assassin has finished its easy task.", new Color(0xBA, 0x55, 0xD3));
|
||||
AddBoss(bossChecklist, calamity, "Signus", order, type, DownedSignus, summon, loot, collection, instructions, despawn);
|
||||
@@ -557,7 +557,7 @@ namespace CalamityMod
|
||||
int type = NPCType<DevourerofGodsHead>();
|
||||
int summon = ItemType<CosmicWorm>();
|
||||
List<int> loot = new List<int>() { ItemType<DevourerofGodsBag>(), ItemType<CosmiliteBar>(), ItemType<CosmiliteBrick>(), ItemType<Excelsus>(), ItemType<TheObliterator>(), ItemType<Deathwind>(), ItemType<DeathhailStaff>(), ItemType<StaffoftheMechworm>(), ItemType<Eradicator>(), ItemType<Norfleet>(), ItemType<CosmicDischarge>(), ItemType<NebulousCore>(), ItemType<Fabsol>(), ItemType<OmegaHealingPotion>() };
|
||||
List<int> collection = new List<int>() { ItemType<DevourerofGodsTrophy>(), ItemType<DevourerofGodsMask>(), ItemType<SilvaHelm>(), ItemType<SilvaHornedHelm>(), ItemType<SilvaMask>(), ItemType<KnowledgeDevourerofGods>() };
|
||||
List<int> collection = new List<int>() { ItemType<DevourerofGodsTrophy>(), ItemType<DevourerofGodsMask>(), ItemType<KnowledgeDevourerofGods>() };
|
||||
string instructions = $"Use a [i:{summon}]";
|
||||
string despawn = CalamityUtils.ColorMessage("The Devourer of Gods has slain everyone and feasted on their essence.", new Color(0x00, 0xFF, 0xFF));
|
||||
string bossLogTex = "CalamityMod/NPCs/DevourerofGods/DevourerofGods_BossChecklist";
|
||||
|
||||
@@ -2,6 +2,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Ammo;
|
||||
using CalamityMod.Items.Ammo.FiniteUse;
|
||||
using CalamityMod.Items.Armor;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Dyes;
|
||||
using CalamityMod.Items.Dyes.HairDye;
|
||||
using CalamityMod.Items.Pets;
|
||||
@@ -1313,8 +1314,13 @@ namespace CalamityMod.NPCs
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<PinkSlabWallUnsafe>(), price: Item.buyPrice(copper: 10));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<PinkTiledWallUnsafe>(), price: Item.buyPrice(copper: 10));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<CounterScarf>(), price: Item.buyPrice(gold: 10));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.GoldenKey, Main.hardMode, Item.buyPrice(0, 5));
|
||||
}
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.GoldenKey, Main.hardMode, Item.buyPrice(0, 5));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<GodSlayerHornedHelm>(), CalamityWorld.downedDoG, price: Item.buyPrice(gold: 8));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<GodSlayerVisage>(), CalamityWorld.downedDoG, price: Item.buyPrice(gold: 8));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<SilvaHelm>(), CalamityWorld.downedDoG, price: Item.buyPrice(gold: 8));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<SilvaHornedHelm>(), CalamityWorld.downedDoG, price: Item.buyPrice(gold: 8));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<SilvaMask>(), CalamityWorld.downedDoG, price: Item.buyPrice(gold: 8));
|
||||
}
|
||||
|
||||
if (type == NPCID.Painter)
|
||||
{
|
||||
@@ -1333,7 +1339,7 @@ namespace CalamityMod.NPCs
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.GravitationPotion, true, Item.buyPrice(0, 2, 0, 0));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<HowlsHeart>());
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.MagicMissile, price: Item.buyPrice(0, 5));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.RodofDiscord, Main.hardMode && Main.LocalPlayer.ZoneHoly, price: Item.buyPrice(24), true);
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.RodofDiscord, Main.hardMode && Main.LocalPlayer.ZoneHoly, price: Item.buyPrice(20), true);
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.SpectreStaff, NPC.downedGolemBoss, Item.buyPrice(0, 25));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.InfernoFork, NPC.downedGolemBoss, Item.buyPrice(0, 25));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.ShadowbeamStaff, NPC.downedGolemBoss, Item.buyPrice(0, 25));
|
||||
|
||||
@@ -188,8 +188,6 @@ namespace CalamityMod.NPCs.CeaselessVoid
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<GodSlayerHornedHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<GodSlayerVisage>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2259,12 +2259,6 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<DevourerofGodsMask>(), 7);
|
||||
if (Main.rand.NextBool(5))
|
||||
{
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<SilvaHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<SilvaHornedHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<SilvaMask>());
|
||||
}
|
||||
}
|
||||
|
||||
// If DoG has not been killed yet, notify players that the holiday moons are buffed
|
||||
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 2.5 KiB |
@@ -780,8 +780,6 @@ namespace CalamityMod.NPCs.Signus
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<GodSlayerHornedHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<GodSlayerVisage>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -794,8 +794,6 @@ namespace CalamityMod.NPCs.StormWeaver
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<GodSlayerHornedHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<GodSlayerVisage>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,11 +42,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
Projectile.NewProjectile(projectile.Center + offset, projectile.velocity.SafeNormalize(Vector2.UnitY) * 15f, ModContent.ProjectileType<GaussEnergy>(), (int)(projectile.damage * 0.4), 0f, projectile.owner);
|
||||
};
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage += target.defense / 3;
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
{
|
||||
Vector2 drawPosition = projectile.position + new Vector2(projectile.width, projectile.height) / 2f + Vector2.UnitY * projectile.gfxOffY - Main.screenPosition;
|
||||
|
||||
@@ -70,11 +70,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
LaserBurst(1.8f, 3f);
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage -= target.defense / 5;
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.OnFire, 90);
|
||||
|
||||
@@ -52,11 +52,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
LaserBurst(1.8f, 3f);
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage -= target.defense / 5;
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.OnFire, 180);
|
||||
|
||||
@@ -38,11 +38,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
projectile.idStaticNPCHitCooldown = frameLength * horizontalFrames * verticalFrames / 2;
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage += target.defense / 4;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
projectile.frameCounter++;
|
||||
|
||||
@@ -87,11 +87,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
}
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage -= target.defense / 7;
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
projectile.damage = (int)(projectile.damage * 0.6);
|
||||
|
||||
@@ -41,11 +41,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
projectile.frameCounter++;
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage -= target.defense / 4;
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
{
|
||||
Texture2D bladeTexture = ModContent.GetTexture(Texture);
|
||||
|
||||
@@ -119,11 +119,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
HandleFadeout();
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage -= target.defense / 4;
|
||||
}
|
||||
|
||||
private void ManipulatePlayer(Player player, CalamityGlobalItem modItem)
|
||||
{
|
||||
if (Main.myPlayer == player.whoAmI)
|
||||
|
||||
@@ -92,11 +92,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
PlasmaBurst(1f, 1.6f);
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage += target.defense / 3;
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.OnFire, 180);
|
||||
|
||||
@@ -51,11 +51,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
Time++;
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage += target.defense / 4;
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/PlasmaGrenadeExplosion"), (int)projectile.position.X, (int)projectile.position.Y);
|
||||
|
||||
@@ -55,11 +55,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
}
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage += target.defense / 4;
|
||||
}
|
||||
|
||||
public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(projectile.Center, radius, targetHitbox);
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -62,11 +62,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage += target.defense / 2;
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 180);
|
||||
|
||||
@@ -48,11 +48,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
}
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage -= target.defense / 4;
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
CalamityGlobalProjectile.ExpandHitboxBy(projectile, 60);
|
||||
|
||||
@@ -128,11 +128,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
}
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
|
||||
{
|
||||
damage -= target.defense / 4;
|
||||
}
|
||||
|
||||
public override bool OnTileCollide(Vector2 oldVelocity)
|
||||
{
|
||||
ReturningToPlayer = true;
|
||||
|
||||
@@ -76,8 +76,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
damage /= 3;
|
||||
else if (projectile.penetrate == -1)
|
||||
projectile.penetrate = 1;
|
||||
|
||||
damage += target.defense / 3;
|
||||
}
|
||||
|
||||
public override bool OnTileCollide(Vector2 oldVelocity)
|
||||
|
||||
|
Before Width: | Height: | Size: 992 B After Width: | Height: | Size: 738 B |
|
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 260 B |
|
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 222 B |
|
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 338 B |
@@ -11,7 +11,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
public class StellarContemptHammer : ModProjectile
|
||||
{
|
||||
public override string Texture => "CalamityMod/Items/Weapons/Melee/StellarContemptMelee";
|
||||
public override string Texture => "CalamityMod/Items/Weapons/Melee/StellarContempt";
|
||||
|
||||
private static float RotationIncrement = 0.22f;
|
||||
private static int Lifetime = 240;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -603,6 +603,7 @@ namespace CalamityMod
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBody>(), ModContent.ProjectileType<SandTooth>()), new int[] { 66, 112, 128, 140, 192 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBodyAlt>(), ModContent.ProjectileType<SandBlast>()), new int[] { 60, 100, 120, 132, 180 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ProjectileID.DeathLaser), new int[] { 0, 0, 0, 152, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 72, 116, 128, 174 } }, // 108 in non-rev master mode
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 76, 128, 140, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 80, 136, 152, 210 } },
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
author = Fabsol and the Dev Team
|
||||
version = 1.5.0.004
|
||||
version = 1.5.1.001
|
||||
displayName = Calamity Mod (No Calamity Music)
|
||||
homepage = https://forums.terraria.org/index.php?threads/calamity-mod.44065/
|
||||
buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, .git\*, LICENSE, README.md, .editorconfig, .gitignore, .gitattributes
|
||||
|
||||