Terraria.Player.HasUnityPotion C# (CSharp) Méthode

HasUnityPotion() public méthode

public HasUnityPotion ( ) : bool
Résultat bool
        public bool HasUnityPotion()
        {
            for (int index = 0; index < 58; ++index)
            {
                if (this.inventory[index].itemId == 2997 && this.inventory[index].stack > 0)
                    return true;
            }
            return false;
        }
Player