Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Qual o motivo deste tópico? 

Pessoal quando eu crio dois itens iguais na store com preços diferentes ele cobra o mais barato,


POR EXEMPLO:

125x Health Potions = 6 Tibia Coins
300x Health Potions = 11 Tibia Coins

No entanto qndo o player compra 300 Health potions, só vem 125 e só é cobrado 6 TC.

 

 

Você tem o código disponível? Se tiver publique-o aqui: 

{
    icons = { "Category_Potions.png" },
    name = "Potions",
    offers = { 
        {
            icons = { "Health_Potion.png" },
            name = "Health Potion",
            price = 6,
            id = 7618,
            count = 125,
            number = 125,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Health_Potion.png" },
            name = "Health Potion",
            price = 11,
            id = 7618,
            count = 300,
            number = 300,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Strong_Health_Potion.png" },
            name = "Strong Health Potion",
            price = 10,
            id = 7588,
            count = 100,
            number = 100,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Strong_Health_Potion.png" },
            name = "Strong Health Potion",
            price = 21,
            id = 7588,
            count = 250,
            number = 250,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Great_Health_Potion.png" },
            name = "Great Health Potion",
            price = 18,
            id = 7591,
            count = 100,
            number = 100,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Great_Health_Potion.png" },
            name = "Great Health Potion",
            price = 41,
            id = 7591,
            count = 250,
            number = 250,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Ultimate_Health_Potion.png" },
            name = "Ultimate Health Potion",
            price = 29,
            id = 8473,
            count = 100,
            number = 100,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Ultimate_Health_Potion.png" },
            name = "Ultimate Health Potion",
            price = 68,
            id = 8473,
            count = 250,
            number = 250,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        },
        {
            icons = { "Supreme_Health_Potion.png" },
            name = "Supreme Health Potion",
            price = 47,
            id = 26031,
            count = 100,
            number = 100,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Supreme_Health_Potion.png" },
            name = "Supreme Health Potion",
            price = 113,
            id = 26031,
            count = 250,
            number = 250,
            description = "Restores your character's hit points.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Mana_Potion.png" },
            name = "Mana Potion",
            price = 6,
            id = 7620,
            count = 125,
            number = 125,
            description = "Refills your character's mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Mana_Potion.png" },
            name = "Mana Potion",
            price = 12,
            id = 7620,
            count = 300,
            number = 300,
            description = "Refills your character's mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        },
        {
            icons = { "Strong_Mana_Potion.png" },
            name = "Strong Mana Potion",
            price = 7,
            id = 7589,
            count = 100,
            number = 100,
            description = "Refills your character's mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Strong_Mana_Potion.png" },
            name = "Strong Mana Potion",
            price = 17,
            id = 7589,
            count = 250,
            number = 250,
            description = "Refills your character's mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Great_Mana_Potion.png" },
            name = "Great Mana Potion",
            price = 11,
            id = 7590,
            count = 100,
            number = 100,
            description = "Refills your character's mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Great_Mana_Potion.png" },
            name = "Great Mana Potion",
            price = 26,
            id = 7590,
            count = 250,
            number = 250,
            description = "Refills your character's mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Ultimate_Mana_Potion.png" },
            name = "Ultimate Mana Potion",
            price = 33,
            id = 26029,
            count = 100,
            number = 100,
            description = "Refills your character's mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Ultimate_Mana_Potion.png" },
            name = "Ultimate Mana Potion",
            price = 79,
            id = 26029,
            count = 250,
            number = 250,
            description = "Refills your character's mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        },
        {
            icons = { "Great_Spirit_Potion.png" },
            name = "Great Spirit Potion",
            price = 18,
            id = 8472,
            count = 100,
            number = 100,
            description = "Restores your character's hit points and mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Great_Spirit_Potion.png" },
            name = "Great Spirit Potion",
            price = 41,
            id = 8472,
            count = 250,
            number = 250,
            description = "Restores your character's hit points and mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Ultimate_Spirit_Potion.png" },
            name = "Ultimate Spirit Potion",
            price = 33,
            id = 26030,
            count = 100,
            number = 100,
            description = "Restores your character's hit points and mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }, 
        {
            icons = { "Ultimate_Spirit_Potion.png" },
            name = "Ultimate Spirit Potion",
            price = 79,
            id = 26030,
            count = 250,
            number = 250,
            description = "Restores your character's hit points and mana.\n\n\n- only usable by purchasing character\n- only buyable if fitting vocation and level of purchasing character\n- will be sent to your Store inbox and can only be stored there and in depot box\n- cannot be purchased by characters with protection zone block or battle sign\n- cannot be purchased if capacity is exceeded",
            type = GameStore.OfferTypes.OFFER_TYPE_STACKABLE,
        }  
        },
            rookgaard = true,
            state = GameStore.States.STATE_NONE,
        }, 

 

 

 

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por Muvuka
      Alguem tem anti-nuker igual a esse 
       

       
    • Por Muvuka
      [SQLite] -=[TFS]=- 0.4 8.60 Alguem faz apk mobile pra mim ip: dexsoft.ddns.net
       
      pra mim
       
      https://www.mediafire.com/file/5klqnyy6k7jda0u/OTClientV8.rar/file
       
      TA TUDO AI
    • Por yuriowns
      Salve rapazes, estou precisando de um client próprio para o meu servidor 7.4, preciso que algum programador experiente e com referências faça um client do jeito que eu procuro. Responda aqui para fazermos um orçamento, obrigado!

      Não sei se estou no lugar certo, se não me desculpem e peço que movam por gentileza!
    • Por paulo thush
      Pessoal to com um grande problema, estou com um servidor TFS 1.4x 10.98, recentemente começou dar um problema, sempre quando falava "trade" com o npc dava um erros, com qual quer npc, o erro e o seguinte.
       
       
      me falaram que o problema e nas sourcer que precisava mudar umas coisas me passaram um link no github esse aqui 
      https://github.com/otland/forgottenserver/pull/3996/files
       
      porem eu vi vídeos no youtube ensinando a compilar, já vi muitos tópicos como compilar a sourcer, ai quando vou compilar da esse erro
      já tentei instalar, desinstala muitas coisas, alterar também não vai, minha sourcer e essa 
      https://github.com/otland/forgottenserver
       
       
      Alguém poderia me ajuda com esse erro, ou ate compilar 100% as sourcer. os Tópicos que eu tentei para compilar e esse daqui, se não poder o link me desculpe.
      https://forums.otserv.com.br/index.php?/forums/topic/169234-windowsvc2019-compilando-sources-tfs-14-vcpkg/
       
      alguém me da uma luz por favor kkk
    • Por Ryzek
      Uso tfs 0.4 trunk3884 bem simples.
      Queria acrescentar magic effects para 255 pois o meu só vai até 69. Encontrei um tópico que falava sobre porém parece ter sido removido, não consigo acessar!
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo