1 - Buffed Gilded Proboscis damage.
2 - Buffed Celestial Reaper damage, nerfed stealth strike. 3 - Nerfed Utensil Poker stealth strike. 4 - Nerfed Dazzling Stabber Staff damage. 5 - Adjusted Polter tile enrage again. 6 - Polterghast and Signus no longer resist Celestial Reaper. 7 - Signus resists Lunar Kunai more. 8 - Blood Boiler fire ignore more i-frames.
This commit is contained in:
1 parent
cc6f91ec9b
commit
e100f3d91c
9 files changed
+21
-21
No files matched your search
@@ -10,14 +10,13 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Gilded Proboscis");
|
||||
Tooltip.SetDefault("Ignores immunity frames\n" +
|
||||
"Heals the player on hit");
|
||||
Tooltip.SetDefault("Heals the player on hit");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 66;
|
||||
item.damage = 150;
|
||||
item.damage = 350;
|
||||
item.melee = true;
|
||||
item.noMelee = true;
|
||||
item.useTurn = true;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class CelestialReaper : RogueWeapon
|
||||
{
|
||||
public const int BaseDamage = 120;
|
||||
public const int BaseDamage = 140;
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Celestial Reaper");
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
if (player.Calamity().StealthStrikeAvailable() && counter == 0)
|
||||
{
|
||||
int stealth = Projectile.NewProjectile(position.X, position.Y, speedX * 1.2f, speedY * 1.2f, ModContent.ProjectileType<ButcherKnife>(), (int)(damage * 1.1), knockBack, player.whoAmI);
|
||||
int stealth = Projectile.NewProjectile(position.X, position.Y, speedX * 1.2f, speedY * 1.2f, ModContent.ProjectileType<ButcherKnife>(), (int)(damage * 0.6), knockBack, player.whoAmI);
|
||||
if (stealth.WithinBounds(Main.maxProjectiles))
|
||||
Main.projectile[stealth].Calamity().stealthStrike = true;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.UseSound = SoundID.DD2_DarkMageHealImpact;
|
||||
item.summon = true;
|
||||
item.mana = 12;
|
||||
item.damage = 128;
|
||||
item.damage = 120;
|
||||
item.knockBack = 2f;
|
||||
item.autoReuse = true;
|
||||
item.useTime = item.useAnimation = 15;
|
||||
|
||||
@@ -3358,18 +3358,18 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
else if (npc.type == NPCType<Polterghast.Polterghast>())
|
||||
{
|
||||
if (projectile.type == ProjectileType<LunarKunaiProj>() || projectile.type == ProjectileType<CelestialReaperProjectile>() || projectile.type == ProjectileType<CelestialReaperAfterimage>() ||
|
||||
projectile.type == ProjectileType<Knife>() || projectile.type == ProjectileType<Fork>() || projectile.type == ProjectileType<CarvingFork>() || projectile.type == ProjectileType<ButcherKnife>())
|
||||
if (projectile.type == ProjectileType<LunarKunaiProj>() || projectile.type == ProjectileType<Knife>() || projectile.type == ProjectileType<Fork>() ||
|
||||
projectile.type == ProjectileType<CarvingFork>() || projectile.type == ProjectileType<ButcherKnife>())
|
||||
{
|
||||
damage = (int)(damage * 0.75);
|
||||
}
|
||||
}
|
||||
else if (npc.type == NPCType<Signus.Signus>())
|
||||
{
|
||||
if (projectile.type == ProjectileType<CelestialReaperProjectile>() || projectile.type == ProjectileType<CelestialReaperAfterimage>() || projectile.type == ProjectileType<Knife>() ||
|
||||
projectile.type == ProjectileType<Fork>() || projectile.type == ProjectileType<CarvingFork>() || projectile.type == ProjectileType<ButcherKnife>() || projectile.type == ProjectileType<LunarKunaiProj>())
|
||||
if (projectile.type == ProjectileType<Knife>() || projectile.type == ProjectileType<Fork>() || projectile.type == ProjectileType<CarvingFork>() ||
|
||||
projectile.type == ProjectileType<ButcherKnife>() || projectile.type == ProjectileType<LunarKunaiProj>())
|
||||
{
|
||||
damage = (int)(damage * 0.75);
|
||||
damage = (int)(damage * 0.6);
|
||||
}
|
||||
}
|
||||
else if (npc.type == NPCID.CultistBoss)
|
||||
|
||||
@@ -287,8 +287,8 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
|
||||
// Scale multiplier based on nearby active tiles
|
||||
float tileEnrageMult = 1f;
|
||||
if (nearbyActiveTiles < 1800)
|
||||
tileEnrageMult += (1800 - nearbyActiveTiles) * 0.0005f; // Ranges from 1f to 1.9f
|
||||
if (nearbyActiveTiles < 1000)
|
||||
tileEnrageMult += (1000 - nearbyActiveTiles) * 0.00075f; // Ranges from 1f to 1.75f
|
||||
|
||||
// Used to inform clone and hooks about number of active tiles nearby
|
||||
npc.ai[3] = tileEnrageMult;
|
||||
@@ -306,8 +306,8 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
|
||||
// Increase damage of projectiles and contact damage based on number of nearby active tiles
|
||||
int damageIncrease = 0;
|
||||
if (nearbyActiveTiles < 900)
|
||||
damageIncrease += (900 - nearbyActiveTiles) / 45; // Ranges from 0 to 20
|
||||
if (nearbyActiveTiles < 1000)
|
||||
damageIncrease += (1000 - nearbyActiveTiles) / 50; // Ranges from 0 to 20
|
||||
|
||||
// Look at target
|
||||
float num740 = player.Center.X - vector.X;
|
||||
@@ -416,7 +416,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
}
|
||||
|
||||
// Slow down considerably if near player
|
||||
if (!speedUp && nearbyActiveTiles > 1800 && !Collision.SolidCollision(npc.position, npc.width, npc.height) && Collision.CanHit(npc.position, npc.width, npc.height, player.position, player.width, player.height) && !charging)
|
||||
if (!speedUp && nearbyActiveTiles > 1000 && !Collision.SolidCollision(npc.position, npc.width, npc.height) && Collision.CanHit(npc.position, npc.width, npc.height, player.position, player.width, player.height) && !charging)
|
||||
{
|
||||
if (npc.velocity.Length() > velocity)
|
||||
npc.velocity *= 0.97f;
|
||||
|
||||
@@ -850,6 +850,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
int chains = 4;
|
||||
float interval = totalFlameProjectiles / chains * divisor;
|
||||
double patternInterval = Math.Floor(npc.ai[3] / interval);
|
||||
int healingStarChance = revenge ? 8 : expertMode ? 6 : 4;
|
||||
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
@@ -869,7 +870,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
vector2 *= cocoonProjVelocity;
|
||||
|
||||
int projectileType = ModContent.ProjectileType<HolyBurnOrb>();
|
||||
if (Main.rand.NextBool(4) && !death)
|
||||
if (Main.rand.NextBool(healingStarChance) && !death)
|
||||
projectileType = ModContent.ProjectileType<HolyLight>();
|
||||
|
||||
int dmgAmt = nightTime ? -300 : npc.GetProjectileDamageNoScaling(projectileType);
|
||||
@@ -896,7 +897,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
Vector2 vector2 = new Vector2(0f, -cocoonProjVelocity).RotatedBy(radians * i);
|
||||
|
||||
int projectileType = ModContent.ProjectileType<HolyBurnOrb>();
|
||||
if (Main.rand.NextBool(4) && !death)
|
||||
if (Main.rand.NextBool(healingStarChance) && !death)
|
||||
projectileType = ModContent.ProjectileType<HolyLight>();
|
||||
|
||||
int dmgAmt = nightTime ? -300 : npc.GetProjectileDamageNoScaling(projectileType);
|
||||
@@ -906,7 +907,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
}
|
||||
}
|
||||
|
||||
// Fire a flame towards every player, with a limit of 10
|
||||
// Fire a flame towards every player, with a limit of 5
|
||||
if (npc.ai[3] % 60f == 0f && expertMode)
|
||||
{
|
||||
List<int> targets = new List<int>();
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
projectile.penetrate = -1;
|
||||
projectile.extraUpdates = 1;
|
||||
projectile.usesIDStaticNPCImmunity = true;
|
||||
projectile.idStaticNPCHitCooldown = 10;
|
||||
projectile.idStaticNPCHitCooldown = 5;
|
||||
projectile.timeLeft = 300;
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
framesNeeded /= 6f - projectile.penetrate + 1f; // The addition of 1 is to prevent division by zero. The more hits, the more afterimages.
|
||||
if (projectile.timeLeft % (int)framesNeeded == 0f)
|
||||
{
|
||||
Projectile.NewProjectile(projectile.Center, projectile.velocity, ModContent.ProjectileType<CelestialReaperAfterimage>(), projectile.damage / 2, projectile.knockBack / 2f, projectile.owner);
|
||||
Projectile.NewProjectile(projectile.Center, projectile.velocity, ModContent.ProjectileType<CelestialReaperAfterimage>(), projectile.damage / 4, projectile.knockBack / 4f, projectile.owner);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user