1 - Brimrose and Squishy Bean mounts are no longer Rev+-exclusive drops.
This commit is contained in:
1 parent
b850a218aa
commit
7d4a679ffd
6 files changed
+24
-13
No files matched your search
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
);
|
||||
|
||||
// Equipment
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<SquishyBeanMount>(), CalamityWorld.revenge && NPC.downedMoonlord);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<SquishyBeanMount>(), NPC.downedMoonlord);
|
||||
DropHelper.DropItem(player, ModContent.ItemType<GravistarSabaton>());
|
||||
|
||||
// Vanity
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
DropHelper.DropItem(player, ModContent.ItemType<Abaddon>());
|
||||
DropHelper.DropItem(player, ModContent.ItemType<Gehenna>());
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<RoseStone>(), 5);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<Brimrose>(), CalamityWorld.revenge && CalamityWorld.downedProvidence);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<Brimrose>(), CalamityWorld.downedProvidence);
|
||||
|
||||
// Vanity
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<CharredRelic>(), CalamityWorld.revenge);
|
||||
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Dusts;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -46,7 +47,7 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
npc.height = 280;
|
||||
npc.defense = 40;
|
||||
npc.DR_NERD(0.15f);
|
||||
npc.LifeMaxNERB(84000, NPC.downedMoonlord ? 292500 : 107000, 740000); // 30 seconds in boss rush
|
||||
npc.LifeMaxNERB(NPC.downedMoonlord ? 230000 : 84000, NPC.downedMoonlord ? 292500 : 107000, 740000); // 30 seconds in boss rush
|
||||
npc.aiStyle = -1;
|
||||
aiType = -1;
|
||||
npc.knockBackResist = 0f;
|
||||
@@ -55,7 +56,7 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
npc.DeathSound = SoundID.NPCDeath14;
|
||||
music = CalamityMod.Instance.GetMusicFromMusicMod("Astrageldon") ?? MusicID.Boss3;
|
||||
bossBag = ModContent.ItemType<AstrageldonBag>();
|
||||
if (NPC.downedMoonlord && CalamityWorld.revenge)
|
||||
if (NPC.downedMoonlord)
|
||||
{
|
||||
npc.value = Item.buyPrice(0, 25, 0, 0);
|
||||
}
|
||||
@@ -345,8 +346,11 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
DropHelper.WeightStack<AuroradicalThrow>(w)
|
||||
);
|
||||
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<AureusMask>(), 7);
|
||||
// Equipment
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<SquishyBeanMount>(), NPC.downedMoonlord);
|
||||
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<AureusMask>(), 7);
|
||||
|
||||
// Other
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AstralJelly>(), 9, 12);
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
npc.height = 60;
|
||||
npc.alpha = 255;
|
||||
npc.defense = 10;
|
||||
npc.lifeMax = 3000;
|
||||
npc.lifeMax = NPC.downedMoonlord ? 8250 : 3000;
|
||||
npc.knockBackResist = 0f;
|
||||
npc.noGravity = true;
|
||||
npc.noTileCollide = true;
|
||||
@@ -310,7 +310,7 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
Main.PlaySound(SoundID.Item, (int)npc.position.X, (int)npc.position.Y, 14);
|
||||
npc.position.X = npc.position.X + (float)(npc.width / 2);
|
||||
npc.position.Y = npc.position.Y + (float)(npc.height / 2);
|
||||
npc.damage = npc.defDamage;
|
||||
npc.damage = (NPC.downedMoonlord && !BossRushEvent.BossRushActive) ? npc.defDamage * 2 : npc.defDamage;
|
||||
npc.width = npc.height = 432;
|
||||
npc.position.X = npc.position.X - (float)(npc.width / 2);
|
||||
npc.position.Y = npc.position.Y - (float)(npc.height / 2);
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -174,9 +175,10 @@ namespace CalamityMod.NPCs.BrimstoneElemental
|
||||
// Equipment
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<RoseStone>(), 5);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Abaddon>(), 2);
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<Brimrose>(), CalamityWorld.downedProvidence);
|
||||
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<BrimstoneWaifuMask>(), 7);
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<BrimstoneWaifuMask>(), 7);
|
||||
}
|
||||
|
||||
//if brimmy hasn't been killed, you can mine charred ore
|
||||
|
||||
+8
-3
@@ -2584,6 +2584,9 @@ namespace CalamityMod.NPCs
|
||||
|
||||
CalamityGlobalNPC calamityGlobalNPC = npc.Calamity();
|
||||
|
||||
bool postMoonLordBuff = NPC.downedMoonlord && !BossRushEvent.BossRushActive;
|
||||
npc.damage = postMoonLordBuff ? npc.defDamage * 2 : npc.defDamage;
|
||||
|
||||
// Percent life remaining
|
||||
float lifeRatio = npc.life / (float)npc.lifeMax;
|
||||
|
||||
@@ -2694,8 +2697,9 @@ namespace CalamityMod.NPCs
|
||||
float velocity = death ? 8f : 7f;
|
||||
int type = ModContent.ProjectileType<AstralFlame>();
|
||||
int damage = npc.GetProjectileDamage(type);
|
||||
if (NPC.downedMoonlord && revenge && !BossRushEvent.BossRushActive)
|
||||
if (postMoonLordBuff)
|
||||
damage *= 2;
|
||||
|
||||
float spreadLimit = (phase3 ? 100f : 50f) + enrageScale * 50f;
|
||||
float randomSpread = (Main.rand.NextFloat() - 0.5f) * spreadLimit;
|
||||
Vector2 spawnVector = new Vector2(npc.Center.X, npc.Center.Y - 80f);
|
||||
@@ -2737,7 +2741,7 @@ namespace CalamityMod.NPCs
|
||||
|
||||
int type = ModContent.ProjectileType<AstralLaser>();
|
||||
int damage = npc.GetProjectileDamage(type);
|
||||
if (NPC.downedMoonlord && revenge && !BossRushEvent.BossRushActive)
|
||||
if (postMoonLordBuff)
|
||||
damage *= 2;
|
||||
|
||||
for (int i = 0; i < maxProjectiles; i++)
|
||||
@@ -3023,8 +3027,9 @@ namespace CalamityMod.NPCs
|
||||
num182 *= num183;
|
||||
int type = ModContent.ProjectileType<AstralLaser>();
|
||||
int damage = npc.GetProjectileDamage(type);
|
||||
if (NPC.downedMoonlord && revenge && !BossRushEvent.BossRushActive)
|
||||
if (postMoonLordBuff)
|
||||
damage *= 2;
|
||||
|
||||
value9.X += num180;
|
||||
value9.Y += num182;
|
||||
for (int i = 0; i < maxProjectiles; i++)
|
||||
|
||||
Reference in new issue
Block a user