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,
},