Amidias' Spark projectile retaliation now works in multiplayer
This commit is contained in:
1 parent
65f27ba5f3
commit
d26640a7ef
2 files changed
+14
-1
No files matched your search
@@ -4188,3 +4188,13 @@ MiniAgedFloodlightItem: {
|
||||
|
||||
ProbesnoutBanner.DisplayName: Probesnout Banner
|
||||
SharkoonBanner.DisplayName: Sharkoon Banner
|
||||
|
||||
LimestoneWall: {
|
||||
DisplayName: Limestone Wall
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
RunestoneWall: {
|
||||
DisplayName: Runestone Wall
|
||||
Tooltip: ""
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using CalamityMod.Buffs;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatBuffs;
|
||||
@@ -40,6 +41,7 @@ using Terraria.DataStructures;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ModLoader.IO;
|
||||
using Terraria.Utilities;
|
||||
using Terraria.WorldBuilding;
|
||||
using static Terraria.ModLoader.ModContent;
|
||||
@@ -302,7 +304,8 @@ namespace CalamityMod.Projectiles
|
||||
projectile.Calamity().supercritHits = -1;
|
||||
}
|
||||
}
|
||||
|
||||
public override void SendExtraAI(Projectile projectile, BitWriter bitWriter, BinaryWriter binaryWriter) => binaryWriter.Write(ParentNPCIndex);
|
||||
public override void ReceiveExtraAI(Projectile projectile, BitReader bitReader, BinaryReader binaryReader) => ParentNPCIndex = binaryReader.ReadInt32();
|
||||
#endregion On Spawn
|
||||
|
||||
#region Set Defaults
|
||||
|
||||
Reference in new issue
Block a user