public bool ConsumeSolarFlare()
{
if (!this.setSolar || this.solarShields <= 0)
return false;
if (Main.netMode == 1 && this.whoAmI != Main.myPlayer)
return true;
--this.solarShields;
for (int b = 0; b < 22; ++b)
{
if (this.buffType[b] >= 170 && this.buffType[b] <= 172)
this.DelBuff(b);
}
if (this.solarShields > 0)
this.AddBuff(170 + this.solarShields - 1, 5, false);
this.solarCounter = 0;
return true;
}