1 - Made Thanatos small lasers slightly faster.
2 - Artemis and Thanatos' small lasers sync their extra updates.
This commit is contained in:
1 parent
6070a075b6
commit
7481014875
2 files changed
+5
-1
No files matched your search
@@ -53,6 +53,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
|
||||
public override void SendExtraAI(BinaryWriter writer)
|
||||
{
|
||||
writer.Write(Projectile.extraUpdates);
|
||||
writer.Write(TelegraphDelay);
|
||||
writer.WriteVector2(Destination);
|
||||
writer.WriteVector2(Velocity);
|
||||
@@ -60,6 +61,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
|
||||
public override void ReceiveExtraAI(BinaryReader reader)
|
||||
{
|
||||
Projectile.extraUpdates = reader.ReadInt32();
|
||||
TelegraphDelay = reader.ReadSingle();
|
||||
Destination = reader.ReadVector2();
|
||||
Velocity = reader.ReadVector2();
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
public const float TelegraphTotalTime = 60f;
|
||||
public const float TelegraphFadeTime = 30f;
|
||||
public const float TelegraphWidth = 4200f;
|
||||
public const float LaserVelocity = 7f;
|
||||
public const float LaserVelocity = 7.5f;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -53,12 +53,14 @@ namespace CalamityMod.Projectiles.Boss
|
||||
|
||||
public override void SendExtraAI(BinaryWriter writer)
|
||||
{
|
||||
writer.Write(Projectile.extraUpdates);
|
||||
writer.WriteVector2(Destination);
|
||||
writer.WriteVector2(Velocity);
|
||||
}
|
||||
|
||||
public override void ReceiveExtraAI(BinaryReader reader)
|
||||
{
|
||||
Projectile.extraUpdates = reader.ReadInt32();
|
||||
Destination = reader.ReadVector2();
|
||||
Velocity = reader.ReadVector2();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user