Terraria.Player.ShadowDodge C# (CSharp) Method

ShadowDodge() public method

public ShadowDodge ( ) : void
return void
        public void ShadowDodge()
        {
            this.immune = true;
            this.immuneTime = 80;
            if (this.longInvince)
                this.immuneTime += 40;
            if (this.whoAmI != Main.myPlayer)
                return;
            for (int b = 0; b < 22; ++b)
            {
                if (this.buffTime[b] > 0 && this.buffType[b] == 59)
                    this.DelBuff(b);
            }
            NetMessage.SendData(62, -1, -1, "", this.whoAmI, 2f, 0.0f, 0.0f, 0, 0, 0);
        }
Player