Ir para conteúdo

poxt

Campones
  • Total de itens

    0
  • Registro em

  • Última visita

Sobre poxt

Perfil

  • Gênero
    Masculino

Informações

  • Char no Tibia
    flatior
  • Forma que conheci o xTibia
    Otservs
  • Sou
    OT-Admin

Últimos Visitantes

92 visualizações

poxt's Achievements

  1.  

     

    Quando eu troco  este   

     

     

      if not move then
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.")
        return true
        end

     

    Por este

     

     

        if not move then        local isMega = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "megaStone")        if not isMega or name:find("Mega") then
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.")            
        return true        
        end        
         local moveTable, index = getNewMoveTable(movestable[name]), 0        for i = 1, 12 do            if not moveTable[i] then                index = i                break            end        end        if tonumber(it) ~= index then            doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.")            return true        end        local needCds = true                   --Coloque false se o pokémon puder mega evoluir mesmo com spells em cooldown.       
        if needCds then            for i = 1, 12 do                if getCD(getPlayerSlotItem(cid, 8).uid, "move"..i) > 0 then                    
        return doPlayerSendCancel(cid, "To mega evolve, all the spells of your pokemon need to be ready.")                end            end        end        
           move = {name = "Mega Evolution", level = 0, cd = 0, dist = 1, target = 0}    
        end

     

     

     

    meus pokemons parao de soltar os atak oque pode esta acontecendo ?

     

  • Quem Está Navegando   0 membros estão online

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