fixed radiator black box and nerfs to god's paranoia/profaned partisan

This commit is contained in:
termigator1359 committed 2019-11-29 08:31:50 -05:00
1 parent 5a5ad2b20f
commit 75b4993eac
6 files changed
+21 -8

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
public class GodsParanoia : RogueWeapon
{
private static int damage = 250;
private static int damage = 125;
private static int knockBack = 5;
public override void SetStaticDefaults()
+1 -1
View File
@@ -18,7 +18,7 @@ Stealth strikes spawn smaller spears to fly along side it");
public override void SafeSetDefaults()
{
item.damage = 1500;
item.damage = 450;
item.knockBack = 8f;
item.crit += 15;
+16 -2
View File
@@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.AcidRain
npc.HitSound = SoundID.NPCHit1;
npc.DeathSound = SoundID.NPCDeath1;
aiType = NPCID.GlowingSnail;
animationType = NPCID.GlowingSnail;
//animationType = NPCID.GlowingSnail;
//banner = npc.type;
//bannerItem = ModContent.ItemType<RadiatorBanner>();
}
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.AcidRain
{
if (npc.localAI[0] == 0f)
{
npc.catchItem = (Main.rand.NextBool(20)) ? (short)ModContent.ItemType<RadiatingCrystal>() : ItemID.None;
npc.catchItem = (Main.rand.NextBool(10)) ? (short)ModContent.ItemType<RadiatingCrystal>() : ItemID.None;
npc.localAI[0] = 1f;
npc.velocity.Y = -3f;
npc.netUpdate = true;
@@ -63,6 +63,20 @@ namespace CalamityMod.NPCs.AcidRain
}
}
public override void FindFrame(int frameHeight)
{
npc.frameCounter++;
if (npc.frameCounter > 8)
{
npc.frameCounter = 0;
npc.frame.Y += frameHeight;
if (npc.frame.Y > frameHeight * 2)
{
npc.frame.Y = 0;
}
}
}
public override float SpawnChance(NPCSpawnInfo spawnInfo)
{
if (spawnInfo.playerSafe || !spawnInfo.player.Calamity().ZoneSulphur || !Main.raining)
+1 -1
View File
@@ -78,7 +78,7 @@ namespace CalamityMod.Projectiles.Rogue
{
for (int i = 0; i < 3; i++)
{
int idx = Projectile.NewProjectile(startPos, kunaiSp, ModContent.ProjectileType<GodsParanoiaDart>(), projectile.damage, 1f, projectile.owner, 0f, 0f);
int idx = Projectile.NewProjectile(startPos, kunaiSp, ModContent.ProjectileType<GodsParanoiaDart>(), projectile.damage/2, 1f, projectile.owner, 0f, 0f);
Main.projectile[idx].rotation = angle;
}
}
+2 -2
View File
@@ -82,7 +82,7 @@ namespace CalamityMod.Projectiles.Rogue
stealthStrikeTimer++;
if (stealthStrikeTimer >= 18)
{
Projectile.NewProjectile(spearposition, spearspeed, ModContent.ProjectileType<ProfanedPartisanspear>(), projectile.damage/2, projectile.knockBack, projectile.owner, 0f, 0f);
Projectile.NewProjectile(spearposition, spearspeed, ModContent.ProjectileType<ProfanedPartisanspear>(), projectile.damage/10, projectile.knockBack, projectile.owner, 0f, 0f);
stealthStrikeTimer = 0;
}
}
@@ -96,7 +96,7 @@ namespace CalamityMod.Projectiles.Rogue
}
Main.PlaySound(2, projectile.position, 45);
Vector2 explode = new Vector2(0f, 0f);
Projectile.NewProjectile(projectile.Center, explode, ModContent.ProjectileType<PartisanExplosion>(), projectile.damage, projectile.knockBack * 1.3f, projectile.owner);
Projectile.NewProjectile(projectile.Center, explode, ModContent.ProjectileType<PartisanExplosion>(), projectile.damage/2, projectile.knockBack * 1.3f, projectile.owner);
}
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
@@ -8,7 +8,6 @@ using CalamityMod.Buffs.DamageOverTime;
namespace CalamityMod.Projectiles.Rogue
{
//TODO -- This projectile literally does nothing so have fun
public class ProfanedPartisanspear : ModProjectile
{
public int timer = 0;