Fuck
No files matched your search
@@ -373,8 +373,6 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
if (modPlayer.eGravity)
|
||||
{
|
||||
player.velocity.X *= 0.99f;
|
||||
|
||||
if (player.wingTimeMax < 0)
|
||||
player.wingTimeMax = 0;
|
||||
|
||||
@@ -386,8 +384,6 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
if (modPlayer.eGrav)
|
||||
{
|
||||
player.velocity.X *= 0.99f;
|
||||
|
||||
if (player.wingTimeMax < 0)
|
||||
player.wingTimeMax = 0;
|
||||
|
||||
@@ -397,9 +393,6 @@ namespace CalamityMod.CalPlayer
|
||||
player.wingTimeMax = 200;
|
||||
}
|
||||
|
||||
if (modPlayer.warped)
|
||||
player.velocity.X *= 0.99f;
|
||||
|
||||
if (modPlayer.molluskSet)
|
||||
player.velocity.X *= 0.985f;
|
||||
|
||||
|
||||
@@ -1082,11 +1082,11 @@ namespace CalamityMod
|
||||
NPCID.QueenBee,
|
||||
NPCID.FlyingSnake,
|
||||
NPCID.Golem,
|
||||
NPCID.GolemHead,
|
||||
NPCID.GolemFistLeft,
|
||||
NPCID.GolemFistRight,
|
||||
NPCID.Reaper,
|
||||
NPCID.Plantera,
|
||||
NPCID.PlanterasHook,
|
||||
NPCID.PlanterasTentacle,
|
||||
NPCID.BrainofCthulhu,
|
||||
NPCID.Creeper,
|
||||
@@ -1104,6 +1104,9 @@ namespace CalamityMod
|
||||
NPCID.StardustWormHead,
|
||||
NPCID.SolarCrawltipedeHead,
|
||||
NPCID.CultistDragonHead,
|
||||
NPCID.AncientCultistSquidhead,
|
||||
NPCID.AncientLight,
|
||||
NPCID.AncientDoom,
|
||||
NPCID.Butcher,
|
||||
NPCID.Psycho,
|
||||
NPCID.DeadlySphere,
|
||||
@@ -1222,6 +1225,8 @@ namespace CalamityMod
|
||||
ProjectileID.CultistBossIceMist,
|
||||
ProjectileID.CultistBossLightningOrbArc,
|
||||
ProjectileID.CultistBossFireBall,
|
||||
ProjectileID.CultistBossFireBallClone,
|
||||
ProjectileID.AncientDoomProjectile,
|
||||
ProjectileID.NebulaBolt,
|
||||
ProjectileID.NebulaSphere,
|
||||
ProjectileID.NebulaLaser,
|
||||
@@ -1297,7 +1302,9 @@ namespace CalamityMod
|
||||
NPCID.CultistDragonBody3,
|
||||
NPCID.CultistDragonBody4,
|
||||
NPCID.CultistDragonTail,
|
||||
NPCID.Sharkron,
|
||||
NPCID.AncientCultistSquidhead,
|
||||
NPCID.AncientLight,
|
||||
NPCID.Sharkron,
|
||||
NPCID.Sharkron2,
|
||||
NPCID.PlanterasTentacle,
|
||||
NPCID.Spore,
|
||||
@@ -1310,6 +1317,7 @@ namespace CalamityMod
|
||||
NPCID.EaterofWorldsBody,
|
||||
NPCID.EaterofWorldsTail,
|
||||
NPCID.GolemHead,
|
||||
NPCID.GolemHeadFree,
|
||||
NPCID.GolemFistRight,
|
||||
NPCID.GolemFistLeft,
|
||||
NPCID.MoonLordCore
|
||||
|
||||
|
After Width: | Height: | Size: 359 B |
|
After Width: | Height: | Size: 237 B |
|
After Width: | Height: | Size: 231 B |
|
After Width: | Height: | Size: 283 B |
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 35;
|
||||
item.damage = 50;
|
||||
item.ranged = true;
|
||||
item.width = 64;
|
||||
item.height = 34;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 70;
|
||||
item.damage = 65;
|
||||
item.magic = true;
|
||||
item.mana = 4;
|
||||
item.width = 74;
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 88;
|
||||
item.damage = 230;
|
||||
item.damage = 210;
|
||||
item.melee = true;
|
||||
item.noMelee = true;
|
||||
item.useTurn = true;
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 78;
|
||||
item.damage = 80;
|
||||
item.damage = 120;
|
||||
item.melee = true;
|
||||
item.useAnimation = 23;
|
||||
item.useTime = 23;
|
||||
|
||||
@@ -185,7 +185,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
if (projectile.penetrate == -1 && !projectile.minion)
|
||||
{
|
||||
if (projectile.type == mod.ProjectileType("CosmicFire"))
|
||||
damage = (int)((double)damage * 0.4);
|
||||
damage = (int)((double)damage * 0.3);
|
||||
else
|
||||
damage = (int)((double)damage * 0.2);
|
||||
}
|
||||
|
||||
@@ -307,7 +307,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
if (projectile.penetrate == -1 && !projectile.minion)
|
||||
{
|
||||
if (projectile.type == mod.ProjectileType("CosmicFire"))
|
||||
damage = (int)((double)damage * 0.4);
|
||||
damage = (int)((double)damage * 0.3);
|
||||
else
|
||||
damage = (int)((double)damage * 0.2);
|
||||
}
|
||||
|
||||
@@ -583,7 +583,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
if (projectile.penetrate == -1 && !projectile.minion)
|
||||
{
|
||||
if (projectile.type == mod.ProjectileType("CosmicFire"))
|
||||
damage = (int)((double)damage * 0.4);
|
||||
damage = (int)((double)damage * 0.3);
|
||||
else
|
||||
damage = (int)((double)damage * 0.2);
|
||||
}
|
||||
|
||||
@@ -473,7 +473,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
if (projectile.penetrate == -1 && !projectile.minion)
|
||||
{
|
||||
if (projectile.type == mod.ProjectileType("CosmicFire"))
|
||||
damage = (int)((double)damage * 0.4);
|
||||
damage = (int)((double)damage * 0.3);
|
||||
else
|
||||
damage = (int)((double)damage * 0.2);
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
if (projectile.penetrate == -1 && !projectile.minion)
|
||||
{
|
||||
if (projectile.type == mod.ProjectileType("CosmicFire"))
|
||||
damage = (int)((double)damage * 0.4);
|
||||
damage = (int)((double)damage * 0.3);
|
||||
else
|
||||
damage = (int)((double)damage * 0.2);
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
if (projectile.penetrate == -1 && !projectile.minion)
|
||||
{
|
||||
if (projectile.type == mod.ProjectileType("CosmicFire"))
|
||||
damage = (int)((double)damage * 0.4);
|
||||
damage = (int)((double)damage * 0.3);
|
||||
else
|
||||
damage = (int)((double)damage * 0.2);
|
||||
}
|
||||
|
||||
@@ -683,11 +683,11 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
else if (npc.type == NPCID.GolemHead)
|
||||
{
|
||||
npc.lifeMax = CalamityWorld.death ? (int)(npc.lifeMax * 3.0) : (int)(npc.lifeMax * 2.0);
|
||||
npc.lifeMax = CalamityWorld.death ? (int)(npc.lifeMax * 2.0) : (int)(npc.lifeMax * 1.5);
|
||||
}
|
||||
else if (npc.type == NPCID.GolemHeadFree)
|
||||
{
|
||||
npc.lifeMax = CalamityWorld.death ? (int)(npc.lifeMax * 1.25) : (int)(npc.lifeMax * 1.1);
|
||||
npc.lifeMax = CalamityWorld.death ? (int)(npc.lifeMax * 1.5) : (int)(npc.lifeMax * 1.25);
|
||||
npc.dontTakeDamage = false;
|
||||
}
|
||||
else if (npc.type == NPCID.Plantera)
|
||||
@@ -695,7 +695,11 @@ namespace CalamityMod.NPCs
|
||||
npc.lifeMax = CalamityWorld.death ? (int)(npc.lifeMax * 3.4) : (int)(npc.lifeMax * 2.3);
|
||||
npc.npcSlots = 32f;
|
||||
}
|
||||
else if (npc.type == NPCID.WallofFlesh || npc.type == NPCID.WallofFleshEye)
|
||||
else if (npc.type == NPCID.PlanterasHook)
|
||||
{
|
||||
npc.damage = (npc.defDamage = 0);
|
||||
}
|
||||
else if (npc.type == NPCID.WallofFlesh || npc.type == NPCID.WallofFleshEye)
|
||||
{
|
||||
npc.lifeMax = CalamityWorld.death ? (int)(npc.lifeMax * 2.6) : (int)(npc.lifeMax * 1.9);
|
||||
|
||||
@@ -724,7 +728,7 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
else if (npc.type == NPCID.BrainofCthulhu)
|
||||
{
|
||||
npc.lifeMax = CalamityWorld.death ? (int)(npc.lifeMax * 1.9) : (int)(npc.lifeMax * 1.4);
|
||||
npc.lifeMax = CalamityWorld.death ? (int)(npc.lifeMax * 2.1) : (int)(npc.lifeMax * 1.6);
|
||||
npc.npcSlots = 12f;
|
||||
}
|
||||
else if (npc.type == NPCID.Creeper)
|
||||
@@ -1439,7 +1443,7 @@ namespace CalamityMod.NPCs
|
||||
{
|
||||
if (npc.type == NPCID.BrainofCthulhu)
|
||||
{
|
||||
if ((float)npc.life / (float)npc.lifeMax < (CalamityWorld.death ? 0.25f : 0.15f))
|
||||
if ((float)npc.life / (float)npc.lifeMax < (CalamityWorld.death ? 0.33f : 0.2f))
|
||||
index = -1;
|
||||
}
|
||||
|
||||
@@ -1592,7 +1596,11 @@ namespace CalamityMod.NPCs
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
case NPCID.CultistBoss:
|
||||
case NPCID.CultistBossClone:
|
||||
return CalamityGlobalAI.BuffedCultistAI(npc, enraged, mod);
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -2154,10 +2162,6 @@ namespace CalamityMod.NPCs
|
||||
CalamityGlobalAI.RevengeanceMoonLordHandAI(npc, mod);
|
||||
break;
|
||||
|
||||
case NPCID.CultistBoss:
|
||||
CalamityGlobalAI.RevengeanceCultistAI(npc, configBossRushBoost, mod, enraged);
|
||||
break;
|
||||
|
||||
case NPCID.DungeonGuardian:
|
||||
CalamityGlobalAI.RevengeanceDungeonGuardianAI(npc, configBossRushBoost, enraged);
|
||||
break;
|
||||
@@ -2220,7 +2224,6 @@ namespace CalamityMod.NPCs
|
||||
break;
|
||||
|
||||
case NPCID.GolemHead:
|
||||
case NPCID.GolemHeadFree:
|
||||
case NPCID.GolemFistRight:
|
||||
case NPCID.GolemFistLeft:
|
||||
target.AddBuff(mod.BuffType("ArmorCrunch"), 180);
|
||||
|
||||
@@ -352,7 +352,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
flightPath = 0;
|
||||
|
||||
// Velocity and acceleration
|
||||
bool increaseSpeed = calamityGlobalNPC.newAI[0] > 180f;
|
||||
bool increaseSpeed = calamityGlobalNPC.newAI[0] > 150f;
|
||||
float acceleration = (expertMode ? 1.1f : 1.05f) + (0.2f * (1f - lifeRatio));
|
||||
float velocity = (expertMode ? 16f : 15f) + (4f * (1f - lifeRatio));
|
||||
if (CalamityWorld.bossRushActive)
|
||||
@@ -367,7 +367,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
}
|
||||
else if (increaseSpeed)
|
||||
{
|
||||
velocity += (calamityGlobalNPC.newAI[0] - 180f) * 0.04f;
|
||||
velocity += (calamityGlobalNPC.newAI[0] - 150f) * 0.04f;
|
||||
if (velocity > 30f)
|
||||
velocity = 30f;
|
||||
}
|
||||
|
||||
@@ -268,14 +268,13 @@ namespace CalamityMod.NPCs.TheDevourerofGods
|
||||
// Laser walls
|
||||
if (!speedBoost2 && (laserWallPhase == 1 || calamityGlobalNPC.enraged || (Config.BossRushXerocCurse && CalamityWorld.bossRushActive)))
|
||||
{
|
||||
laserShoot += 3;
|
||||
if (laserShoot >= 2400)
|
||||
laserShoot = 0;
|
||||
laserShoot += 1;
|
||||
|
||||
float speed = (CalamityWorld.bossRushActive ? 4.5f : 4f);
|
||||
float speed = 4f;
|
||||
int divisor = CalamityWorld.bossRushActive ? 90 : (CalamityWorld.death ? 105 : 120);
|
||||
|
||||
// Walls from the sides
|
||||
if (laserShoot % (CalamityWorld.bossRushActive ? 240 : (CalamityWorld.death ? 270 : 300)) == 0) //300 600 900 1200 1500 1800 2100 2400
|
||||
if (laserShoot % divisor == 0)
|
||||
{
|
||||
Main.PlaySound(2, (int)Main.player[npc.target].position.X, (int)Main.player[npc.target].position.Y, 12);
|
||||
|
||||
@@ -302,7 +301,7 @@ namespace CalamityMod.NPCs.TheDevourerofGods
|
||||
}
|
||||
|
||||
// Wall from below
|
||||
if (laserShoot % (CalamityWorld.bossRushActive ? 360 : (CalamityWorld.death ? 405 : 450)) == 0) //480 960 1440 1920 2400
|
||||
if (laserShoot % divisor == 0)
|
||||
{
|
||||
for (int x = 0; x < totalShots; x++)
|
||||
{
|
||||
@@ -313,7 +312,7 @@ namespace CalamityMod.NPCs.TheDevourerofGods
|
||||
}
|
||||
|
||||
// Wall from above
|
||||
if (laserShoot % (CalamityWorld.bossRushActive ? 480 : (CalamityWorld.death ? 540 : 600)) == 0) //600 1200 1800 2400
|
||||
if (laserShoot % divisor == 0)
|
||||
{
|
||||
if (lifeRatio < 0.4f && CalamityWorld.revenge)
|
||||
{
|
||||
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 386 B |
@@ -49,7 +49,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Vector2 vector15 = new Vector2((float)Main.rand.Next(-100, 101), (float)Main.rand.Next(-100, 101));
|
||||
vector15.Normalize();
|
||||
vector15 *= (float)Main.rand.Next(50, 401) * 0.01f;
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, vector15.X, vector15.Y, mod.ProjectileType("SulphuricAcidMist2"), (int)(350f * Main.player[projectile.owner].rangedDamage), 1f, projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, vector15.X, vector15.Y, mod.ProjectileType("SulphuricAcidMist2"), (int)(500f * Main.player[projectile.owner].rangedDamage), 1f, projectile.owner, 0f, 0f);
|
||||
}
|
||||
else
|
||||
counter += 1f;
|
||||
@@ -177,7 +177,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
projectile.netUpdate = true;
|
||||
projectile.StatusNPC(i);
|
||||
projectile.damage = 0;
|
||||
int num28 = 4;
|
||||
int num28 = 3;
|
||||
Point[] array2 = new Point[num28];
|
||||
int num29 = 0;
|
||||
for (int l = 0; l < 1000; l++)
|
||||
|
||||