public void DelBuff(int b)
{
this.buffTime[b] = 0;
this.buffType[b] = 0;
for (int index1 = 0; index1 < 21; ++index1)
{
if (this.buffTime[index1] == 0 || this.buffType[index1] == 0)
{
for (int index2 = index1 + 1; index2 < 22; ++index2)
{
this.buffTime[index2 - 1] = this.buffTime[index2];
this.buffType[index2 - 1] = this.buffType[index2];
this.buffTime[index2] = 0;
this.buffType[index2] = 0;
}
}
}
}