108974 {
108975 if (Main.netMode == 1)
108976 {
108977 return;
108978 }
108979 for (
int i = 0; i <
maxBuffs; i++)
108980 {
108982 {
108984 if (Main.netMode == 2)
108985 {
108986 NetMessage.SendData(54, -1, -1,
null,
whoAmI);
108987 }
108988 }
108989 }
108990 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
static readonly int maxBuffs
void DelBuff(int buffIndex)
Removes the buff at the provided index and shuffles the remaining buff indexes down to fill the gap....