Ir para conteúdo

lib

Campones
  • Total de itens

    4
  • Registro em

  • Última visita

Sobre lib

Informações

  • Forma que conheci o xTibia
    Amigos
  • Sou
    Não Informado

lib's Achievements

  1. cara se for para responder tópicos com respostas inútil e melhor nem responder, eu falei que modo que ele fez n está certo e corrigi o script!
  2. na verdade essa parte que vc editou n e utilizada e apenas essa local item = xxx --ID do item necessário. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local shopModule = ShopModule:new() npcHandler:addModule(shopModule) shopModule:addSellableItem({'abyss hammer'}, 7414, 20000, 'abyss hammer') shopModule:addSellableItem({'amazon armor'}, 2500, 2500, 'amazon armor') shopModule:addSellableItem({'amazon shield'}, 2537, 4000, 'amazon shield') shopModule:addSellableItem({'amber staff'}, 7426, 8000, 'amber staff') shopModule:addSellableItem({'angelic axe'}, 196, 5000, 'angelic axe') shopModule:addSellableItem({'arbalest'}, 5803, 20000, 'arbalest') shopModule:addSellableItem({'arcane staff'}, 2453, 25000, 'arcane staff') shopModule:addSellableItem({'assassin dagger'}, 7404, 20000, 'assassin dagger') shopModule:addSellableItem({'avenger'}, 6528, 20000, 'avenger') shopModule:addSellableItem({'berserker'}, 7403, 40000, 'berserker') shopModule:addSellableItem({'blessed sceptre'}, 7429, 50000, 'blessed sceptre') shopModule:addSellableItem({'blessed shield'}, 2523, 150000, 'blessed shield') npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) .. help pls up up . up up up
  3. preciso de um npc que so fala se tiver x storage alguem podeira me ajudar ?
  4. preciso de um npc que so venda os itens se tiver tal item na bp algume poderia me ajudar ficarei grato! meu script de loot local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local shopModule = ShopModule:new() npcHandler:addModule(shopModule) shopModule:addSellableItem({'abyss hammer'}, 7414, 20000, 'abyss hammer') shopModule:addSellableItem({'amazon armor'}, 2500, 2500, 'amazon armor') shopModule:addSellableItem({'amazon shield'}, 2537, 4000, 'amazon shield') shopModule:addSellableItem({'amber staff'}, 7426, 8000, 'amber staff') shopModule:addSellableItem({'angelic axe'}, 196, 5000, 'angelic axe') shopModule:addSellableItem({'arbalest'}, 5803, 20000, 'arbalest') shopModule:addSellableItem({'arcane staff'}, 2453, 25000, 'arcane staff') shopModule:addSellableItem({'assassin dagger'}, 7404, 20000, 'assassin dagger') shopModule:addSellableItem({'avenger'}, 6528, 20000, 'avenger') shopModule:addSellableItem({'berserker'}, 7403, 40000, 'berserker') shopModule:addSellableItem({'blessed sceptre'}, 7429, 50000, 'blessed sceptre') shopModule:addSellableItem({'blessed shield'}, 2523, 150000, 'blessed shield') npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...