You are still missing a bool in the player file.
Put this in the raw player file: public bool BrainBand;
Now put this in the player file:
Code:
public override void ResetEffects()
{
BrainBand = false
}
Note that the way Im doing it here at all will (with a high chance) repeatedly create creepers.
I recommend creating an invisible projectile that only lasts for a short amount of time and will shoot the creepers if an enemy is nearby.
You could also extract the terraria code and look at the code for the volatile gelatin or the phantasm.