Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
Motherboard nerfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jofairden committed Oct 9, 2017
1 parent d26e8c8 commit 366d303
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
6 changes: 6 additions & 0 deletions Changelogs/v1.3.2.5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ Bosses:
- Boss Checklist noted that Eye of Cthulhu had to be beaten for using Mysterious Drum, this is false
- Storm Jelly did not say any requirements, but it is required that eye of Cthulhu has been slain
- Fungus Beetle appeared after Heater of Worlds in Boss Checklist, however Fungus Beetle comes after Heater of Worlds in terms of progression, this has been fixed
- Lowered Motherboard's defense from 70 to 30
- Lowered Signal Drone's damage from 75 to 30
- Increased Signal Drone's immune time from 180 (~3 seconds) to 240 (~4 seconds)
- Lowered Signal Drone's speed multiplier from 16 to 12
- Lowered Signal Drone's interdrone laser damage from 40 to 25
- Increased Motherboard's triple beam laser damage from 30 to 35

Worldgen:
- Removed many (read: at least a dozen) redundant loops iterating world chests (should speed up WorldGen)
Expand Down
3 changes: 2 additions & 1 deletion NPCs/Bosses/Motherboard/Items/Motherboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public override void SetStaticDefaults()

public override bool UseItem(Player player)
{
summonWallOfShadows(player);
Main.dayTime = false;
//summonWallOfShadows(player);
//NPC.SpawnOnPlayer(player.whoAmI, mod.NPCType("CogLord"));
return true;
}
Expand Down
6 changes: 3 additions & 3 deletions NPCs/Bosses/Motherboard/Motherboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ public class Stage
protected int _timeToAnimation = 6; // Animation rate

protected const int LaserYOffset = 95; // Laser spawn offset by Y value
protected const int LaserDamage = 40; // Laser damage
protected const int LaserDamage = 25; // Laser damage
protected const float LaserKb = 1; // Laser knockback

protected const int SecondShootCount = 3;
protected const float SecondShootSpeed = 15f;
protected const int SecondShootDamage = 30;
protected const int SecondShootDamage = 35;
protected const float SecondShootKn = 1.0f;
protected const int SecondShootRate = 60; // The rate of fire of the motherboard's 3 laser shot
protected const int SecondShootSpread = 35; // The random spread of motherboard's 3 laser shot
Expand Down Expand Up @@ -467,7 +467,7 @@ public override void SetDefaults()
npc.lifeMax = 45000;
npc.damage = 30;
npc.knockBackResist = 0f;
npc.defense = 70;
npc.defense = 30;
npc.width = 170;
npc.height = 160;
npc.aiStyle = 2;
Expand Down
6 changes: 3 additions & 3 deletions NPCs/Bosses/Motherboard/SignalDrone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public override void SetDefaults()
npc.noTileCollide = true;
npc.noGravity = true;
npc.lifeMax = 1500;
npc.damage = 75;
npc.damage = 65;
npc.defense = 18;
npc.knockBackResist = 0.5f;
npc.width = 90;
Expand All @@ -36,7 +36,7 @@ private void UpdateDroneImmunities()
var signalDrone = drone.modNPC as SignalDrone;
if (signalDrone != null)
{
signalDrone._immuneTime = 180;
signalDrone._immuneTime = 240;
signalDrone.npc.netUpdate = true;
}
}
Expand Down Expand Up @@ -136,7 +136,7 @@ private void SharknadoStyledAI()

float velocityMultiplier =
(target as NPC) != null
? 16f : 10f; // 16f is pretty much as fast as the player
? 12f : 10f; // 16f is pretty much as fast as the player

Vector2 distanceToTarget = target.Center - npc.Center + new Vector2(0f, -20f);

Expand Down

0 comments on commit 366d303

Please sign in to comment.