Ir para conteúdo

mariano1

Campones
  • Total de itens

    48
  • Registro em

  • Última visita

Tudo que mariano1 postou

  1. Tem icon e portrite ?
  2. Olá , sou novato aq ! por favor se estiver na área incorreta movam Quero que um npc , troque 1 stone por 1 mega . exemplo : eu fiz um que troca 1 Blazikenite por 1 mega blaziken, mais quero que esse npc troque 1 stone por todos . tipo o cara chega com uma Blastosinite dai o npc troca por mega blastoise ! script que usei \/ 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 function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid msg = string.lower(msg) local need = { --item id....quantidade {id = 14477, qt = 1}, } local storage = 83498 local pokemon = "Mega Blaziken" -- // -- if msgcontains(string.lower(msg), 'help') or msgcontains(string.lower(msg), 'help') then if getPlayerStorageValue(cid, storage) == 1 then selfSay("voce ja completou minha quest!", cid) talkState[talkUser] = 0 return true end selfSay("ola, voce gostaria de trocar uma mega stone ,? os items necessarios sao {1 Blazikenite}!", cid) talkState[talkUser] = 2 return true elseif msgcontains(msg, 'yes') and talkState[talkUser] == 2 then for i = 1, #need do if getPlayerItemCount(cid, need.id) <need.qt then selfSay("voce nao tem a mega stone que eu pedi, volte aqui quando tiver!", cid) talkState[talkUser] = 0 return true end end if not addPokeToPlayer(cid, pokemon, 0, -1, "normal", true) then selfSay("voce esta com 6 pokemons na sua bag, volte aqui contendo espaço para o seu novo pokemon!", cid) talkState[talkUser] = 0 return true end for i = 1, #need do doPlayerRemoveItem(cid, need.id, need.qt) end selfSay("nossa muito bom, obrigado e tenha um bom aproveito com ele!", cid) setPlayerStorageValue(cid, storage, 1) talkState[talkUser] = 0 return true end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  3. Sim brother http://i.imgur.com/p2diXYu.png HELP-ME
  4. Deu meio certo mais tem um bug envolvido ! http://i.imgur.com/ZJy0Mca.png (nenhum erro na distro)
  5. Não sei qual a tag brother http://i.imgur.com/0HTuR08.png certo ? ainda está dando o aviso "Sorry, this isn't a mega stone."
  6. ah sim KKK Blz Alguém pode ajudar? Eu fiz o tutorial corretamente . usei o Mega Blastoise. mas quando uso a stone na ball do blastoise acontece esse aviso "Sorry, this isn't a mega stone."
  7. sim ! mais n sei conversar por pm , sou novo aq
  8. Obrigado Bro ! elseif spell == "Mega Evolution" then local effect = xxx --Efeito de mega evolução. if isSummon(cid) then local pid = getCreatureMaster(cid) if isPlayer(pid) then local ball = getPlayerSlotItem(pid, 8).uid if ball > 0 then local attr = getItemAttribute(ball, "megaStone") if attr and megaEvolutions[attr] then local oldPosition, oldLookdir = getThingPos(cid), getCreatureLookDir(cid) doItemSetAttribute(ball, "poke", megaEvolutions[attr][2]) doSendMagicEffect(getThingPos(cid), effect) doRemoveCreature(cid) doSummonMonster(pid, megaEvolutions[attr][2]) local newPoke = getCreatureSummons(pid)[1] doTeleportThing(newPoke, oldPosition, false) doCreatureSetLookDir(newPoke, oldLookdir) adjustStatus(newPoke, ball, true, false) if useKpdoDlls then addEvent(doUpdateMoves, 5, pid) end end end end end ONDE EU COLOCO ISSO ._.
  9. nenhuma das sprites que eu adicionei no meu server estava com fundo rosa. e nenhuma ocorreu esse bug .
  10. lol . e oq eu faço ? ;x
  11. no item editor eu olhei uma stone e marquei as que estavam lá ;x
  12. vlw cara ! consegui criar os items . vou tentar os megas Mano , a stone ficou bem bugada cara .-. eu crio a stone o cp buga fica preto '-'
  13. sim fiz isso , abrindo para testar
  14. eu escrevi cara . coloquei o id msm assim nao apareceu ;x
  15. Obrigado brow vou tentar Brother eu sou realmente cabaço pra criar items . tipo devo criar essa portrite e a stone no fim do Items.Xml?
  16. Obrigado ! , desculpe telo incomodado Cara , um probleminha aq ! fui no xml e pesquisei por alguma portrait pra pegar como base . mas não tem portrait nenhuma .-.
  17. Mais uma kawoeka Criei a stone . Agora a foto do mega como eu crio ? . Devo criala no item.xml tbm ?
  18. Shadow , Tenho aq as Sprites . os items tudo certo . vou tentar fazer OBG ! Mais uma duvida . Devo criar a stone do mega no ItemEditor depois no Items.Xml ?
  19. Mano . pra mim fazer isso eu tenho que primeiro colocar as sprites . as stones depois seguir com esse tutorial?
  • Quem Está Navegando   0 membros estão online

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