added thingy to vile feeder
This commit is contained in:
1 parent
bc20d3dc6b
commit
effed3b773
1 file changed
+11
@@ -4,6 +4,7 @@ using CalamityMod.Items.Weapons.Summon;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using System;
|
||||
using System.IO;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -37,6 +38,16 @@ namespace CalamityMod.Projectiles.Summon
|
||||
projectile.minion = true;
|
||||
}
|
||||
|
||||
public override void SendExtraAI(BinaryWriter writer)
|
||||
{
|
||||
writer.Write(projectile.Calamity().lineColor);
|
||||
}
|
||||
|
||||
public override void ReceiveExtraAI(BinaryReader reader)
|
||||
{
|
||||
projectile.Calamity().lineColor = reader.ReadInt32();
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
Player player = Main.player[projectile.owner];
|
||||
|
||||
Reference in new issue
Block a user