Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into 1.4.4
This commit is contained in:
commit
d1203e8584
2 files changed
+5
-5
No files matched your search
@@ -1443,7 +1443,7 @@ namespace CalamityMod.Items
|
||||
player.AddBuff(BuffID.DryadsWard, 5, true); // Dryad's Blessing
|
||||
}
|
||||
}
|
||||
else if (item.type == ItemID.FestiveWings) // Drop powerful homing christmas tree bulbs while in flight
|
||||
else if (item.type == ItemID.FestiveWings) // Drop homing christmas tree bulbs while in flight
|
||||
{
|
||||
player.noFallDmg = true;
|
||||
player.statLifeMax2 += 40;
|
||||
@@ -1452,13 +1452,13 @@ namespace CalamityMod.Items
|
||||
var source = player.GetSource_Accessory(item);
|
||||
if (player.controlJump && player.jump == 0 && player.velocity.Y != 0f && !player.mount.Active && !player.mount.Cart)
|
||||
{
|
||||
int ornamentDamage = (int)player.GetBestClassDamage().ApplyTo(100);
|
||||
int ornamentDamage = (int)player.GetBestClassDamage().ApplyTo(50);
|
||||
int p = Projectile.NewProjectile(source, player.Center, Vector2.UnitY * 2f, ProjectileID.OrnamentFriendly, ornamentDamage, 5f, player.whoAmI);
|
||||
if (p.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Main.projectile[p].DamageType = DamageClass.Generic;
|
||||
Main.projectile[p].Calamity().lineColor = 1;
|
||||
modPlayer.icicleCooldown = 10;
|
||||
modPlayer.icicleCooldown = 15;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -489,8 +489,8 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
}
|
||||
|
||||
// Laser rate of fire
|
||||
float shootProjectileTime = death ? (masterMode ? (phase5 ? 30f : phase4 ? 60f : 90f) : 270f) : (masterMode ? (phase5 ? 90f : phase4 ? 120f : 150f) : 450f);
|
||||
float bodySegmentTime = npc.ai[0] * (masterMode ? 15f : 30f);
|
||||
float shootProjectileTime = death ? (masterMode ? (phase5 ? 120f : phase4 ? 150f : 180f) : 270f) : (masterMode ? (phase5 ? 150f : phase4 ? 210f : 270f) : 450f);
|
||||
float bodySegmentTime = npc.ai[0] * (masterMode ? 20f : 30f);
|
||||
float shootProjectileGateValue = bodySegmentTime + shootProjectileTime;
|
||||
float laserTimerIncrement = (calamityGlobalNPC.newAI[0] > shootProjectileGateValue - LaserTelegraphTime) ? 1f : 2f;
|
||||
if (ableToFireLaser)
|
||||
|
||||
Reference in new issue
Block a user