Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into 1.4.4
This commit is contained in:
commit
26aa695d2d
28 files changed
+39
-108
No files matched your search
@@ -97,23 +97,23 @@ namespace CalamityMod.Balancing
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType<Crabulon>(), ResistTrueMelee(0.8f)));
|
||||
#endregion
|
||||
|
||||
#region Brain of Cthulhu: Creepers
|
||||
// 50% resist to true melee.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(ResistTrueMelee(0.5f))));
|
||||
|
||||
// 50% resist to Demon Scythe.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe))));
|
||||
#endregion
|
||||
|
||||
#region Eater of Worlds
|
||||
// 50% resist to true melee.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(ResistTrueMelee(0.5f))));
|
||||
|
||||
// 50% resist to Demon Scythe.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe))));
|
||||
|
||||
// 40% resist to Sky Glaze.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(new ProjectileResistBalancingRule(0.6f, ProjectileType<StickyFeather>()))));
|
||||
|
||||
// 25% resist to true melee.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(ResistTrueMelee(0.75f))));
|
||||
#endregion
|
||||
|
||||
#region Brain of Cthulhu: Creepers
|
||||
// 50% resist to Demon Scythe.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe))));
|
||||
|
||||
// 25% resist to true melee.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(ResistTrueMelee(0.75f))));
|
||||
#endregion
|
||||
|
||||
#region The Perforators
|
||||
|
||||
@@ -18,11 +18,6 @@ namespace CalamityMod.Buffs.StatDebuffs
|
||||
BuffID.Sets.LongerExpertDebuff[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.Calamity().gState = true;
|
||||
}
|
||||
|
||||
public override void Update(NPC npc, ref int buffIndex)
|
||||
{
|
||||
if (npc.Calamity().gState < npc.buffTime[buffIndex])
|
||||
@@ -32,20 +27,5 @@ namespace CalamityMod.Buffs.StatDebuffs
|
||||
npc.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
|
||||
internal static void DrawEffects(PlayerDrawSet drawInfo)
|
||||
{
|
||||
Player Player = drawInfo.drawPlayer;
|
||||
|
||||
if (Main.rand.NextBool(4))
|
||||
{
|
||||
Dust d = Dust.NewDustDirect(Player.Center - 10 * Vector2.One, 20, 20, DustID.IcyMerman);
|
||||
d.noGravity = Main.rand.NextBool();
|
||||
d.noLight = false;
|
||||
d.velocity *= 0.2f;
|
||||
d.velocity.Y -= Main.rand.NextFloat(0.4f, 0.6f);
|
||||
d.scale = Main.rand.NextFloat(0.4f, 0.7f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1263,7 +1263,6 @@ namespace CalamityMod.CalPlayer
|
||||
public bool pFlames = false;
|
||||
public bool hFlames = false;
|
||||
public bool hInferno = false;
|
||||
public bool gState = false;
|
||||
public bool bBlood = false;
|
||||
public bool brainRot = false;
|
||||
public bool heavybleeding = false;
|
||||
@@ -2480,7 +2479,6 @@ namespace CalamityMod.CalPlayer
|
||||
pFlames = false;
|
||||
hFlames = false;
|
||||
hInferno = false;
|
||||
gState = false;
|
||||
bBlood = false;
|
||||
brainRot = false;
|
||||
heavybleeding = false;
|
||||
@@ -2948,7 +2946,6 @@ namespace CalamityMod.CalPlayer
|
||||
pFlames = false;
|
||||
hFlames = false;
|
||||
hInferno = false;
|
||||
gState = false;
|
||||
bBlood = false;
|
||||
brainRot = false;
|
||||
heavybleeding = false;
|
||||
|
||||
@@ -230,15 +230,6 @@ namespace CalamityMod.CalPlayer
|
||||
if (calamityPlayer.eutrophication && drawInfo.shadow == 0f)
|
||||
Eutrophication.DrawEffects(drawInfo);
|
||||
|
||||
if (calamityPlayer.gState && drawInfo.shadow == 0f)
|
||||
{
|
||||
// These lines cannot be moved to Glacial State's own file
|
||||
r *= 0.13f;
|
||||
g *= 0.66f;
|
||||
|
||||
GlacialState.DrawEffects(drawInfo);
|
||||
}
|
||||
|
||||
if (calamityPlayer.gsInferno && drawInfo.shadow == 0f)
|
||||
GodSlayerInferno.DrawEffects(drawInfo);
|
||||
|
||||
|
||||
@@ -2012,7 +2012,7 @@ namespace CalamityMod.CalPlayer
|
||||
SyncCooldownRemoval(Main.dedServ, expiredCooldowns);
|
||||
|
||||
// Grant the player 5 seconds of immunity to immobilizing debuffs after an immobilizing debuff wears off.
|
||||
if (Player.stoned || Player.frozen || Player.webbed || gState)
|
||||
if (Player.stoned || Player.frozen || Player.webbed)
|
||||
{
|
||||
ImmobilityDebuffImmunityTimer = ImmobilityDebuffImmunityTimerMax;
|
||||
}
|
||||
@@ -2022,7 +2022,6 @@ namespace CalamityMod.CalPlayer
|
||||
Player.buffImmune[BuffID.Stoned] = true;
|
||||
Player.buffImmune[BuffID.Frozen] = true;
|
||||
Player.buffImmune[BuffID.Webbed] = true;
|
||||
Player.buffImmune[ModContent.BuffType<GlacialState>()] = true;
|
||||
}
|
||||
|
||||
if (arsenalCooldown > 0)
|
||||
@@ -2623,7 +2622,6 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
Player.buffImmune[BuffID.Frozen] = true;
|
||||
Player.buffImmune[BuffID.Chilled] = true;
|
||||
Player.buffImmune[ModContent.BuffType<GlacialState>()] = true;
|
||||
}
|
||||
|
||||
// Cosmic Discharge Cosmic Freeze buff, gives surrounding enemies the Glacial State debuff
|
||||
@@ -3319,12 +3317,12 @@ namespace CalamityMod.CalPlayer
|
||||
if (AdamantiteSet)
|
||||
Player.statDefense += AdamantiteSetDefenseBoost;
|
||||
|
||||
// Warmth makes Chilled, Frozen, and Glacial State tick down 3x as fast
|
||||
// Warmth makes Chilled and Frozen tick down 3x as fast
|
||||
if (Player.HasBuff(BuffID.Warmth))
|
||||
{
|
||||
for (int b = 0; b < Player.MaxBuffs; b++)
|
||||
{
|
||||
if (Player.buffType[b] == BuffID.Chilled || Player.buffType[b] == BuffID.Frozen || Player.buffType[b] == ModContent.BuffType<GlacialState>())
|
||||
if (Player.buffType[b] == BuffID.Chilled || Player.buffType[b] == BuffID.Frozen)
|
||||
{
|
||||
if (Player.buffTime[b] > 3)
|
||||
{
|
||||
@@ -3717,14 +3715,6 @@ namespace CalamityMod.CalPlayer
|
||||
Player.statDefense -= RemsRevenge.WitherDefenseReduction;
|
||||
}
|
||||
|
||||
if (gState)
|
||||
{
|
||||
Player.velocity.X *= 0.5f;
|
||||
Player.velocity.Y += 0.05f;
|
||||
if (Player.velocity.Y > 15f)
|
||||
Player.velocity.Y = 15f;
|
||||
}
|
||||
|
||||
if (eutrophication && !purity)
|
||||
Player.velocity = Vector2.Zero;
|
||||
|
||||
|
||||
@@ -67,7 +67,6 @@ namespace CalamityMod.Items.Armor.Fearmonger
|
||||
ModContent.BuffType<GodSlayerInferno>(),
|
||||
BuffID.Chilled,
|
||||
BuffID.Frozen,
|
||||
ModContent.BuffType<GlacialState>(),
|
||||
};
|
||||
for (var i = 0; i < immuneDebuffs.Length; ++i)
|
||||
player.buffImmune[immuneDebuffs[i]] = true;
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
player.Calamity().eskimoSet = true;
|
||||
|
||||
player.buffImmune[BuffID.Frostburn] = true;
|
||||
player.buffImmune[ModContent.BuffType<GlacialState>()] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,7 +42,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void OnHitPvp(Player player, Player target, Player.HurtInfo hurtInfo)
|
||||
{
|
||||
target.AddBuff(BuffID.Frostburn2, 300);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 60);
|
||||
var source = player.GetSource_ItemUse(Item);
|
||||
int p = Projectile.NewProjectile(source, target.Center, Vector2.Zero, ModContent.ProjectileType<DarkIceZero>(), Item.damage, 12f, player.whoAmI);
|
||||
Main.projectile[p].Kill();
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 60;
|
||||
Item.height = 30;
|
||||
Item.damage = 135;
|
||||
Item.damage = 120;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 5;
|
||||
Item.useAnimation = 25;
|
||||
|
||||
@@ -63,9 +63,6 @@ FlareBomb.DisplayName: Flare Bomb
|
||||
FlareDust.DisplayName: Flare Dust
|
||||
FlareDust2.DisplayName: Flare Bomb
|
||||
Flarenado.DisplayName: Flarenado
|
||||
FoveanatorEnergyBomb.DisplayName: Nebulous Energy Bomb
|
||||
FoveanatorLaser.DisplayName: Nebulous Laser
|
||||
FoveanatorFlamethrower.DisplayName: Nebulous Flames
|
||||
FrostMist.DisplayName: Frost Mist
|
||||
GooglyEye.DisplayName: Googly Eye
|
||||
GreatSandBlast.DisplayName: Great Sand Blast
|
||||
|
||||
@@ -39,7 +39,7 @@ SetBonus: {
|
||||
'''
|
||||
Multiplies all cold-based debuff damage by 1.25x
|
||||
Cold enemies will deal reduced contact damage to the player
|
||||
Provides immunity to the Chilled, Frozen, Frostburn and Glacial State debuffs
|
||||
Provides immunity to the Chilled, Frozen, and Frostburn debuffs
|
||||
'''
|
||||
Rain:
|
||||
'''
|
||||
|
||||
@@ -27,7 +27,7 @@ AddedTooltip: {
|
||||
This grants +1.5 HP/s life regen and accelerates natural life regen
|
||||
Life drain stacks based on the number of enemies being hit
|
||||
'''
|
||||
WarmthPotion: Greatly reduces the duration of Chilled, Frozen, and Glacial State
|
||||
WarmthPotion: Greatly reduces the duration of Chilled and Frozen
|
||||
HandWarmer: Provides a regeneration boost while wearing the Snow armor
|
||||
GoldenFishingRod: Its fishing line will never break
|
||||
// Step Stool
|
||||
@@ -296,7 +296,7 @@ BuffDescription: {
|
||||
ChaosState: Rod of Discord teleports are disabled
|
||||
LeafCrystal: Emits powerful life pulses at nearby enemies
|
||||
Rabies: Decreased life regen, Causes status effects
|
||||
WarmthExtra: Reduced durations of Chilled, Frozen, and Glacial State
|
||||
WarmthExtra: Reduced durations of Chilled and Frozen
|
||||
WeaponImbueConfetti: All attacks cause confetti to appear
|
||||
WeaponImbueCursedFlames: Melee, Whip, and Rogue attacks inflict enemies with cursed flames
|
||||
WeaponImbueFire: Melee, Whip, and Rogue attacks set enemies on fire
|
||||
|
||||
@@ -101,9 +101,6 @@ namespace CalamityMod.Projectiles.Boss
|
||||
{
|
||||
target.AddBuff(BuffID.Frostburn, 180, true);
|
||||
target.AddBuff(BuffID.Chilled, 90, true);
|
||||
|
||||
if (!target.Calamity().gState)
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,6 +163,6 @@ namespace CalamityMod.Projectiles.Boss
|
||||
// Prevent the crystals from utilizing velocity. Their movement is entirely dependant on Center setting.
|
||||
public override bool ShouldUpdatePosition() => false;
|
||||
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(ModContent.BuffType<GlacialState>(), 300);
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(BuffID.Frozen, 300);
|
||||
}
|
||||
}
|
||||
@@ -315,7 +315,6 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), Terratomere.TrueMeleeGlacialStateTime);
|
||||
OnHitHealEffect(info.Damage);
|
||||
}
|
||||
#endregion Hit Effects and Collision
|
||||
|
||||
@@ -198,7 +198,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
if (improvedHeal)
|
||||
{
|
||||
BloodstoneHealOrb.Heal(player, 8);
|
||||
BloodstoneHealOrb.Heal(player, 6);
|
||||
}
|
||||
|
||||
Projectile.Kill();
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
else
|
||||
{
|
||||
// Gravity
|
||||
Projectile.velocity.Y += 0.11f;
|
||||
Projectile.velocity.Y += 0.07f;
|
||||
|
||||
// Cap velocity.
|
||||
speed = Projectile.velocity.Length();
|
||||
@@ -104,16 +104,14 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
private void OnHitEffects(int damage)
|
||||
{
|
||||
grind += 5; //THE GRIND NEVER STOPS
|
||||
if (grind > 15)
|
||||
grind = 15; // except when it's too much
|
||||
grind += 6; //THE GRIND NEVER STOPS
|
||||
if (grind > 18)
|
||||
grind = 18; // except when it's too much
|
||||
|
||||
if (Projectile.Calamity().stealthStrike && Projectile.owner == Main.myPlayer) //stealth strike attack
|
||||
{
|
||||
int projID = ModContent.ProjectileType<Blood>();
|
||||
int bloodDamage = Projectile.damage;
|
||||
float bloodKB = 1f;
|
||||
int stealth = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.UnitX.RotatedByRandom(MathHelper.TwoPi)*4f, projID, bloodDamage, bloodKB, Projectile.owner, 1f, 0.85f + Main.rand.NextFloat() * 1.15f);
|
||||
int stealth = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.UnitX.RotatedByRandom(MathHelper.Pi) * 4f, projID, (int)(Projectile.damage * 0.5f), 1f, Projectile.owner, 1f, 0.85f + Main.rand.NextFloat() * 1.15f);
|
||||
if (stealth.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Main.projectile[stealth].DamageType = RogueDamageClass.Instance;
|
||||
@@ -127,7 +125,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
float spreadAmount = MathHelper.ToRadians(360);
|
||||
for (var i = 0; i < orbAmount; i++)
|
||||
{
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.One.RotatedByRandom(spreadAmount) * 2f * Main.rand.NextFloat(0.75f, 1.25f), ModContent.ProjectileType<BloodstoneHealOrb>(), 20, 0f, Projectile.owner);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.One.RotatedByRandom(spreadAmount) * 2f * Main.rand.NextFloat(0.75f, 1.25f), ModContent.ProjectileType<BloodstoneHealOrb>(), 10, 0f, Projectile.owner);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,7 +121,6 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info)
|
||||
{
|
||||
target.AddBuff(BuffID.Frostburn2, 180);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 30);
|
||||
}
|
||||
|
||||
public override bool? CanDamage() => Projectile.ai[0] == 0f ? null : false;
|
||||
|
||||
@@ -130,7 +130,6 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info)
|
||||
{
|
||||
target.AddBuff(BuffID.Frostburn2, 180);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 30);
|
||||
}
|
||||
|
||||
public override bool? CanDamage() => Projectile.ai[0] == 0f ? null : false;
|
||||
|
||||
@@ -82,7 +82,6 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Voidfrost>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 150);
|
||||
}
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
|
||||
@@ -90,19 +90,6 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
int ice = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType<CosmicIceBurst>(), (int)(Projectile.damage * 1.5), Projectile.knockBack, Projectile.owner, 0f, 0.85f + Main.rand.NextFloat() * 1.15f, 1f);
|
||||
if (ice.WithinBounds(Main.maxProjectiles))
|
||||
Main.projectile[ice].DamageType = RogueDamageClass.Instance;
|
||||
|
||||
int buffType = ModContent.BuffType<GlacialState>();
|
||||
float radius = 112f; // 7 blocks
|
||||
|
||||
foreach (Player player in Main.ActivePlayers)
|
||||
{
|
||||
Player owner = Main.player[Projectile.owner];
|
||||
if ((owner.team != player.team || player.team == 0) && player.hostile && owner.hostile && !player.dead && !player.buffImmune[buffType] && Vector2.Distance(Projectile.Center, player.Center) <= radius)
|
||||
{
|
||||
if (player.FindBuffIndex(buffType) == -1)
|
||||
player.AddBuff(buffType, 60, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -198,8 +198,6 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
{
|
||||
OnHitEffects(target);
|
||||
target.AddBuff(BuffID.Frostburn2, 120);
|
||||
if (Projectile.Calamity().stealthStrike)
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 45);
|
||||
}
|
||||
|
||||
public override bool OnTileCollide(Vector2 oldVelocity)
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = 6;
|
||||
Projectile.DamageType = DamageClass.Summon;
|
||||
Projectile.Calamity().BloodstoneOrbValue = 20; //Bloodstone Orb lifesteal. May want to go back to regular lifesteal.
|
||||
Projectile.Calamity().BloodstoneOrbValue = 12; //Bloodstone Orb lifesteal. May want to go back to regular lifesteal.
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
@@ -54,13 +54,13 @@ namespace CalamityMod.Projectiles.Summon
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Main.rand.NextBool(600))
|
||||
if (Main.rand.NextBool(800))
|
||||
{
|
||||
SoundStyle glubNoise = Main.rand.NextBool() ? SoundID.Zombie35 : SoundID.Zombie34;
|
||||
SoundStyle trollBirdChirpingSound = SoundID.Zombie16;
|
||||
|
||||
// 1/200th chance to do a bird chirping sound.
|
||||
SoundEngine.PlaySound(Main.rand.NextBool(200) ? trollBirdChirpingSound : glubNoise, Projectile.Center);
|
||||
// 1/2000th chance to do a bird chirping sound.
|
||||
SoundEngine.PlaySound(Main.rand.NextBool(2000) ? trollBirdChirpingSound : glubNoise, Projectile.Center);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,10 @@ namespace CalamityMod.Projectiles.Summon
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
}
|
||||
|
||||
public override bool? CanHitNPC(NPC target)
|
||||
{
|
||||
return target.CanBeChasedBy() ? null : false;
|
||||
}
|
||||
public override void AI()
|
||||
{
|
||||
if (TargetShot is not null && TargetShot.active)
|
||||
|
||||
@@ -36,7 +36,10 @@ namespace CalamityMod.Projectiles.Summon
|
||||
Projectile.DamageType = DamageClass.Summon;
|
||||
}
|
||||
public override bool? CanDamage() => ableToHit ? (bool?)null : false;
|
||||
|
||||
public override bool? CanHitNPC(NPC target)
|
||||
{
|
||||
return target.CanBeChasedBy() ? null : false;
|
||||
}
|
||||
public override void AI()
|
||||
{
|
||||
Player player = Main.player[Projectile.owner];
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace CalamityMod.Projectiles.Turret
|
||||
}
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 30);
|
||||
target.AddBuff(BuffID.Frozen, 30);
|
||||
target.AddBuff(BuffID.Frostburn, 180);
|
||||
if (Projectile.hostile && Main.netMode == NetmodeID.MultiplayerClient) //hostile version pierces through players in multiplayer
|
||||
return;
|
||||
|
||||
@@ -83,10 +83,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
Player player = Main.player[Projectile.owner];
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
if (!modPlayer.CryoStoneVanity)
|
||||
{
|
||||
target.AddBuff(BuffID.Frostburn2, 180);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 30);
|
||||
}
|
||||
}
|
||||
|
||||
public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(Projectile.Center, Projectile.Size.Length() * 0.5f, targetHitbox);
|
||||
|
||||
Reference in new issue
Block a user