Compile Error fixes after rebase
This commit is contained in:
1 parent
d2e1478348
commit
289dfa7dda
5 files changed
+6
-7
No files matched your search
@@ -437,7 +437,7 @@ namespace CalamityMod.Balancing
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.5f, ProjectileType<YharimsCrystalBeam>()))));
|
||||
|
||||
// 45% resist to Prismatic Breaker's deathray.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.ThanatosIDs, Do(new ProjectileResistBalancingRule(0.55f, ProjectileType<PrismaticRay>()))));
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.55f, ProjectileType<PrismaticRay>()))));
|
||||
|
||||
// 45% resist to Wrathwing's stealth strike fireballs.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.55f, ProjectileType<WrathwingCinder>()))));
|
||||
|
||||
@@ -1711,7 +1711,7 @@ DukeEditFailed:
|
||||
|
||||
// All Skeletons
|
||||
// Ancient Bone Dust @ 20% Normal, 33.33% Expert+
|
||||
if (SkeletonList.IsSkeleton(npc.type))
|
||||
if (SkeletonList.Includes(npc.type))
|
||||
npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType<AncientBoneDust>(), 5, 3));
|
||||
|
||||
// All Hardmode Dungeon Enemies
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
using System;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.NPCs.NormalNPCs;
|
||||
using CalamityMod.Projectiles.BaseProjectiles;
|
||||
using CalamityMod.Systems.Collections;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.GameContent.ItemDropRules;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -82,7 +80,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
{
|
||||
Player player = Main.player[Projectile.owner];
|
||||
//Dont drop money from Dummies, WoF eyes and worm segments to make grinding money a bit harder and not give money from Dummies since that was apparently happening
|
||||
if (Projectile.owner == Main.myPlayer && target.IsAnEnemy(false) && !target.dontCountMe && !CalamityLists.needsDebuffIconDisplayList.Contains(target.type))
|
||||
if (Projectile.owner == Main.myPlayer && target.IsAnEnemy(false) && !target.dontCountMe && !NeedsDebuffIconDisplayList.Includes(target.type))
|
||||
{
|
||||
float moneyValueToDrop = target.value / Main.rand.NextFloat(15f, 35f);
|
||||
// Maximum of 50 silver, not counting steath strikes
|
||||
|
||||
@@ -3,7 +3,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables.Abyss;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace CalamityMod.Systems.Collections
|
||||
ProjectileID.NettleBurstEnd,
|
||||
ProjectileID.NettleBurstLeft,
|
||||
ProjectileID.NettleBurstRight,
|
||||
ProjectileID.PrincessWeapon,
|
||||
ProjectileType<AnahitasArpeggioNote>(),
|
||||
ProjectileType<AtlantisSpear>(),
|
||||
ProjectileType<AuroraFire>(),
|
||||
|
||||
Reference in new issue
Block a user