Ir para conteúdo

Demon123

Membro
  • Registro em

  • Última visita

Tudo que Demon123 postou

  1. Tpw se eu for ai, e mudar a vitality do poke, vai tar alterando as dos pokemon selvagens pelo mapa tbm, n tem otra parte que eu possa arrumar, apenas as do catch?, ou eu tenho que balancia na lib e no data/monsters ?
  2. Aew Galera Queria Almentar Ou Diminuir As Vidas dos meus pokemons, nao quero os dos selvagens do mapa, mais sim as do catch! Uso o Pokemon H by Senhor,
  3. Demon123 postou uma resposta no tópico em Suporte Tibia OTServer
    Aii Galera queria mudar a cor dos hits da snakebite rod, ta verde, queria colocar azul alguem sabe aonde que muda isso ????
  4. Demon123 postou uma resposta no tópico em Ferramentas OpenTibia
    Cara olha como ta vindo seu download como que vai instana o programa capenga?
  5. EnterGame = { }-- private variableslocal loadBoxlocal enterGamelocal motdWindowlocal motdButtonlocal enterGameButtonlocal protocolBoxlocal protocolLoginlocal motdEnabled = true-- private functionslocal function onError(protocol, message, errorCode)if loadBox thenloadBox:destroy()loadBox = nilendif not errorCode thenEnterGame.clearAccountFields()endlocal errorBox = displayErrorBox(tr('Login Error'), message)connect(errorBox, { onOk = EnterGame.show })endlocal function onMotd(protocol, motd)G.motdNumber = tonumber(motd:sub(0, motd:find("\n")))G.motdMessage = motd:sub(motd:find("\n") + 1, #motd)if motdEnabled thenmotdButton:show()endendlocal function onCharacterList(protocol, characters, account, otui)-- Try add server to the server listServerList.add(G.host, G.port, g_game.getProtocolVersion())if enterGame:getChildById('rememberPasswordBox'):isChecked() thenlocal account = g_crypt.encrypt(G.account)local password = g_crypt.encrypt(G.password)g_settings.set('account', account)g_settings.set('password', password)ServerList.setServerAccount(G.host, account)ServerList.setServerPassword(G.host, password)g_settings.set('autologin', enterGame:getChildById('autoLoginBox'):isChecked())else-- reset server list account/passwordServerList.setServerAccount(G.host, '')ServerList.setServerPassword(G.host, '')EnterGame.clearAccountFields()endloadBox:destroy()loadBox = nilCharacterList.create(characters, account, otui)CharacterList.show()if motdEnabled thenlocal lastMotdNumber = g_settings.getNumber("motd")if G.motdNumber and G.motdNumber ~= lastMotdNumber theng_settings.set("motd", motdNumber)motdWindow = displayInfoBox(tr('Message of the day'), G.motdMessage)connect(motdWindow, { onOk = function() CharacterList.show() motdWindow = nil end })CharacterList.hide()endendendlocal function onChangeProtocol(combobox, option)local clients = g_game.getSupportedClients(option)protocolBox:setTooltip("Supports Client" .. (#clients > 1 and "s" or "") .. ": " .. table.tostring(clients))endlocal function onUpdateNeeded(protocol, signature)loadBox:destroy()loadBox = nilif EnterGame.updateFunc thenlocal continueFunc = EnterGame.showlocal cancelFunc = EnterGame.showEnterGame.updateFunc(signature, continueFunc, cancelFunc)elselocal errorBox = displayErrorBox(tr('Update needed'), tr('Your client needs update, try redownloading it.'))connect(errorBox, { onOk = EnterGame.show })endend-- public functionsfunction EnterGame.init()enterGame = g_ui.displayUI('entergame')enterGameButton = modules.client_topmenu.addCustomLeftButton('enterGameButton', tr('Login') .. ' (Ctrl + G)', '/images/ui/pxg/topMenu_icons/entrar_icon', EnterGame.openWindow, false)motdButton = modules.client_topmenu.addCustomLeftButton('motdButton', tr('Message of the day'), '/images/ui/pxg/topMenu_icons/news_icon', EnterGame.displayMotd, false)motdButton:hide()g_keyboard.bindKeyDown('Ctrl+G', EnterGame.openWindow)if motdEnabled and G.motdNumber thenmotdButton:show()endlocal account = g_settings.get('account')local password = g_settings.get('password')local host = g_settings.get('host')local port = g_settings.get('port')local autologin = g_settings.getBoolean('autologin')local protocolVersion = g_settings.getInteger('protocol-version')if port == nil or port == 0 then port = 7171 endEnterGame.setAccountName(account)EnterGame.setPassword(password)enterGame:getChildById('serverHostTextEdit'):setText(host)enterGame:getChildById('serverPortTextEdit'):setText(port)enterGame:getChildById('autoLoginBox'):setChecked(autologin)protocolBox = enterGame:getChildById('protocolComboBox')protocolBox.onOptionChange = onChangeProtocolif protocolVersion thenprotocolBox:setCurrentOption(protocolVersion)endenterGame:hide()if g_app.isRunning() and not g_game.isOnline() thenenterGame:show()endserver = "pokemonh.servegame.com"EnterGame.setUniqueServer('pokemoncrazy.no-ip.biz', 7171, 854, 270, 210)endfunction EnterGame.firstShow()EnterGame.show()local account = g_crypt.decrypt(g_settings.get('account'))local password = g_crypt.decrypt(g_settings.get('password'))local host = g_settings.get('host')local autologin = g_settings.getBoolean('autologin')if #host > 0 and #password > 0 and #account > 0 and autologin thenaddEvent(function()if not g_settings.getBoolean('autologin') then return endEnterGame.doLogin()end)endendfunction EnterGame.terminate()g_keyboard.unbindKeyDown('Ctrl+G')enterGame:destroy()enterGame = nilenterGameButton:destroy()enterGameButton = nilprotocolBox = nilif motdWindow thenmotdWindow:destroy()motdWindow = nilendif motdButton thenmotdButton:destroy()motdButton = nilendif loadBox thenloadBox:destroy()loadBox = nilendif protocolLogin thenprotocolLogin:cancelLogin()protocolLogin = nilendEnterGame = nilendfunction EnterGame.show()if loadBox then return endenterGame:show()enterGame:raise()enterGame:focus()endfunction EnterGame.hide()enterGame:hide()endfunction EnterGame.openWindow()if g_game.isOnline() thenCharacterList.show()elseif not g_game.isLogging() and not CharacterList.isVisible() thenEnterGame.show()endendfunction EnterGame.setAccountName(account)local account = g_crypt.decrypt(account)enterGame:getChildById('accountNameTextEdit'):setText(account)enterGame:getChildById('accountNameTextEdit'):setCursorPos(-1)enterGame:getChildById('rememberPasswordBox'):setChecked(#account > 0)endfunction EnterGame.setPassword(password)local password = g_crypt.decrypt(password)enterGame:getChildById('accountPasswordTextEdit'):setText(password)endfunction EnterGame.clearAccountFields()enterGame:getChildById('accountNameTextEdit'):clearText()enterGame:getChildById('accountPasswordTextEdit'):clearText()enterGame:getChildById('accountNameTextEdit'):focus()g_settings.remove('account')g_settings.remove('password')endfunction EnterGame.doLogin()G.account = enterGame:getChildById('accountNameTextEdit'):getText()G.password = enterGame:getChildById('accountPasswordTextEdit'):getText()G.host = enterGame:getChildById('serverHostTextEdit'):getText()G.port = tonumber(enterGame:getChildById('serverPortTextEdit'):getText())local protocolVersion = tonumber(protocolBox:getText())local clientVersions = g_game.getSupportedClients(protocolVersion)EnterGame.hide()if g_game.isOnline() thenlocal errorBox = displayErrorBox(tr('Login Error'), tr('Cannot login while already in game.'))connect(errorBox, { onOk = EnterGame.show })returnendg_settings.set('host', G.host)g_settings.set('port', G.port)protocolLogin = ProtocolLogin.create()protocolLogin.onLoginError = onErrorprotocolLogin.onMotd = onMotdprotocolLogin.onCharacterList = onCharacterListprotocolLogin.onUpdateNeeded = onUpdateNeededloadBox = displayCancelBox(tr('Please wait'), tr('Connecting to login server...'))connect(loadBox, { onCancel = function(msgbox)loadBox = nilprotocolLogin:cancelLogin()EnterGame.show()end })g_game.chooseRsa(G.host)g_game.setProtocolVersion(protocolVersion)if #clientVersions > 0 theng_game.setClientVersion(clientVersions[#clientVersions])endif modules.game_things.isLoaded() thenprotocolLogin:login(G.host, G.port, G.account, G.password)elseloadBox:destroy()loadBox = nilEnterGame.show()endendfunction EnterGame.displayMotd()if not motdWindow thenmotdWindow = displayInfoBox(tr('Message of the day'), G.motdMessage)motdWindow.onOk = function() motdWindow = nil endendendfunction EnterGame.setDefaultServer(host, port, protocol)local hostTextEdit = enterGame:getChildById('serverHostTextEdit')local portTextEdit = enterGame:getChildById('serverPortTextEdit')local protocolLabel = enterGame:getChildById('protocolLabel')local accountTextEdit = enterGame:getChildById('accountNameTextEdit')local passwordTextEdit = enterGame:getChildById('accountPasswordTextEdit')if hostTextEdit:getText() ~= host thenhostTextEdit:setText(host)portTextEdit:setText(port)protocolBox:setCurrentOption(protocol)accountTextEdit:setText('')passwordTextEdit:setText('')endendfunction EnterGame.setUniqueServer(host, port, protocol, windowWidth, windowHeight)local hostTextEdit = enterGame:getChildById('serverHostTextEdit')hostTextEdit:setText(host)hostTextEdit:setVisible(false)hostTextEdit:setHeight(0)local portTextEdit = enterGame:getChildById('serverPortTextEdit')portTextEdit:setText(port)portTextEdit:setVisible(false)portTextEdit:setHeight(0)protocolBox:setCurrentOption(protocol)protocolBox:setVisible(false)protocolBox:setHeight(0)local serverLabel = enterGame:getChildById('serverLabel')serverLabel:setVisible(false)serverLabel:setHeight(0)local portLabel = enterGame:getChildById('portLabel')portLabel:setVisible(false)portLabel:setHeight(0)local protocolLabel = enterGame:getChildById('protocolLabel')protocolLabel:setVisible(false)protocolLabel:setHeight(0)local serverListButton = enterGame:getChildById('serverListButton')serverListButton:setVisible(false)serverListButton:setHeight(0)serverListButton:setWidth(0)local rememberPasswordBox = enterGame:getChildById('rememberPasswordBox')rememberPasswordBox:setMarginTop(-5)if not windowWidth then windowWidth = 236 endenterGame:setWidth(windowWidth)if not windowHeight then windowHeight = 200 endenterGame:setHeight(windowHeight)endfunction EnterGame.setServerInfo(message)local label = enterGame:getChildById('serverInfoLabel')label:setText(message)endfunction EnterGame.disableMotd()motdEnabled = falsemotdButton:hide()end
  6. Iae Galerinha do Tk Blz? Intaaum To querendo assim, Quand vc da look na pokeball do bulbasaur apareça o nome dele e talz e o preço na frente, Price is: 3000. Que nem da pxg, Alguem me ajuda com esse script? Doou Reep +++
  7. èe tpw assim , quando vc solta o pokemon vc aperta m1 m2 m3 m4 m5 m6 m7 m8 m9 td junto o pokemon ele vai solta tds essas magias sem pausa de tempo, ai que os player faz? pega o pokemon usa tds os cd, vai la pega otro usa tds cd e fica assim, quero tipo assim, player vai la aperta m1 ai solta tal magia ai quando ele vai aperta m2 ele temq espera um tempo que seria o exausted, que nem tibia, n da pra vc usa exura e depois exura vita ao mesmo tempo tem um exausted pra usa a otra, é isso que quero fazer nos atk de m1 m2 m3 etc, tendeu? :/ é o melhor que posso explica eu acho suahsuah se n intendeu vo posta um video
  8. Tpww nao é tempo do cowndown dos pokes que quero editar, é Tpw tempo de espara entre o m1 e o m2, que tenha um exausted ai no meio para nao usar as 2 magias ao mesmo tempo, :/
  9. Galera Estou Criando Um Otserv! Estou querendo Colocar Exausted Nos Moves Dos Pokemon Mais Nao consigo , Alguem Pode Me Ajudar Por Favor? Preciso Muito Acho que é algo que mexe na talkaction TA Assim Aki \/ local msgs = {"use ", ""} function doAlertReady(cid, id, movename, n, cd) if not isCreature(cid) then return true end local myball = getPlayerSlotItem(cid, 8) if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!") return true end local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid) if not p or #p <= 0 then return true end for a = 1, #p do if getItemAttribute(p[a], cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!") return true end end end function onSay(cid, words, param, channel) if param ~= "" then return true end if string.len(words) > 3 then return true end if #getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end --alterado v1.5 local mypoke = getCreatureSummons(cid)[1] if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end if getCreatureName(mypoke) == "Evolution" then return true end if getCreatureName(mypoke) == "Ditto" or getCreatureName(mypoke) == "Shiny Ditto" then name = getPlayerStorageValue(mypoke, 1010) --edited else name = getCreatureName(mypoke) end --local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke) local it = string.sub(words, 2, 3) local move = movestable[name].move1 if getPlayerStorageValue(mypoke, 212123) >= 1 then cdzin = "cm_move"..it.."" else cdzin = "move"..it.."" --alterado v1.5 end if it == "2" then move = movestable[name].move2 elseif it == "3" then move = movestable[name].move3 elseif it == "4" then move = movestable[name].move4 elseif it == "5" then move = movestable[name].move5 elseif it == "6" then move = movestable[name].move6 elseif it == "7" then move = movestable[name].move7 elseif it == "8" then move = movestable[name].move8 elseif it == "9" then move = movestable[name].move9 elseif it == "10" then move = movestable[name].move10 elseif it == "11" then move = movestable[name].move11 elseif it == "12" then move = movestable[name].move12 elseif it == "13" then move = movestable[name].move13 end if not move then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.") return true end if getPlayerLevel(cid) < move.level then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need be atleast level "..move.level.." to use this move.") return true end if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (move.cd + 2) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use "..move.name.." again.") return true end if getTileInfo(getThingPos(mypoke)).protection then doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.") return true end if getPlayerStorageValue(mypoke, 3894) >= 1 then return doPlayerSendCancel(cid, "You can't attack because you is with fear") --alterado v1.3 end --alterado v1.6 if (move.name == "Team Slice" or move.name == "Team Claw") and #getCreatureSummons(cid) < 2 then doPlayerSendCancel(cid, "Your pokemon need be in a team for use this move!") return true end --alterado v1.7 \/\/\/ if isCreature(getCreatureTarget(cid)) and isInArray(specialabilities["evasion"], getCreatureName(getCreatureTarget(cid))) then local target = getCreatureTarget(cid) if math.random(1, 100) <= passivesChances["Evasion"][getCreatureName(target)] then if isCreature(getMasterTarget(target)) then --alterado v1.6 doSendMagicEffect(getThingPos(target), 211) doSendAnimatedText(getThingPos(target), "TOO BAD", 215) doTeleportThing(target, getClosestFreeTile(target, getThingPos(mypoke)), false) doSendMagicEffect(getThingPos(target), 211) doFaceCreature(target, getThingPos(mypoke)) return true --alterado v1.6 end end end if move.target == 1 then if not isCreature(getCreatureTarget(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.") return 0 end if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then return 0 end if getCreatureHealth(getCreatureTarget(cid)) <= 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.") return 0 end if not isCreature(getCreatureSummons(cid)[1]) then return true end if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > move.dist then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.") return 0 end if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then return 0 end end local newid = 0 if isSleeping(mypoke) or isSilence(mypoke) then --alterado v1.5 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry you can't do that right now.") return 0 else newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, move.cd) end doCreatureSay(cid, ""..getPokeName(mypoke)..", "..msgs[math.random(#msgs)]..""..move.name.."!", TALKTYPE_SAY) local summons = getCreatureSummons(cid) --alterado v1.6 addEvent(doAlertReady, move.cd * 1000, cid, newid, move.name, it, cdzin) for i = 2, #summons do if isCreature(summons) and getPlayerStorageValue(cid, 637501) >= 1 then docastspell(summons, move.name) --alterado v1.6 end end docastspell(mypoke, move.name) doCreatureAddCondition(cid, playerexhaust) if useKpdoDlls then doUpdateCooldowns(cid) end return 0 end SE fer em otro local posto as sprite mais creio que é nesta pasta de moves1, aonde faz as moves dos pokes Se conseguirem me ajudem do rep +++ Creio que seja algum comando
  10. Me Ajudem Pra Fexar Esse Topico :/
  11. Demon123 postou uma resposta no tópico em Suporte Tibia OTServer
    Abra Seu Tibia Compativel Com A Versão Do Seu Servidor, Por Exemplo, Seu Servidor é 8.60, Baixe o Tibia 8.60, Em Seguida Abra Seu Ip-Changer, Adicione O Nome Do Seu Servidor, Clique Em AUTO, ( Espa Posicionado Na Lateral Direita Do Ip Changer ) Em Seguida So Entra No server Se Ouver Erros, Mande as Sprite Aki
  12. Galera Estou Criando Um Otserv! Estou querendo Colocar Exausted Nos Moves Dos Pokemon Mais Nao consigo , Alguem Pode Me Ajudar Por Favor? Preciso Muito Acho que é algo que mexe na talkaction TA Assim Aki \/ local msgs = {"use ", ""} function doAlertReady(cid, id, movename, n, cd) if not isCreature(cid) then return true end local myball = getPlayerSlotItem(cid, 8) if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!") return true end local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid) if not p or #p <= 0 then return true end for a = 1, #p do if getItemAttribute(p[a], cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!") return true end end end function onSay(cid, words, param, channel) if param ~= "" then return true end if string.len(words) > 3 then return true end if #getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end --alterado v1.5 local mypoke = getCreatureSummons(cid)[1] if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end if getCreatureName(mypoke) == "Evolution" then return true end if getCreatureName(mypoke) == "Ditto" or getCreatureName(mypoke) == "Shiny Ditto" then name = getPlayerStorageValue(mypoke, 1010) --edited else name = getCreatureName(mypoke) end --local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke) local it = string.sub(words, 2, 3) local move = movestable[name].move1 if getPlayerStorageValue(mypoke, 212123) >= 1 then cdzin = "cm_move"..it.."" else cdzin = "move"..it.."" --alterado v1.5 end if it == "2" then move = movestable[name].move2 elseif it == "3" then move = movestable[name].move3 elseif it == "4" then move = movestable[name].move4 elseif it == "5" then move = movestable[name].move5 elseif it == "6" then move = movestable[name].move6 elseif it == "7" then move = movestable[name].move7 elseif it == "8" then move = movestable[name].move8 elseif it == "9" then move = movestable[name].move9 elseif it == "10" then move = movestable[name].move10 elseif it == "11" then move = movestable[name].move11 elseif it == "12" then move = movestable[name].move12 elseif it == "13" then move = movestable[name].move13 end if not move then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.") return true end if getPlayerLevel(cid) < move.level then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need be atleast level "..move.level.." to use this move.") return true end if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (move.cd + 2) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use "..move.name.." again.") return true end if getTileInfo(getThingPos(mypoke)).protection then doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.") return true end if getPlayerStorageValue(mypoke, 3894) >= 1 then return doPlayerSendCancel(cid, "You can't attack because you is with fear") --alterado v1.3 end --alterado v1.6 if (move.name == "Team Slice" or move.name == "Team Claw") and #getCreatureSummons(cid) < 2 then doPlayerSendCancel(cid, "Your pokemon need be in a team for use this move!") return true end --alterado v1.7 \/\/\/ if isCreature(getCreatureTarget(cid)) and isInArray(specialabilities["evasion"], getCreatureName(getCreatureTarget(cid))) then local target = getCreatureTarget(cid) if math.random(1, 100) <= passivesChances["Evasion"][getCreatureName(target)] then if isCreature(getMasterTarget(target)) then --alterado v1.6 doSendMagicEffect(getThingPos(target), 211) doSendAnimatedText(getThingPos(target), "TOO BAD", 215) doTeleportThing(target, getClosestFreeTile(target, getThingPos(mypoke)), false) doSendMagicEffect(getThingPos(target), 211) doFaceCreature(target, getThingPos(mypoke)) return true --alterado v1.6 end end end if move.target == 1 then if not isCreature(getCreatureTarget(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.") return 0 end if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then return 0 end if getCreatureHealth(getCreatureTarget(cid)) <= 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.") return 0 end if not isCreature(getCreatureSummons(cid)[1]) then return true end if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > move.dist then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.") return 0 end if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then return 0 end end local newid = 0 if isSleeping(mypoke) or isSilence(mypoke) then --alterado v1.5 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry you can't do that right now.") return 0 else newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, move.cd) end doCreatureSay(cid, ""..getPokeName(mypoke)..", "..msgs[math.random(#msgs)]..""..move.name.."!", TALKTYPE_SAY) local summons = getCreatureSummons(cid) --alterado v1.6 addEvent(doAlertReady, move.cd * 1000, cid, newid, move.name, it, cdzin) for i = 2, #summons do if isCreature(summons) and getPlayerStorageValue(cid, 637501) >= 1 then docastspell(summons, move.name) --alterado v1.6 end end docastspell(mypoke, move.name) doCreatureAddCondition(cid, playerexhaust) if useKpdoDlls then doUpdateCooldowns(cid) end return 0 end SE fer em otro local posto as sprite mais creio que é nesta pasta de moves1, aonde faz as moves dos pokes Se conseguirem me ajudem do rep +++

Informação Importante

Confirmação de Termo