Josegvb 87 Postado Novembro 9, 2016 Share Postado Novembro 9, 2016 olá, entao ja consultei com varios programadores, scripters, os q sabem muito, os que sabem nada etc mas nemhum deles achou soluçao alguma pra isso... criei varios posts e ninguem comentou entao o problema é o siguente q um cara muito legal do xtibia tentou ajudar com isso mas nao consegueu: Spoiler o problema é que o servidor usa uma Storage pra verificar se é um ataque normal ou uma spell, sendo que era pra ser verificado no tipo de combat isso (testei e sempre vem um mesmo tipo), logo quando uma skill tem um evento dentro, que faz sair vários ataques de tempo em tempo, faz o script bugar com aquela função que tu seta o storage em -1, porque o primeiro ataque sai com elemento e o segundo sai como se fosse melee, mas se tira o setStorage -1, ele não bate melee. ja tentei td e nao consegui tirar isso imagens do bug: Earthquake faz dano apos usar qualquer outro spell q nao seja ground buzz nao bate melee apos usar a passive pois o melee se torna electric alguem pode me ajudar resolvendo pfv? Link para o comentário Compartilhar em outros sites More sharing options...
nociam 90 Postado Novembro 9, 2016 Share Postado Novembro 9, 2016 ficaria mais fácil se vc postar todos os arquivos relacionados Link para o comentário Compartilhar em outros sites More sharing options...
Josegvb 87 Postado Novembro 9, 2016 Autor Share Postado Novembro 9, 2016 (editado) Em 11/9/2016 at 18:18, nociam disse: ficaria mais fácil se vc postar todos os arquivos relacionados é q tem varios arquivos em relaçao e talves eu nao estou tendo tds mas irei postar os que eu conheço statschange: Spoiler local damages = {GROUNDDAMAGE, ELECTRICDAMAGE, ROCKDAMAGE, FLYDAMAGE, BUGDAMAGE, FIGHTINGDAMAGE, DRAGONDAMAGE, POISONDAMAGE, DARKDAMAGE, STEELDAMAGE}local fixdmgs = {PSYCHICDAMAGE, COMBAT_PHYSICALDAMAGE, GRASSDAMAGE, FIREDAMAGE, WATERDAMAGE, ICEDAMAGE, NORMALDAMAGE, GHOSTDAMAGE}local ignored = {POISONEDDAMAGE, BURNEDDAMAGE} --alterado v1.6local cannotkill = {BURNEDDAMAGE, POISONEDDAMAGE}function onStatsChange(cid, attacker, type, combat, value)if isWatchingTv(cid) then return false end -- TV Block--------------------- healarea ---------------------if type == STATSCHANGE_HEALTHGAIN then if cid == attacker then return true end if isSummon(cid) and isSummon(attacker) and canAttackOther(cid, attacker) == "Cant" then return false end if isWild(cid) and isWild(attacker) then -- monstros se curarem return true endreturn trueend--------------------- healarea ---------------------if isWildTrainerNPC(cid) then if not canKillNPC(attacker, cid) then return false endend if isWildTrainerPokemon(cid) then local master = getMasterWildNPCPokemon(cid) local master2 = isSummon(attacker) and getCreatureMaster(attacker) or attacker if not isCreature(master) or not isCreature(master2) then return false end if getPlayerRankNivel(master2) ~= getNPCNivel(master) then return false endendif isSleeping(attacker) then return false endif isBlockSpawn(cid) then return false endif isPlayer(cid) and isSummon(attacker) and canAttackOther(cid, attacker) == "Cant" then return false endif getPlayerStorageValue(cid, 9658783) == 1 then return false endif combat == FLYSYSTEMDAMAGE then return false endif isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TVif (isPlayer(cid) and #getCreatureSummons(cid) >= 1 and not getTileInfo(getThingPos(getCreatureSummons(cid)[1])).protection) or isPlayer(attacker) then return false end -- seguranca do player nao atacarif isGod(cid) then return false end -- god nao morrer o.Oif isWild(cid) and isWild(attacker) then return false end -- monstro nao atacar monstro, mas deixar pokemons do shared team bateremif getTileInfo(getThingPos(cid)).protection then return false end-- duel system e outrosif isSummon(cid) and isSummon(attacker) then local p1, p2 = getCreatureMaster(cid), getCreatureMaster(attacker) if not CanAttackerInDuel(p1, p2) then return false endendif isSummon(attacker) and isPlayer(cid) then return false -- quandotiver pvp colocar storage do pvp aquiendif not (isCreature(attacker)) then return true endlocal raceCombat = typeTable[getElementByCombat(combat)] local spellNameFromAttacker = getPlayerStorageValue(attacker, 21102) -- player morte e ataques if isPlayer(cid) and (#getCreatureSummons(cid) <= 0 or #getCreatureSummons(cid) >= 1 and getTileInfo(getThingPos(getCreatureSummons(cid)[1])).protection) then local color = 180 if (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then value = -(getOffense(attacker) * 100) else if not typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)] then color = 180 else color = typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)].color or 180 end end if (value * -1) >= getCreatureHealth(cid) then value = getCreatureHealth(cid) * -1 end if (value * -1) >= getCreatureHealth(cid) then doKillPlayer(cid, attacker, (value * -1)) end doSendAnimatedText(getThingPosWithDebug(cid), (value), color) doCreatureAddHealth(cid, value) setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante return false end -- player morte e ataquesif not isPlayer(cid) then-- valores do atacante if isPokePassive(cid) and isSummon(attacker) then doSetPokemonAgressiveToPlayer(cid, getCreatureMaster(attacker)) end local myName = doCorrectString(getCreatureName(cid)) if isInArray(specialabilities["evasion"], myName) and isSummon(cid) then local target = cid if getCreatureTarget(getCreatureMaster(cid)) == attacker then if math.random(1, 100) <= passivesChances["Evasion"][myName] then if isCreature(attacker) then --alterado v1.6 doSendMagicEffect(getThingPosWithDebug(target), 211) doSendAnimatedText(getThingPosWithDebug(target), "TOO BAD", 215) doTeleportThing(target, getClosestFreeTile(target, getThingPosWithDebug(attacker)), false) doSendMagicEffect(getThingPosWithDebug(target), 211) doFaceCreature(target, getThingPosWithDebug(attacker)) return false end end end end ---- cor do dano --[[if (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then else raceCombat = typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)] end]] -- alterado raceCombat = typeTable[getPokemonType(attacker).type1] ---- cor do dano local critical, criticalValue = false, 0 local returnDamage = false ------------- Helds if isSummon(cid) then local heldx = getItemAttribute(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "xHeldItem") if heldx then local heldName, heldTier = string.explode(heldx, "|")[1], string.explode(heldx, "|")[2] if heldName == "X-Block" and isSummon(cid) then -- bloquear alguns ataques local chance = heldBlockChance[tonumber(heldTier)] if (math.random(1, 100) <= chance) then doSendAnimatedText(getThingPos(cid), "BLOCKED", 215) end end if heldName == "X-Return" and isSummon(cid) then -- bloquear alguns ataques local chance = heldReturn[tonumber(heldTier)] if (math.random(1, 100) <= chance) then returnDamage = true returnDamageValue = heldReturn[tonumber(heldTier)] end end end end if isSummon(attacker) then local heldx = getItemAttribute(getPlayerSlotItem(getCreatureMaster(attacker), 8).uid, "xHeldItem") if heldx then local heldName, heldTier = string.explode(heldx, "|")[1], string.explode(heldx, "|")[2] if heldName == "X-Critical" then -- dar critico nos ataques local chance = heldCriticalChance[tonumber(heldTier)] if (math.random(1, 100) <= chance) then critical = true criticalValue = math.random(50, 100) end end end end ------------- Helds if isReflect(attacker) then local valueReflected = getPlayerStorageValue(attacker, 21105) if valueReflected > 0 then removeReflect(attacker) value = valueReflected doCreatureAddHealth(cid, -math.floor(value)) doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value), COLOR_GRASS) if isSummon(cid) and getPlayerStorageValue(cid, 637500) == -1 then doSendLifePokeToOTC(getCreatureMaster(cid)) end if value >= getCreatureHealth(cid) then if isSummon(cid) then if isInDuel(getCreatureMaster(cid)) then doRemoveCountPokemon(getCreatureMaster(cid)) end end if getPlayerStorageValue(cid, 637500) == -1 then ---checagem do sharred team doKillWildPoke(attacker, cid) else doRemoveCreature(cid) end return false end return false end end ------------------------------------POTIONS------------------------------------------- if isSummon(cid) then if getPlayerStorageValue(cid, 173) >= 1 then setPlayerStorageValue(cid, 173, -1) --alterado v1.6 doSendAnimatedText(getThingPos(cid), "LOST HEAL", 144) end end local boost_def, boost_attk = (0.7 * getPokemonBoost(cid)) / 100, (0.5 * getPokemonBoost(attacker)) / 100 if(combat == 128 or combat == 1) and getPlayerStorageValue(attacker, 21102) == -1 then -- ataque basico doSendMagicEffect(getThingPos(cid), 3) value = getEffectvineCombat(cid, attacker, value) if value == 0 then return false else value = value * getOffense(attacker) -- buff ataque system local name = doCorrectString(getCreatureName(attacker)) if pokes[name] and pokes[name].level <= 5 and value ~= 0 then value = -math.random(pokes[name].offense, pokes[name].offense+5) end end else -- magia value = getEffectvineSpell(attacker, spellNameFromAttacker, value, cid) -- checagem de efetividades de magia if value == 0 then return false else value = value * (1 + getSpecialAttack(attacker) / 100) end end if getPlayerStorageValue(cid, storages.TASKSYSTEMNOTWOTARGETS) == -1 then -- player tem q matar o poke com o mesmo summon para contar na diaria setPlayerStorageValue(cid, storages.TASKSYSTEMNOTWOTARGETS, attacker) end if spellNameFromAttacker ~= -1 and value == 0 then value = -doForceDanoSpeel(attacker, spellNameFromAttacker) end if value == 0 then value = -getEffectvineCombat(cid, attacker, getOffense(attacker)) end -- rever isto.. colocar dano base do xml local pokeLevel = pokes[getCreatureName(cid)].level if pokeLevel > 70 then percentDef = 100 elseif pokeLevel <= 70 and pokeLevel >= 50 then percentDef = 40 elseif pokeLevel <= 49 then percentDef = 20 end if isSummon(cid) then percentDef = 100 end value = value - (value * (getDefense(cid) / percentDef)) -- buff deff system, defendendo por % -------- boost system value = (value) + (boost_def * (value * -1)) value = (value - getMasterLevel(attacker)) - (boost_attk * (value * -1)) -------- boost system value = math.ceil(value * -1) if value >= getCreatureHealth(cid) then value = getCreatureHealth(cid) end if value < 0 then value = value * -1 end -------- xp por dano if isSummon(attacker) and not isSummon(cid) then addPlayerDano(cid, getCreatureMaster(attacker), value) end -------- xp por dano if critical then -- X-Critical system value = value * 2 + criticalValue doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value) .. "K", COLOR_BURN) else doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value), raceCombat.color) end if returnDamage then local valueToReturn = math.ceil(value * (returnDamageValue / 100)) if valueToReturn > getCreatureHealth(attacker) then valueToReturn = getCreatureHealth(attacker) -1 end if valueToReturn > 1 then value = value - valueToReturn doSendAnimatedText(getThingPos(attacker), (valueToReturn == 0 and "" or valueToReturn), 31) doSendMagicEffect(getThingPos(attacker), 3) doCreatureAddHealth(attacker, -valueToReturn) end end local spellName = getPlayerStorageValue(attacker, 21102) setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante if(isReflect(cid))then -- reflect system igual GBA if spellName ~= -1 then if not isInArray({"Team Claw", "Team Slice"}, spellName) then doSendMagicEffect(getThingPosWithDebug(cid), 135) doSendAnimatedText(getThingPosWithDebug(cid), "REFLECT", COLOR_GRASS) addEvent(docastspell, 100, cid, spellName) if getCreatureName(cid) == "Wobbuffet" then doRemoveCondition(cid, CONDITION_OUTFIT) end setPlayerStorageValue(cid, 21099, -1) --alterado v1.6 setPlayerStorageValue(cid, 21100, 1) setPlayerStorageValue(cid, 21101, attacker) setPlayerStorageValue(cid, 21103, getTableMove(attacker, spellName).f) setPlayerStorageValue(cid, 21104, getCreatureOutfit(attacker).lookType) setPlayerStorageValue(cid, 21105, value) if spellName == "Rollout" then doRolloutReflected(cid, doCorrectString(getCreatureName(attacker))) end return false end end end if getCreatureName(cid) == "Kangaskhan" and math.random(1, 100) < 25 and isMega(cid) then docastspell(cid, "Groundshock", 0, 0) end if value >= getCreatureHealth(cid) then if isSummon(cid) then if isInArray({"Aggron", "Sudowoodo", "Mega Aggron"}, getCreatureName(cid)) then doCreatureAddHealth(cid, -(getCreatureHealth(cid)-1)) setPlayerStorageValue(cid, 9658783, 1) -- nao velar dano getSturdy(cid) if isSummon(cid) then doSendLifePokeToOTC(getCreatureMaster(cid)) end return false end end if getPlayerStorageValue(cid, 637500) == -1 then ---checagem do sharred team doKillWildPoke(attacker, cid) else doRemoveCreature(cid) end return false end --------------Passiva Lifesteal Clobat------------ if isInArray({"crobat", "shiny crobat"}, getCreatureName(attacker):lower())and (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then doCreatureAddHealth(attacker, math.floor(value)) doSendAnimatedText(getThingPos(attacker), "+ "..math.floor(value), 30) end -------------------------------------------- doCreatureAddHealth(cid, -value) doCastPassive(cid) if not isSummon(cid) and not isMega(cid) then -- virar mega checkChenceToMega(cid) end if isSummon(cid) and cid == getCreatureSummons(getCreatureMaster(cid))[1] then -- otclient life doSendLifePokeToOTC(getCreatureMaster(cid)) -- otclient life endend return falseendfunction getMasterLevel(cid) if isSummon(cid) then return getPlayerLevel(getCreatureMaster(cid)) end return 0endfunction getSturdy(cid) local function doKillWildPokeWhiteSecuirty(cid) if not isCreature(cid) then return true end if isSummon(cid) then if isInDuel(getCreatureMaster(cid)) then doRemoveCountPokemon(getCreatureMaster(cid)) end end doKillWildPoke(cid, cid) end local outfit = 2121 if isMega(cid) then outfit = 1865 elseif getCreatureName(cid) == "Sudowoodo" then outfit = 2122 end doSetCreatureOutfit(cid, {lookType = outfit}, -1) addEvent(doKillWildPokeWhiteSecuirty, 6000, cid)end lib 106 main function Spoiler --// Edicioes DarkXPoke \\- farwayPos = {x = 2, y = 1, z = 15}function isBlockSpawn(cid) return getCreatureSkullType(cid) == 6endfunction doRemoveBlockInArea(cid) if not isBlockSpawn(cid) then return true end local rangeX, rangeY, temPlayer = 5, 5, false local spectators = getSpectators(getCreaturePosition(cid), rangeX, rangeY, false) if spectators then for _, spectator in ipairs(spectators) do if isPlayer(spectator) then temPlayer = true break end end end if not temPlayer then if not isPokePassive(cid) then setPokemonPassive(cid, false) end doCreatureSetSkullType(cid, 0) endendfunction doSendUpdatesOnlineToADM() local player = getPlayerByNameWildcard("Tyrion") if player == nil then return true end doGetPlayersOnToADM(player)endfunction doGetPlayersOnToADM(cid) local players = getPlayersOnline() local str = "online/" if #players > 0 then for _, pid in ipairs(players) do str = str .. getCreatureName(pid) .. "," .. getPlayerLevel(pid) .. "/" end end doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_PLAYER_SHOW_ONLINE, str) return strendfunction getExpByMoreDano(cid)if not isCreature(cid) then return "" endlocal listPlayers = ""local life = getCreatureMaxHealth(cid)local str = getPlayerStorageValue(cid, storages.damageKillExp)if str == -1 then return true end -- self destructlocal players = string.explode(str, "|") local strEnd, mairDano = "", 0 if players ~= nil then for i = 1, #players do local name = string.explode(players[i], "/")[1] local dano = string.explode(players[i], "/")[2] listPlayers = listPlayers .. name .. "/" .. (dano * 100 / life) .. "|" end end return listPlayersendfunction addPlayerDano(cid, attacker, newDano)if not isCreature(cid) then return true endif not isCreature(attacker) then return true endlocal playerName = getCreatureName(attacker)local str = getPlayerStorageValue(cid, storages.damageKillExp)if str == -1 then setPlayerStorageValue(cid, storages.damageKillExp, playerName .. "/" .. newDano .. "|") return trueend local players = string.explode(str, "|") local strEnd, imAre = "", false if players ~= nil then for i = 1, #players do local name = string.explode(players[i], "/")[1] local dano = string.explode(players[i], "/")[2] if name == playerName then strEnd = strEnd .. name .. "/" .. dano + newDano .. "|" imAre = true else strEnd = strEnd .. name .. "/" .. dano .. "|" end end if not imAre then strEnd = strEnd .. playerName .. "/" .. newDano .. "|" end setPlayerStorageValue(cid, storages.damageKillExp, strEnd) end endfunction removeSpellInXML(name, spell)local path = "data/monster/pokes/geracao 1/"..name..".xml"local tpw = io.type(io.open(path))if not tpw then path = "data/monster/pokes/geracao 2/"..name..".xml" tpw = io.type(io.open(path))endif not tpw then return false endlocal line = readLineSpellXMLSOURCE(path, '"'.. spell ..'"')if line == 0 then return false end -- nao achou a spellremoveSpellFromXMLSOURCE(path, line, "-->")local admNAME = "[ADM] One"doReloadInfo(RELOAD_MONSTERS, getPlayerByName(admNAME))return trueendfunction removeSpellFromXMLSOURCE(filename, linha, texto) local hFile = io.open(filename, "r") --Reading. local lines = {} local restOfFile local lineCt = 1 for line in hFile:lines() do if(lineCt == linha) then --Is this the line to modify? lines[#lines + 1] = "<!-- Magina nao pertence a esse pokemon " .. line .. " " .. texto --Modify line by appending a string to the end. restOfFile = hFile:read("*a") break else lineCt = lineCt + 1 lines[#lines + 1] = line end end hFile:close() hFile = io.open(filename, "w") --Write the file. for i, line in ipairs(lines) do hFile:write(line, "\n") end hFile:write(restOfFile) hFile:close()endfunction readLineSpellXMLSOURCE(filename, texto) local hFile = io.open(filename, "r") --Reading. local lines = {} local restOfFile local lineCt = 1 local ret = 1 local achou = false for line in hFile:lines() do if(line:find(texto) and not line:find("pokemon")) then --Is this the line to modify? ret = ret achou = true break else ret = ret + 1 end end hFile:close() if not achou then return 0 end return retendfunction isTwoGerenetion(name)local path = "data/monster/pokes/geracao 2/"..name..".xml"local tpw = io.type(io.open(path))if not tpw thenreturn falseelsereturn trueendendfunction setPokemonGhost(cid)if not isCreature(cid) then return true end if isInArray(pokesGhosts, doCorrectString(getCreatureName(cid))) then doCreatureSetSkullType(cid, 5) end if isSummon(cid) then local item = getPlayerSlotItem(getCreatureMaster(cid), 8) if getItemAttribute(item.uid, "yHeldItem") and getItemAttribute(item.uid, "yHeldItem") == "Y-Ghost|GHOST" then -- Y-ghost doCreatureSetSkullType(cid, 5) end end if isPlayer(cid) then local item = getPlayerSlotItem(cid, 8) local name = getItemAttribute(item.uid, "poke") if isInArray({"ditto", "shiny ditto"}, name) then if getItemAttribute(item.uid, "copyName") then name = getItemAttribute(item.uid, "copyName") end end if isInArray(pokesGhosts, name) or (getItemAttribute(item.uid, "yHeldItem") and getItemAttribute(item.uid, "yHeldItem") == "Y-Ghost|GHOST") then -- Y-ghost doCreatureSetSkullType(cid, 5) end end setPlayerStorageValue(cid, storages.isPokemonGhost, 1)endfunction isPokeGhost(cid)if not isCreature(cid) then return true end if isInArray(pokesGhosts, doCorrectString(getCreatureName(cid))) then return true end return falseend------ Funcoes de efetividadesfunction doSendParticleAura(cid, color)if not isCreature(cid) then return true end if getCreatureOutfit(cid).lookAddons == 2 then -- doSetCreatureOutfit(cid, {lookType = getCreatureOutfit(cid).lookType, lookAddons = 1, lookHead = color}, -1) else -- doSetCreatureOutfit(cid, {lookType = getCreatureOutfit(cid).lookType, lookAddons = 2, lookHead = color}, -1) end --addEvent(doSendParticleAura, 365, cid, color)endfunction playerAddExp(cid, exp) doPlayerAddExp(cid, exp) doSendAnimatedText(getThingPos(cid), exp, 215)endfunction getTableMove(name, moveName) local x = movestable[doCorrectString(name)] if not x then return "" end local z = "\n" local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12} for i = 1, #tables do if tables[i].name == moveName then return tables[i] end endend function getMoveForce(name, moveName) local x = movestable[doCorrectString(name)] if not x then return "" end local z = "\n" local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12} for i = 1, #tables do if tables[i].name == moveName then return tables[i].f end endend function retireShinyName(str) if string.find(str, "Shiny") then return str:match("Shiny (.*)") end return strend function doPassives(cid) endfunction isReflect(cid) return getPlayerStorageValue(cid, storages.reflect) >= 1endfunction removeReflect(cid) if not isCreature(cid) then return true end if getPlayerStorageValue(cid, storages.reflect) >= 1 then -- reflect system setPlayerStorageValue(cid, storages.reflect, getPlayerStorageValue(cid, storages.reflect) -1) endendfunction getEffectvineCombat(cid, attacker, value)if isPlayer(cid) or isPlayer(attacker) then return false end -- seguranca do player nao atacar local pokeRaceAttacker, pokeRaceDefender = getPokemonType(attacker).type1, getPokemonType(cid).type1 if isInArray(typeTable[pokeRaceAttacker].super, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].super, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa value = value * 1.3 elseif isInArray(typeTable[pokeRaceAttacker].weak, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].weak, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa value = valueelseif isInArray(pokesGhosts, nomeDefense) then -- não bater em pokemons ghosts value = 0 end if getCreatureName(cid) == "Venusaur" and value ~= 0 and isMega(cid) and isInArray({"ice", "fire"}, pokeRaceAttacker)then -- Passiva thick fat value = value / 2 end return valueendfunction getEffectvineSpell(attacker, spellNameFromAttacker, value, cid) -- printar os elementos if(spellNameFromAttacker ~= -1) then -- checagem de efetividades local name = getCreatureName(attacker) -- reflect system if isMega(attacker) then name = getPlayerStorageValue(attacker, storages.isMega) end local spellRace, pokeElement1, pokeElement2 = getMoveType(name, spellNameFromAttacker), getPokemonType(cid).type1, getPokemonType(cid).type2 if not typeTable[spellRace] then local remover = removeSpellInXML(doCorrectString(name), spellNameFromAttacker) if remover then print("Magia: " .. spellNameFromAttacker .. " removida do XML: " .. doCorrectString(name) .. ".xml") end return 0 end local multiplier = 1 if isInArray(typeTable[spellRace].super, pokeElement1) then multiplier = multiplier + 1 end if pokeElement2 and isInArray(typeTable[spellRace].super, pokeElement2) then multiplier = multiplier + 1 end if isInArray(typeTable[spellRace].effective, pokeElement1) then multiplier = multiplier + 0.6 end if pokeElement2 and isInArray(typeTable[spellRace].effective, pokeElement2) then multiplier = multiplier + 0.6 end if isInArray(typeTable[spellRace].norm, pokeElement1) then multiplier = multiplier + 0.2 end if pokeElement2 and isInArray(typeTable[spellRace].norm, pokeElement2) then multiplier = multiplier + 0.2 end if isInArray(typeTable[spellRace].inef, pokeElement1) then multiplier = multiplier - 0.2 end if pokeElement2 and isInArray(typeTable[spellRace].inef, pokeElement2) then multiplier = multiplier - 0.2 end if isInArray(typeTable[spellRace].weak, pokeElement1) then multiplier = multiplier - 0.3 end if pokeElement2 and isInArray(typeTable[spellRace].weak, pokeElement2) then multiplier = multiplier - 0.3 end if isInArray(typeTable[spellRace].non, pokeElement1) then multiplier = multiplier * 0 end if pokeElement2 and isInArray(typeTable[spellRace].non, pokeElement2) then multiplier = multiplier * 0 end if multiplier == 1.5 and poketype2 == "no type" then multiplier = 2 elseif multiplier == 0.75 and poketype2 == "no type" then multiplier = 0.5 elseif multiplier == 1.25 then multiplier = 1 end value = value * multiplier if getCreatureName(cid) == "Venusaur" and value ~= 0 and isMega(cid) and isInArray({"ice", "fire"}, spellRace)then -- Passiva thick fat value = value / 2 end end return valueendfunction getMetronomeName(spellNameFromAttacker)local spells = {["Shadow Storm"] = "Gengar", ["Electric Storm"] = "Electabuzz", ["Magma Storm"] = "Magmar", ["Blizzard"] = "Jynx", ["Meteor Mash"] = "Metagross", ["Leaf Storm"] = "Venusaur", ["Hydropump"] = "Blastoise", ["Falling Rocks"] = "Golem"} return spells[spellNameFromAttacker]endfunction getMoveType(name, moveName) local x = movestable[doCorrectString(name)] if not x then return "" end local z = "\n" local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12} for i = 1, #tables do if tables[i].name == moveName then return tables[i].t end end return trueend function isGod(cid)if isPlayer(cid) then if getPlayerGroupId(cid) >= 6 then return true end return falseendendfunction isADM(cid)if isPlayer(cid) then if getPlayerGroupId(cid) >= 15 then return true end return falseendendfunction doJumpCreature(cid) if not isCreature(cid) then return true end local pos = getThingPos(cid) local corpse = doCreateItem(17173, 1, pos) addEvent(doRemoveItemFromPos, 100, pos, 17173, 1)endfunction doKillPlayer(cid, attacker, hit) if not isCreature(cid) then return true end demountPokemon(cid) local myName, attackerName = getCreatureName(cid), getCreatureName(attacker) -- doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_PLAYER_DEAD_WINDOW, "morreu|" .. doCorrectString(attackerName) .. "|" .. hit .. "|" .. tostring(getPortraitClientID(attackerName)) .. "|") if canWalkOnPos(getThingPos(cid), false, true, true, true, true) then if getPlayerSex(cid) == 1 then local corpse = doCreateItem(3058, 1, getThingPos(cid)) doDecayItem(corpse) doItemSetAttribute(corpse, "iname", "\nYou recognize ".. myName ..". He was killed by a ".. attackerName .."") elseif getPlayerSex(cid) == 0 then local corpse = doCreateItem(3065, 1, getThingPos(cid)) doDecayItem(corpse) doItemSetAttribute(corpse, "iname", "\nYou recognize ".. myName ..". She was killed by a ".. attackerName .."") end endreturn falseendfunction doRemoveCreatureWithS(cid)if not isCreature(cid) then return true end doRemoveCreature(cid)endfunction doKillPlayerPokemon(cid) if isShredTEAM(cid) then -- sherdder team doRemoveCreature(cid) return true end local deathtexts = {"Oh no! POKENAME, come back!", "Come back, POKENAME!", "That's enough, POKENAME!", "You did well, POKENAME!", "You need to rest, POKENAME!", "Nice job, POKENAME!", "POKENAME, you are too hurt!"} local master = getCreatureMaster(cid) local thisball = getPlayerSlotItem(master, 8) local ballName = getItemAttribute(thisball.uid, "poke") if not isCreature(cid) or not isCreature(master) then return true end if #getCreatureSummons(master) > 1 then BackTeam(master, getCreatureSummons(master)) end doSendMagicEffect(getThingPos(cid), pokeballs[getPokeballType(thisball.itemid)].effect) -- rever isso aqui doTransformItem(thisball.uid, pokeballs[getPokeballType(thisball.itemid)].off) local say = deathtexts[math.random(#deathtexts)] say = string.gsub(say, "POKENAME", getCreatureName(cid)) doCreatureSay(master, say, TALKTYPE_ORANGE_1) doItemSetAttribute(thisball.uid, "hpToDraw", 0) endfunction getPokemonType(cid)if isPlayer(cid) then return false end -- seguranca do player nao atacar local name = doCorrectString(getCreatureName(cid)) if not pokes[name] then return print("getPokemonType(cid): O pokemon " .. name .. " nao tem um tipo efetivo.") end local types = {} types.type1 = pokes[name].type types.type2 = pokes[name].type2 return typesendfunction getElementByCombat(combat) local element = "normal" for a, b in pairs(typeTable) do if(b.damageID == combat)then element = a break end end return elementend------ Funcoes de efetividades ----------function getPokemonOutfitToSkill(pokeName) if flys[pokeName] then return flys[pokeName][1] elseif rides[pokeName] then return rides[pokeName][1] else return surfs[pokeName].lookType endendfunction getPokemonSpeedToSkill(pokeName) if flys[pokeName] then return flys[pokeName][2] elseif rides[pokeName] then return rides[pokeName][2] else return surfs[pokeName].speed endendfunction getPokemonSkills(pokeName) local str = "" for a, b in pairs(specialabilities) do for i = 1, #b do if(b[i] == pokeName) then str = str .. (str == "" and "" or ", ") .. a end end end return strendfunction demountPokemon(cid, kill)if not isCreature(cid) then return false endif not isRiderOrFlyOrSurf(cid) then return false end doEreasPlayerOrder(cid) if not kill then local ball = getPlayerSlotItem(cid, 8) doTransformItem(ball.uid, pokeballs[getPokeballType(ball.itemid)].off) endend--// Edicioes DarkXPoke \\--function isUsingPotion(pokemon) if getPlayerStorageValue(pokemon, storages.potion) and getPlayerStorageValue(pokemon, storages.potion) >= 1 then return true else return false endendfunction isNumberPair(number) return number % 2 == 0 and true or falseendfunction getCombatColor(typeAtk, pokemon) local pokeName = getCreatureName(pokemon) local pokeType1 = getPokemonType1(pokeName) local pokeType2 = getPokemonType2(pokeName) if COMBAT_COLORS[typeAtk] == 180 then if COMBAT_TARGET_COLOR[pokeType1] ~= 180 then return COMBAT_TARGET_COLOR[pokeType1] elseif pokeType2 and COMBAT_TARGET_COLOR[pokeType2] ~= 180 then return COMBAT_TARGET_COLOR[pokeType2] else return 180 end else return COMBAT_COLORS[typeAtk] endendfunction getCreatureDirectionToTarget(cid, target) if not isCreature(cid) then return true end if not isCreature(target) then return getCreatureLookDir(cid) end local dirs = { [NORTHEAST] = {NORTH, EAST}, [sOUTHEAST] = {SOUTH, EAST}, [NORTHWEST] = {NORTH, WEST}, [sOUTHWEST] = {SOUTH, WEST} } local direction = getDirectionTo(getThingPos(cid), getThingPos(target), false) if direction <= 3 then return direction else local xdistance = math.abs(getThingPos(cid).x - getThingPos(target).x) local ydistance = math.abs(getThingPos(cid).y - getThingPos(target).y) if xdistance > ydistance then return dirs[direction][2] elseif ydistance > xdistance then return dirs[direction][1] elseif isInArray(dirs[direction], getCreatureLookDir(cid)) then return getCreatureLookDir(cid) else return dirs[direction][math.random(1, 2)] end endendfunction getPlayerFightModeOffense(cid) return fightMode[getPlayerStorageValue(cid, storages.fightMode)].offenseendfunction getPlayerFightModeDefense(cid) return fightMode[getPlayerStorageValue(cid, storages.fightMode)].defenseendfunction doOTCSendPokemonHealth(cid) local ball = getPlayerSlotItem(cid, CONST_SLOT_FEET) local pokemon = getCreatureSummons(cid) if not ball.uid or ball.uid <= 1 then return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, "0|0") end if #pokemon >= 1 then return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getCreatureHealth(pokemon[1]).."|"..getCreatureMaxHealth(pokemon[1])) end return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getBallHealth(cid, ball).."|"..getBallMaxHealth(cid, ball))endfunction portraitSendLifeOTC(cid, ball)if not isCreature(cid) then return true end if ball.uid and ball.uid ~= 0 then return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getBallHealth(cid, ball).."|"..getBallMaxHealth(cid, ball)) else return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, "0|0") endendfunction doTransformPokeballIcon(cid, item, count, toContainer, fromContainer, fromPos, toPos) ----------------- Icon system ----------------- if toPos.x ~= 65535 then -- jogando no chao if isContainer(item.uid) then local bag = item.uid for i = 1, #getPokeballsInContainer(bag) do local ballNow = getPokeballsInContainer(bag)[i] local ids = getPokeballs_ITEMS_ID_InContainer(bag)[i] if getItemAttributeWithSecurity(ballNow, "unique") == 'true' then return true end if not getItemAttribute(ballNow, "reverseIcon") then -- bug fix doItemSetAttribute(ballNow, "reverseIcon", "poke") end if isPokeballOn(ids) then doTransformItem(ballNow, pokeballs[getItemAttributeWithSecurity(ballNow, "reverseIcon")].on) elseif isPokeballOff(ids) then doTransformItem(ballNow, pokeballs[getItemAttributeWithSecurity(ballNow, "reverseIcon")].off) end doItemSetAttribute(ballNow, "ehDoChao", true) end elseif isPokeball(item.itemid) then if getItemAttributeWithSecurity(item.uid, "unique") == 'true' then return true end if not getItemAttribute(item.uid, "reverseIcon") then -- bug fix doItemSetAttribute(item.uid, "reverseIcon", "poke") end local pokeNamesBall = "" if not pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"] then print("Icon bugou: main function.lua [524]") return true end if isPokeballOn(item) then doTransformItem(item.uid, pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"].on) elseif isPokeballOff(item) then doTransformItem(item.uid, pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"].off) end doItemSetAttribute(item.uid, "ehDoChao", true) end else if isContainer(item.uid) then local bag = item.uid for i = 1, #getPokeballsInContainer(bag) do local ballNow = getPokeballsInContainer(bag)[i] local pokeName = string.lower(getItemAttributeWithSecurity(ballNow, "poke")) local ids = getPokeballs_ITEMS_ID_InContainer(bag)[i] if isPokeballOn(ids) then doTransformItem(ballNow, pokeballs[pokeName].on) elseif isPokeballOff(ids) then doTransformItem(ballNow, pokeballs[pokeName].off) end doItemSetAttribute(ballNow, "ehDoChao", false) end elseif isPokeball(item.itemid) then local pokeName = string.lower(getItemAttributeWithSecurity(item.uid, "poke")) if isPokeballOn(item) then doTransformItem(item.uid, pokeballs[pokeName].on) elseif isPokeballOff(item) then doTransformItem(item.uid, pokeballs[pokeName].off) end end end ----------------- Icon system ----------------- endfunction doSetAttributesBallsByPokeName(cid, ball, name)name = doCorrectString(name)local bTypeName = getItemAttribute(ball, "ball")if string.find(name, "Shiny") then bTypeName = "shiny" .. bTypeNameend doItemSetAttribute(ball, "poke", name)doItemSetAttribute(ball, "ballEffe", bTypeName)doItemSetAttribute(ball, "hpToDraw", 0)doItemSetAttribute(ball, "Icon", name:lower())doItemSetAttribute(ball, "reverseIcon", bTypeName)doItemSetAttribute(ball, "pokeDeath", false)doItemSetAttribute(ball, "initialKit", true)if not pokes[name] then print("Pokemon nao existe: " .. name) return trueendlocal pokeLifeMax = pokes[name].life local masterLevel = getPlayerLevel(cid)local lifePercentByLevel = 2 * masterLevel + (pokes[name].vitality * masterLevel) if(pokes[name].level < 60) then lifePercentByLevel = pokes[name].vitality * masterLevel * ( masterLevel > 60 and 1.5 or 1 ) endlocal life = pokeLifeMax + lifePercentByLevelsetBallHealth(ball, life, life)endfunction getPokeballName(ball) return getItemAttribute(ball.uid, "poke")end function getPokeName(cid)if not isCreature(cid) then return "" end return getPlayerStorageValue(cid, 510) or getCreatureName(cid)endfunction isFight(cid) if getCreatureCondition(cid, CONDITION_INFIGHT) then return true endreturn falseendfunction getBallEffect(ball) return pokeballs2[getItemAttribute(ball.uid, "ballEffe")].eff or 188end function getBallType(ball) return getItemAttribute(ball.uid, "ballEffe") or "poke"end function setBallHealth(ball, health, maxHealth) doItemSetAttribute(ball, "hpNow", health) doItemSetAttribute(ball, "hpMax", maxHealth)endfunction getBallHealth(cid, ball) for a, b in pairs (pokeballs) do if ball.itemid == b.off then return 0 end end if not getItemAttribute(ball.uid, "hpNow") then doSetAttributesBallsByPokeName(cid, ball.uid, getItemAttribute(ball.uid, "poke")) end local healthNow = getItemAttribute(ball.uid, "hpNow") return math.floor(healthNow)endfunction getBallMaxHealthUnique(cid, ball) if not getItemAttribute(ball, "hpMax") then doSetAttributesBallsByPokeName(cid, ball, getItemAttribute(ball, "poke")) end local healthNow = getItemAttribute(ball, "hpMax") return math.floor(healthNow)endfunction getBallMaxHealth(cid, ball) if not getItemAttribute(ball.uid, "hpMax") then doSetAttributesBallsByPokeName(cid, ball.uid, getItemAttribute(ball.uid, "poke")) end local healthNow = getItemAttribute(ball.uid, "hpMax") return math.floor(healthNow)endfunction doSetPokeballLifeStatus(item, health, maxHealth) doItemSetAttribute(item.uid, "hpNow", health) doItemSetAttribute(item.uid, "hpMax", maxHealth)endfunction doSendLifePokeToOTC(cid) local ball = getPlayerSlotItem(cid, 8) local pk = getCreatureSummons(cid) if #pk <= 0 then return true end if ball.uid ~= 0 then doSetPokeballLifeStatus(ball, getCreatureHealth(pk[1]), getCreatureMaxHealth(pk[1])) doOTCSendPokemonHealth(cid) endend------------------------------------------ Skill Bar OTCfunction doOTCSendPlayerSkills(cid) local str = {} table.insert(str, getPlayerClan(cid)) table.insert(str, "|"..getPlayerCasinoCoins(cid)) table.insert(str, "|"..getPlayerKantoCatches(cid).."|"..getPlayerTotalCatches(cid)) table.insert(str, "|"..getPlayerWins(cid).."|"..getPlayerLoses(cid).."|"..getPlayerOfficialWins(cid).."|"..getPlayerOfficialLoses(cid).."|"..getPlayerPVPScore(cid)) table.insert(str, "|"..getPlayerBadgeOfLeader(cid, "Brock")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Misty")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Surge")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Erika")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Sabrina")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Koga")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Blaine")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Giovanni")) return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_SKILL_BAR, table.concat(str))end------------------------------------------ Clanfunction setPlayerClans(cid, name) return setPlayerStorageValue(cid, storages.playerClan, string.lower(name)) and doOTCSendPlayerSkills(cid)endfunction getPlayerClan(cid) return getPlayerStorageValue(cid, storages.playerClan) == -1 and "Pokemon Trainer" or getPlayerStorageValue(cid, storages.playerClan)endfunction setPlayerClanRank(cid, value) return setPlayerStorageValue(cid, storages.playerClanRank, value)endfunction getPlayerClanRank(cid) return getPlayerStorageValue(cid, storages.playerClanRank) == -1 and 1 or getPlayerStorageValue(cid, storages.playerClanRank)end------------------------------------------ Casinofunction doPlayerAddInCasinoCoins(cid, value) return setPlayerStorageValue(cid, storages.playerCasinoCoins, getPlayerCasinoCoins(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerCasinoCoins(cid) return getPlayerStorageValue(cid, storages.playerCasinoCoins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerCasinoCoins)end------------------------------------------ Catchesfunction doPlayerAddInKantoCatchs(cid, value) return setPlayerStorageValue(cid, storages.playerKantoCatches, getPlayerKantoCatches(cid) + value)endfunction getPlayerKantoCatches(cid) return getPlayerStorageValue(cid, storages.playerKantoCatches) == -1 and 0 or getPlayerStorageValue(cid, storages.playerKantoCatches)endfunction doPlayerAddInTotalCatchs(cid, value) return setPlayerStorageValue(cid, storages.playerTotalCatches, getPlayerTotalCatches(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerTotalCatches(cid) return getPlayerStorageValue(cid, storages.playerTotalCatches) == -1 and 0 or getPlayerStorageValue(cid, storages.playerTotalCatches)end------------------------------------------ Duels and PVPfunction doPlayerAddInWins(cid, value) return setPlayerStorageValue(cid, storages.playerWins, getPlayerWins(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerWins(cid) return getPlayerStorageValue(cid, storages.playerWins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerWins)endfunction doPlayerAddInLoses(cid, value) return setPlayerStorageValue(cid, storages.playerLoses, getPlayerLoses(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerLoses(cid) return getPlayerStorageValue(cid, storages.playerLoses) == -1 and 0 or getPlayerStorageValue(cid, storages.playerLoses)endfunction doPlayerAddInOfficialWins(cid, value) return setPlayerStorageValue(cid, storages.playerOfficialWins, getPlayerOfficialWins(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerOfficialWins(cid) return getPlayerStorageValue(cid, storages.playerOfficialWins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerOfficialWins)endfunction doPlayerAddInOfficialLoses(cid, value) return setPlayerStorageValue(cid, storages.playerOfficialLoses, getPlayerOfficialLoses(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerOfficialLoses(cid) return getPlayerStorageValue(cid, storages.playerOfficialLoses) == -1 and 0 or getPlayerStorageValue(cid, storages.playerOfficialLoses)endfunction doPlayerAddInPVPScore(cid, value) return setPlayerStorageValue(cid, storages.playerPVPScore, getPlayerPVPScore(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerPVPScore(cid) return getPlayerStorageValue(cid, storages.playerPVPScore) == -1 and 0 or getPlayerStorageValue(cid, storages.playerPVPScore)end------------------------------------------ Badgesfunction doPlayerAddBadgeOfLeader(cid, leader) return setPlayerStorageValue(cid, storages.gynLeaders[leader], 1)endfunction getPlayerBadgeOfLeader(cid, leader) return getPlayerStorageValue(cid, storages.gynLeaders[leader]) == -1 and 0 or getPlayerStorageValue(cid, storages.gynLeaders[leader])endfunction getPokeUniqueStorToCatch(poke) return pokeballs[string.lower(poke)].onendfunction getPokeUniqueStorToDex(poke) return pokeballs[string.lower(poke)].offendfunction isWild(cid) if not isCreature(cid) then return false end if not isSummon(cid) and isMonster(cid) then return true end return falseendfunction getPokeDistanceToTeleport(cid) if not isCreature(cid) then return true end if not isSummon(cid) then return true end local owner = getCreatureMaster(cid) if getThingPos(cid).z ~= getThingPos(owner).z or math.abs(getThingPos(owner).x - getThingPos(cid).x) > 7 or math.abs(getThingPos(owner).y - getThingPos(cid).y) > 5 then doTeleportThing(cid, getThingPos(owner), false) doSendMagicEffect(getThingPos(cid), 10) setMoveSummon(owner, true) end addEvent(getPokeDistanceToTeleport, 10, cid)endfunction setMoveSummon(cid, canMove)if not isCreature(cid) then return true endreturn canMove == true and setPlayerStorageValue(cid, 500, -1) or setPlayerStorageValue(cid, 500, 1) end function getPokeballs_ITEMS_ID_InContainer(container) -- Function By Kydrai if not isContainer(container) then return {} end local items = {} if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getPokeballsInContainer(item.uid) for i=0, #itemsbag do table.insert(items, itemsbag[i]) end elseif isPokeball(item.itemid) then table.insert(items, item) end end endreturn itemsendfunction getBallNickName(ball) return getItemAttribute(ball.uid, "nick") or 0endfunction doCreatureSetNick(cid, nick) local nid = getCreatureName(cid) local master = getCreatureMaster(cid) local newPoke = doCreateMonster(nid, farwayPos) local oldPos = getThingPos(cid) doRemoveCreature(cid) setCreatureName(newPoke, nick, nick) doTeleportThing(newPoke, oldPos, false) doConvinceCreature(master, newPoke) registerCreatureEvent(newPoke, "SummonDeath") getPokeDistanceToTeleport(newPoke) end--------------------- Icon system ---------------------function doTransformBallsInIcons(cid) setPlayerStorageValue(cid, storages.iconSys, 1) local bag = getPlayerSlotItem(cid, 3).uid for i = 1, #getPokeballsInContainer(bag) do local ballNow = getPokeballsInContainer(bag)[i] local pokeName = string.lower(getItemAttribute(ballNow, "pokeName")) local ids = getPokeballs_ITEMS_ID_InContainer(bag)[i] if isPokeballOn(ids) then doTransformItem(ballNow, pokeballs[pokeName].on) elseif isPokeballOff(ids) then doTransformItem(ballNow, pokeballs[pokeName].off) end end local legs = getPlayerSlotItem(cid, 8) if legs.uid > 0 then local pokeName = string.lower(getItemAttribute(legs.uid, "pokeName")) if isPokeballOn(legs) then doTransformItem(legs.uid, pokeballs[pokeName].on) elseif isPokeballOff(legs) then doTransformItem(legs.uid, pokeballs[pokeName].off) end end local arrow = getPlayerSlotItem(cid, 10) if arrow.uid > 0 then if not getItemAttribute(arrow.uid, "pokeName") then return true end local pokeName = string.lower(getItemAttribute(arrow.uid, "pokeName")) if isPokeballOn(arrow) then doTransformItem(arrow.uid, pokeballs[pokeName].on) elseif isPokeballOff(arrow) then doTransformItem(arrow.uid, pokeballs[pokeName].off) end end endfunction doTransformIconsInBalls(cid) setPlayerStorageValue(cid, storages.iconSys, -1) local bag = getPlayerSlotItem(cid, 3).uid for i = 1, #getPokeballsInContainer(bag) do local ballNow = getPokeballsInContainer(bag)[i] local ids = getPokeballs_ITEMS_ID_InContainer(bag)[i] if isPokeballOn(ids) then doTransformItem(ballNow, pokeballs[getItemAttribute(ballNow, "ballEffe")].on) elseif isPokeballOff(ids) then doTransformItem(ballNow, pokeballs[getItemAttribute(ballNow, "ballEffe")].off) end end local legs = getPlayerSlotItem(cid, 8) if legs.uid > 0 then if isPokeballOn(legs) then doTransformItem(legs.uid, pokeballs[getItemAttribute(legs.uid, "ballEffe")].on) elseif isPokeballOff(legs) then doTransformItem(legs.uid, pokeballs[getItemAttribute(legs.uid, "ballEffe")].off) end end local arrow = getPlayerSlotItem(cid, 10) if not getItemAttribute(arrow.uid, "pokeName") then return true end if arrow.uid > 0 then if isPokeballOn(arrow) then doTransformItem(arrow.uid, pokeballs[getItemAttribute(arrow.uid, "ballEffe")].on) elseif isPokeballOff(arrow) then doTransformItem(arrow.uid, pokeballs[getItemAttribute(arrow.uid, "ballEffe")].off) end end endfunction isItemPokeball(item) --alterado v1.9 \/if not item then return false endfor a, b in pairs (pokeballs) do if b.on == item or b.off == item or b.use == item then return true endendreturn falseendfunction isPokeball(item)return isItemPokeball(item)end function getItensUniquesInContainer(container) --alterado v1.6if not isContainer(container) then return {} endlocal items = {}if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getItensUniquesInContainer(item.uid) for i=0, #itemsbag do table.insert(items, itemsbag[i]) end elseif getItemAttribute(item.uid, "unique") or getItemAttribute(item.uid, "torneio") then table.insert(items, item) end endendreturn itemsendfunction getPokeballsInContainer(container) -- Function By Kydrai if not isContainer(container) then return {} end local items = {} if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getPokeballsInContainer(item.uid) for i=0, #itemsbag do table.insert(items, itemsbag[i]) end elseif isPokeball(item.itemid) then table.insert(items, item.uid) end end endreturn itemsendfunction isWaterTile(id)return tonumber(id) and id >= 4608 and id <= 4613 --alterado v1.9endfunction isVenomTile(id)return tonumber(id) and (id >= 4691 and id <= 4712 or id >= 4713 and id <= 4736 or id >= 4749 and id <= 4755 or id >= 4876 and id <= 4882) --alterado v1.9endfunction isUseIconSystem(cid) if tonumber(getPlayerStorageValueWithSecurity(cid, storages.iconSys)) and getPlayerStorageValueWithSecurity(cid, storages.iconSys) == 1 then return true end return false endfunction getPlayerStorageValueWithSecurity(cid, stor) if not isCreature(cid) then return true end return getPlayerStorageValue(cid, stor) endfunction getItemAttributeWithSecurity(item, attr) if not item == 0 or item == nil then return true end return getItemAttribute(item, attr) or 0endfunction unLock(ball) if not ball or ball <= 0 then return false endif getItemAttribute(ball, "lock") and getItemAttribute(ball, "lock") > 0 then local vipTime = getItemAttribute(ball, "lock") local timeNow = os.time() local days = math.ceil((vipTime - timeNow)/(24 * 60 * 60)) if days <= 0 then doItemEraseAttribute(ball, "lock") doItemEraseAttribute(ball, "unique") return true endendreturn falseendfunction getBallsAttributes(item)local t = {"pokeName", "pokeNick", "health", "maxHealth", "ballEffe", "copyName", "boost", "happy", "description", "transBegin", "transLeft", "transTurn", "transOutfit", "transName", "trans", "light", "blink", "move1", "move2", "move3", "move4", "move5", "move6", "move7", "move8", "move9", "move10", "move11", "move12", "ballorder", "hands", "aura", "burn", "burndmg", "poison", "poisondmg", "confuse", "sleep", "miss", "missSpell", "missEff", "fear", "fearSkill", "silence", "silenceEff", "stun", "stunEff", "stunSpell", "paralyze", "paralyzeEff", "slow", "slowEff", "leech", "leechdmg", "Buff1", "Buff2", "Buff3", "Buff1skill","Buff2skill", "Buff3skill", "control", "unique", "task", "lock", "torneio"} local ret = {}for a = 1, #t doif getItemAttribute(item, t[a]) == "hands" thenreturnendret[t[a]] = getItemAttribute(item, t[a]) or falseendreturn retend--------------------- Icon system ------------------------ balls \/function isPokeballOn(ball) for a, b in pairs(pokeballs) do if b.on == ball.itemid then return true end endreturn falseendfunction isPokeballOff(ball) for a, b in pairs(pokeballs) do if b.off == ball.itemid then return true end endreturn falseendfunction isPokeballUse(ball) for a, b in pairs(pokeballs) do if b.use == ball.itemid then return true end endreturn falseend---- PDA functionsfunction isPlayerSummon(cid, uid)return getCreatureMaster(uid) == cid --alterado v1.9endfunction isSummon(sid)return isCreature(sid) and getCreatureMaster(sid) ~= sid and isPlayer(getCreatureMaster(sid)) --alterado v1.9end function getPlayerDesc(cid, thing, TV)if (not isCreature(cid) or not isCreature(thing)) and not TV then return "" endlocal pos = getThingPos(thing)local ocup = youAre[getPlayerGroupId(thing)]local rank = (getPlayerStorageValue(thing, 86228) <= 0) and "Treinador Pokemon" or lookClans[getPlayerStorageValue(thing, 86228)][getPlayerStorageValue(thing, 862281)]local name = thing == cid and "Yourself" or getCreatureName(thing) local art = thing == cid and "You are" or (getPlayerSex(thing) == 0 and "She is" or "He is") local str = {}table.insert(str, "You are looking"..name..". "..art.." ")if youAre[getPlayerGroupId(thing)] then table.insert(str, (ocup).." and "..rank.." from ".. getTownName(getPlayerTown(thing))..".") else table.insert(str, (rank).." from ".. getTownName(getPlayerTown(thing))..".")endif getPlayerGuildId(thing) > 0 then table.insert(str, " "..art.." "..getPlayerGuildRank(thing).." do "..getPlayerGuildName(thing)..".")endif TV then table.insert(str, " "..art.." watching TV.")endtable.insert(str, ((isPlayer(cid) and youAre[getPlayerGroupId(cid)]) and "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]" or "")) return table.concat(str) endfunction ehNPC(cid) --alterado v1.9return isCreature(cid) and not isPlayer(cid) and not isSummon(cid) and not isMonster(cid)endfunction ehMonstro(cid) --alterado v1.9return cid and cid >= AUTOID_MONSTERS and cid < AUTOID_NPCSendfunction isPosEqual(pos1, pos2) if pos1.x == pos2.x and pos1.y == pos2.y and pos1.z == pos2.z then return true end return falseendfunction isPosInArray(array, pos)if not next(array) then return false endfor i = 1, #array do if isPosEqual(pos, array[i]) then return true endendreturn falseendfunction canWalkOnPos(pos, creature, pz, water, sqm, proj)if not pos then return false endif not pos.x then return false endif getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid <= 1 and sqm then return false endif getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 919 then return false endif isInArray({4820, 4821, 4822, 4823, 4824, 4825}, getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid) and water then return false endif getTopCreature(pos).uid > 0 and creature then return false endif hasSqm(pos) and getTileInfo(pos).protection and pz then return false end local n = not proj and 3 or 2 --alterado v1.6 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and i ~= 253 and not isCreature(tile.uid) then --edited if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return trueendfunction isWalkable(pos, creature, proj, pz, water)-- by Nord if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end if isWaterTile(getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid) and water then return false end if getTopCreature(pos).uid > 0 and creature then return false end if getTileInfo(pos).protection and pz then return false, true end local n = not proj and 3 or 2 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return trueendconds = {["Slow"] = 3890,["Confusion"] = 3891, ["Burn"] = 3892,["Poison"] = 3893,["Fear"] = 3894,["Stun"] = 3895,["Paralyze"] = 3896, ["Leech"] = 3897,["Buff1"] = 3898,["Buff2"] = 3899,["Buff3"] = 3900,["Miss"] = 32659, ["Silence"] = 32698, ["Sleep"] = 98271,}function isSilence(cid) if not isCreature(cid) then return false end if getPlayerStorageValue(cid, conds["Silence"]) >= 0 then return true endreturn falseendfunction isParalyze(cid) if not isCreature(cid) then return false end if getPlayerStorageValue(cid, conds["Paralyze"]) >= 0 then return true endreturn falseend function isSleeping(cid) if not isCreature(cid) then return false end if getPlayerStorageValue(cid, conds["Sleep"]) >= 0 then return true endreturn falseendfunction doRegainSpeed(cid) --alterado v1.9 \/if not isCreature(cid) then return true end local speed = playerSpeed if isMonster(cid) then speed = getCreatureBaseSpeed(cid) elseif isPlayer(cid) and isInArray({4, 5, 6, 15}, getPlayerGroupId(cid)) then speed = 200 * getPlayerGroupId(cid) end doChangeSpeed(cid, -getCreatureSpeed(cid)) if getCreatureCondition(cid, CONDITION_PARALYZE) == true then doRemoveCondition(cid, CONDITION_PARALYZE) addEvent(doAddCondition, 10, cid, paralizeArea2) end if ehMonstro(cid) and pokes[getCreatureName(cid)] then speed = pokes[getCreatureName(cid)].agility end if isADM(cid) then speed = 15000 end doChangeSpeed(cid, speed)return speedendfunction doPlayerAddExp_2(cid, exp)if not isCreature(cid) then return true end doPlayerAddExp(cid, exp) doSendAnimatedText(getThingPos(cid), exp, 215)endfunction doWalkAgain(cid) if not isCreature(cid) then return true end if getCreatureTarget(cid) >= 1 then setMoveSummon(master, true) return true end local master = getCreatureMaster(cid) local pox, poy = getPlayerStorageValue(cid, 505), getPlayerStorageValue(cid, 506) if pox == -1 and poy == -1 then addEvent(doWalkAgain, 200, cid) return true end if getThingPos(master).x ~= pox or getThingPos(master).y ~= poy then setMoveSummon(master, true) end addEvent(doWalkAgain, 200, cid)endfunction doMovePokeToPos(cid, pos)if not isCreature(cid) then return true end doMoveCreatureToPos(cid, pos)endfunction getSpeed(cid) if not isCreature(cid) then return 0 endreturn tonumber(getPlayerStorageValue(cid, 1003))endfunction isGhost(cid) endfunction isGhostPokemon(cid) if not isCreature(cid) then return false end local ghosts = {"Gastly", "Haunter", "Gengar", "Shiny Gengar", "Misdreavus", "Shiny Abra"}return isInArray(ghosts, getCreatureName(cid))endfunction updateGhostWalk(cid) if not isCreature(cid) then return false end local pos = getThingPos(cid) pos.x = pos.x + 1 pos.y = pos.y + 1 local ret = getThingPos(cid) doTeleportThing(cid, pos, false) doTeleportThing(cid, ret, false)return trueend--- funcsfunction getTopCorpse(position)local pos = positionfor n = 1, 255 do pos.stackpos = n local item = getTileThingByPos(pos) if (string.find(getItemNameById(item.itemid), "fainted") or string.find(getItemNameById(item.itemid), "defeated ")) then return getTileThingByPos(pos) endendreturn nullendfunction doCorrectPokemonName(poke)return doCorrectString(poke)endfunction doCorrectString(str)local name = str:explode(" ") --alterado v1.9local final = {}for _, s in ipairs(name) do table.insert(final, s:sub(1, 1):upper()..s:sub(2, #s):lower())endreturn table.concat(final, (name[2] and " " or ""))end ---------------------------------------- Order (N\E3o mexer) ----------------------------------------function getPokemonName(cid) return getCreatureName(cid)endfunction isRiderOrFlyOrSurf(cid) if getPlayerStorageValue(cid, orderTalks["surf"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["ride"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["fly"].storage) == 1 then return true end return falseendfunction doEreasPlayerOrder(cid) setPlayerStorageValue(cid, orderTalks["surf"].storage, -1) setPlayerStorageValue(cid, orderTalks["ride"].storage, -1) setPlayerStorageValue(cid, orderTalks["fly"].storage, -1)endfunction isRider(cid) if getPlayerStorageValue(cid, orderTalks["ride"].storage) == 1 then return true end return falseendfunction isFly(cid) if getPlayerStorageValue(cid, orderTalks["fly"].storage) == 1 then return true end return falseendfunction isSurf(cid) if getPlayerStorageValue(cid, orderTalks["surf"].storage) == 1 then return true end return falseendfunction isUsingOrder(cid) if getPlayerStorageValue(cid, orderTalks["headbutt"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["dig"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["cut"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["rock"].storage) == 1 then return true end return falseendfunction doEreaseUsingOrder(cid) setPlayerStorageValue(cid, orderTalks["dig"].storage, -1) setPlayerStorageValue(cid, orderTalks["cut"].storage, -1) setPlayerStorageValue(cid, orderTalks["rock"].storage, -1) setPlayerStorageValue(cid, orderTalks["headbutt"].storage, -1)endfunction doSendMsg(cid, msg) if not isPlayer(cid) then return true end doPlayerSendTextMessage(cid, 27, msg)endfunction doCopyPokemon(cid, copy, eff) local item = getPlayerSlotItem(getCreatureMaster(cid), 8) local sid = getCreatureMaster(cid) local pos, dir = getThingPos(cid), getPlayerLookDir(cid) local blockToDitto = {"Shiny Snorlax", "Unown", "Shiny Abra", "Castform", "Smeargle", "Articuno", "Moltres", "Zapdos", "suicune", "Raikou", "Entei", "Minun And Plusle", "Metagross", "Magmortar", "Milotic", "Tangrowth", "Rhyperior", "Dusknoir", "Slaking", "Salamence", "Electivire", "Kecleon", "Rotom", "Froslass","Ancient Alakazam", "Ancient Dragonite", "Ancient Kingdra", "Ancient Meganium", "Ancient Scyther", "Hungry Snorlax", "Aviator Pidgeot", "Banshee Misdreavus", "Bone Marowak", "Boxer Hitmonchan", "Brave Blastoise", "Brave Charizard", "Brave Nidoking", "Brave Nidoqueen", "Brave Noctowl", "Brave Venusaur", "Brute Farfetch'd", "Brute Rhydon", "Brute Ursaring", "Capoeira Hitmontop", "Charged Raichu", "Dark Crobat", "Dragon Machamp", "Elder Arcanine", "Elder Blastoise", "Elder Charizard", "Elder Dragonite", "Elder Electabuzz", "Elder Gengar", "Elder Jynx", "Elder Marowak", "Elder Muk", "Elder Pidgeot", "Elder Pinsir", "Elder Raichu", "Elder Tangela", "Elder Tentacruel", "Elder Tyranitar", "Elder Venusaur", "Enigmatic Girafarig", "Enraged Typhlosion", "Evil Cloyster", "Freezing Dewgong", "Furios Ampharos", "Furios Mantine", "Furios Murkrow", "Furious Sandslash", "Furious Scyther", "Hard Golem", "Heavy Piloswine", "Iron Steelix", "Lava Magmar", "Magnet Electabuzz", "Master Abra", "Master Alakazam", "Master Stantler", "Metal Scizor", "Metal Skarmory", "Milch-Miltank", "Moon Clefable", "Octopus Octillery", "Psy Jynx", "Roll Donphan", "Singer Wigglytuff", "Taekwondo Hitmonlee", "Tribal Feraligatr", "Tribal Scyther", "Tribal Xatu", "Undefted Machamp", "War Farfetch'd", "War Granbull", "War Gyarados", "War Heracross", "Wardog Arcanine", "furious ampharos", "Mew", "Mewtwo", "Moltres", "Zapdos", "Articuno", "Lugia", "Suicune", "Celebi", "Ancient Dragonair", "Milky Miltank", "Ho-Oh"} if isInArray(blockToDitto, copy) then doSendMsg(sid, "Impossivel copiar este pokemon.") return true end if isInDuel(sid) then doSendMsg(sid, "Você não pode transformar seu ditto estando duelo.") return true end local nick = retireShinyName(getItemAttribute(item.uid, "poke")) if getItemAttribute(item.uid, "poke") == "Ditto" and isShinyName(copy) then doSendMsg(sid, "So um Shiny Ditto pode se transformar em pokemons do tipo Shiny.") return true end ---------------------------- Sistema pokes de clan -------------------------------------- local shinysClan = { ["Shiny Fearow"] = {4, "Wingeon"}, ["Shiny Flareon"] = {1, "Volcanic"}, ["Shiny Vaporeon"] = {2, "Seavel"}, ["Shiny Jolteon"] = {9, "Raibolt"}, ["Shiny Hypno"] = {7, "Psycraft"}, ["Shiny Golem"] = {3, "Orebound"}, ["Shiny Vileplume"] = {8, "Naturia"}, ["Shiny Nidoking"] = {5, "Malefic"}, ["Shiny Hitmontop"] = {6, "Gardestrike"}, --alterado v1.4 } if shinysClan[copy] and getPlayerGroupId(sid) < 4 then --alterado v1.9 \/ if getPlayerClanNum(sid) ~= shinysClan[copy][1] then doPlayerSendCancel(sid, "You need be a member of the clan "..shinysClan[copy][2].." to use this pokemon!") return true elseif getPlayerClanRank(sid) ~= 5 and getPlayerGroupId(sid) < 4 then doPlayerSendCancel(sid, "You need be atleast rank 5 to use this pokemon!") return true end end -------------------------------------------------------------------------------------- if getItemAttribute(item.uid, "nick") then nick = getItemAttribute(item.uid, "nick") end if getItemAttribute(item.uid, "copyName") == copy then doSendMsg(sid, "Seu ditto já é uma copia do " .. copy) return true end if not pokes[copy] then doSendMsg(cid, "Isso não é um pokemon.") return true end doPlayerSay(sid, nick..", copie o "..retireShinyName(copy)..".") local heath_toDrawPercent = getCreatureMaxHealth(cid) - getCreatureHealth(cid) doRemoveCreature(cid) local poke = doCreateMonsterNick(sid, copy, nick, pos, true) doTeleportThing(poke, pos) setPlayerStorageValue(poke, 510, copy) doCreatureSetLookDir(poke, dir) doItemSetAttribute(item.uid, "copyName", copy) doSendPlayerExtendedOpcode(sid, opcodes.OPCODE_BATTLE_POKEMON, tostring(poke)) doUpdateMoves(sid) getPokeDistanceToTeleport(poke) adjustStatus(poke, item.uid, true, heath_toDrawPercent, true) setPokemonGhost(poke) if eff then doSendMagicEffect(pos, 184) end -- doOTCSendPokemonHealth(sid)endfunction round(num, idp) return tonumber(string.format("%." .. (idp or 0) .. "f", num))endfunction doGoPokemonInOrder(cid, item, goMsg) if getPlayerSlotItem(cid, 8).uid ~= item.uid then return true end item = getPlayerSlotItem(cid, 8) if item.uid == 0 then return true end local name = getItemAttribute(item.uid, "poke") local nick = name if isInArray({"Ditto", "shiny ditto"}, name:lower()) then name = getItemAttribute(item.uid, "copyName") end local effe = pokeballs[getPokeballType(item.itemid)].effect if getItemAttribute(item.uid, "nick") then nick = getItemAttribute(item.uid, "nick") end pokeSourceCode = doCreateMonsterNick(cid, name, retireShinyName(nick), getThingPos(cid), true) if not pokeSourceCode then doSendMsg(cid, "Erro. Comunique esse codigo ao GM. [31121994]") return true end local poke = getCreatureSummons(cid)[1] doTeleportThing(poke, farWayPos) doTeleportThing(poke, getThingPos(cid)) doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_BATTLE_POKEMON, tostring(poke)) setPlayerStorageValue(poke, 510, name) doCreatureSetLookDir(poke, getPlayerLookDir(cid)) getPokeDistanceToTeleport(poke) setMoveSummon(cid, true) doUpdateMoves(cid) doUpdateCooldowns(cid)--doItemEraseAttribute(item.uid, "healthChanged") adjustStatus(poke, item.uid, true, true, true) setPokemonGhost(poke) if getCreatureSkullType(cid) == 5 then doCreatureSetSkullType(cid, 0) end -- setCreatureMaxHealth(poke, getBallMaxHealth(cid, item)) -- local lifeToDraw = tonumber(getItemAttribute(item.uid, "hpToDraw")) -- doCreatureAddHealth(poke, -lifeToDraw) -- doItemSetAttribute(item.uid, "healthChanged", getCreatureName(cid)) --doOTCSendPokemonHealth(cid)endfunction doUp(cid, summon, move) local pokeName = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke") local ditto = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "copyName") if ditto and ditto ~= "" then pokeName = ditto end local outfit = getPokemonOutfitToSkill(pokeName) local speed = getPokemonSpeedToSkill(pokeName) local life = getCreatureMaxHealth(summon) - getCreatureHealth(summon) doSetItemAttribute(getPlayerSlotItem(cid, 8).uid, "hpToDraw", life) addEvent(doRemoveCreature, 10, summon) doSetCreatureOutfit(cid, {lookType = outfit + 351}, -1) doChangeSpeed(cid, -getCreatureSpeed(cid)) doChangeSpeed(cid, speed) if #getCreatureSummons(cid) > 1 and getPlayerStorageValue(cid, 212124) <= 0 then --alterado v1.6 if getPlayerStorageValue(cid, 637501) == -2 or getPlayerStorageValue(cid, 637501) >= 1 then BackTeam(cid) end end if move == "ride" then setPlayerStorageValue(cid, orderTalks["ride"].storage, 1) elseif move == "fly" then setPlayerStorageValue(cid, orderTalks["fly"].storage, 1) end setPokemonGhost(cid) doPlayerSendCancel(cid, '12//,hide') --alterado v1.7 endfunction getCylinderTiles(pos, cilinderSize) -- By SmiXlocal position = poslocal c = cilinderSizelocal pos = {}for i=-c, c do for j=-c, c do local posEffect = {x=position.x+i,y=position.y+j,z=position.z} table.insert(pos, posEffect) endend return posendfunction recheck(sid, skill, pos) if not isCreature(sid) or not isCreature(getCreatureMaster(sid)) then return end if not isUsingOrder(sid) then return true end local cid = getCreatureMaster(sid) if skill == "cut" then local item = getTileItemById(pos, 2767) if not item or item.uid <= 0 then return true end doCreatureSay(sid, "CUT!", TALKTYPE_MONSTER) doSendMagicEffect(getThingPos(item.uid), EFFECT_CUT) doTransformItem(item.uid, 6216) local function growRock() doTransformItem(getTileItemById(pos, 6216).uid, 2767) end addEvent(growRock, tempoPraVoltarAoNormal * 1000) elseif skill == "rock" then local item = getTileItemById(pos, 1285) if not item or item.uid <= 0 then return true end doCreatureSay(sid, "ROCK SMASH!", TALKTYPE_MONSTER) doSendMagicEffect(getThingPos(item.uid), EFFECT_DIG) doTransformItem(item.uid, 3610) local function growRock() doTransformItem(getTileItemById(pos, 3610).uid, 1285) end addEvent(growRock, tempoPraVoltarAoNormal * 1000) elseif skill == "headbutt" then --alterado v1.6 local item = getTileItemById(pos, 2707) --id do item arvore normal if not item or item.uid <= 0 then return true end local master = getCreatureMaster(sid) local array = {} local lvl = {25, 40, 60, 80, 1000} --lvls for i = 1, #lvl do if getPlayerLevel(master) <= lvl[i] then array = headbutt[lvl[i]] break end end local rand = array[math.random(#array)] for j = 1, rand[2] do local poke = doCreateMonster(rand[1] , getClosestFreeTile(sid, pos)) end doCreatureSay(sid, "HEADBUTT!", TALKTYPE_MONSTER) doSendMagicEffect(getThingPos(item.uid), EFFECT_DIG) doTransformItem(item.uid, 2702) --id do item arvore quebrada local function growHead() doTransformItem(getTileItemById(pos, 2702).uid, 2707) --id do item arvore quebrada, arvore normal end addEvent(growHead, choose(5, 8, 10, 15) * 60 * 1000) --o tempo pra arvore voltar ao normal varia de 5~30minend doEreaseUsingOrder(sid) endfunction choose(...) -- by mock local arg = {...} return arg[math.random(1,#arg)]endfunction getFreeTile(pos) if canWalkOnPos(pos, true, false, false, false, false) then return pos end local tmp for dir = 0, 7 do tmp = getPosByDir(pos, dir) if canWalkOnPos(tmp, true, false, false, false, false) then return tmp end end return farWayPosend------------------------ marcar a pos do spawn do poke e retornar elafunction doMarkedSpawnPos(cid)local pos = getThingPos(cid) setPlayerStorageValue(cid, storages.markedPosPoke, "x = "..pos.x..", y = "..pos.y..", z = "..pos.z..";")endfunction doMarkedPos(cid, pos) setPlayerStorageValue(cid, storages.markedPosPoke, "x = "..pos.x..", y = "..pos.y..", z = "..pos.z..";")endfunction isInPartyAndSharedExperience(cid) if isInParty(cid) and isPartyEnabledExp(cid) then return true end return falseendfunction getMarkedSpawnPos(cid) local l = {} local pos = getPlayerStorageValue(cid, storages.markedPosPoke) local strPos = "x = (.-), y = (.-), z = (.-);" for a, b, c in pos:gmatch(strPos) do l = {x = tonumber(a), y = tonumber(b), z = tonumber©} end return lendfunction doComparePositions(position, positionEx)return position.x == positionEx.x and position.y == positionEx.y and position.z == positionEx.zend------------------------ marcar a pos do spawn do poke e retornar elafunction doPlayerAddPoke(cid, pokeName, ball, unique) local ballid = pokeballs[ball] local send = false if not ballid then return print("doPlayerAddPoke: Nao foi encontrada a pokebola: "..ball) end if isUseIconSystem(cid) then id = pokeballs[string.lower(pokeName)].on else id = ballid.on end if (getPlayerFreeCap(cid) <= 1 and not isInArray({5, 6}, getPlayerGroupId(cid))) or not hasSpaceInContainer(getPlayerSlotItem(cid, 3).uid) then item = doCreateItemEx(id) send = true else item = addItemInFreeBag(getPlayerSlotItem(cid, 3).uid, id, 1) end doItemSetAttribute(item, "health", getPokemonHealth(pokeName)) doItemSetAttribute(item, "maxHealth", getPokemonHealth(pokeName)) doItemSetAttribute(item, "pokeName", doCorrectString(pokeName)) doItemSetAttribute(item, "ballEffe", ball) if send then doPlayerSendMailByName(getCreatureName(cid), item, 1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você já está segurando seis pokebolas, o seu novo pokemon foi enviado para o CP.") endendfunction hasSpaceInContainer(container) --alterado v1.6if not isContainer(container) then return false endif getContainerSize(container) < getContainerCap(container) then return true endfor slot = 0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then if hasSpaceInContainer(item.uid) then return true end endendreturn falseendfunction doSendEffect(cid, effe)if not isCreature(cid) then return true end doSendMagicEffect(getThingPos(cid), effe) endfunction doSendEffectAndText(cid, effe, text, color)if not isCreature(cid) then return true endif not color then color = 215 end doSendEffect(cid, effe) if text and text ~= "" then doSendAnimatedText(getThingPos(cid), text, color) endendfunction setCreatureVisibility(cid, vis) if not isCreature(cid) then return true end if vis then doAddCondition(cid, invisiblecondition) else doRemoveCondition(cid, CONDITION_INVISIBLE) endendfunction setCreatureHick(cid, secs, i)if not isCreature(cid) then return true end i = i +1 local pos2 = getThingPos(cid) pos2.x = pos2.x + math.random(1, 4) pos2.y = pos2.y + math.random(1, 4) if(i < secs) then local pos = getPosByDir(pos2, math.random(0, 7)) local master = getCreatureMaster(cid) if(isPlayer(master)) then setMoveSummon(master, false) end doAddCondition(cid, bebo) doMovePokeToPos(cid, pos) pos = getThingPos(cid) pos.y = pos.y -1 doSendMagicEffect(pos, 31) addEvent(setCreatureHick, 1000, cid, secs, i) else doRemoveCondition(cid, CONDITION_DRUNK) endendfunction doRemoveConditionWithSecurity(cid, cond)if not isCreature(cid) then return true end doRemoveCondition(cid, cond)endfunction doCanAttackOther(cid, target)setPlayerStorageValue(cid, storages.teamRed, 1)setPlayerStorageValue(target, storages.teamBlue, 1)endfunction isInDuel(cid)if not isCreature(cid) then return false end if getPlayerStorageValue(cid, storages.isInDuel) == 1 then return true end return falseend-------------- pokedexfunction getPokemonVitalityD(name) if not pokes[name] then return false end return pokes[name].vitalityendfunction getPokemonAttackD(name) if not pokes[name] then return false end return pokes[name].offenseendfunction getPokemonDefenseD(name) if not pokes[name] then return false end return pokes[name].defenseendfunction getPokemonSpAttackD(name) if not pokes[name] then return false end return pokes[name].specialattackendfunction getPokemonLevelD(name) if not pokes[name] then return false end if pokes[name].level <= 1 then return 5 end return pokes[name].levelendfunction getPokemonPortraitD(name) if not pokes[name] then return false end return pokes[name].portraitendfunction getPokemonType1D(name) if not pokes[name] then return "normal" end return pokes[name].typeendfunction getPokemonType2D(name) if not pokes[name] or not pokes[name].type2 then return false end return pokes[name].type2endfunction getPokemonHealthD(name) if not pokes[name] then return false end return getMonsterInfo(name).healthMaxendfunction getPokemonExperienceD(name) if not pokes[name] then return false end return getMonsterInfo(name).experienceendfunction getPokemonCatchedStorage(name) if not pokes[name] then return false end return getMonsterInfo(name).lookCorpseendfunction getPokemonCorpse(name) if not pokes[name] then return false end return getMonsterInfo(name).lookCorpseend no configuration tem a tabela effectiveness mas falaram q ela nao é usada... nem sei Spoiler useOTClient = true -- coloque false caso n for usar o OTClient!!! --alterado v1.7useKpdoDlls = true -- coloque true pra usar as barras de cooldown.intervalToRegrowBushAndStones = 15 -- this also affects dig (in seconds) / isso afeta dig também (em segundos)nurseHealsOnlyInPZ = true -- true = precisa estar em pz pra falar com a nurseaccountManagerOutfit = {lookType = 304, lookHead = 1, lookBody = 1, lookLegs = 1, lookFeet = 1}accountManagerRandomPokemonOutfit = true -- se true, quando o acc manager logar, vai ter uma outfit de pokemon aleatoriareloadHighscoresWhenUsingPc = true -- talvez dê lag, lembrando que tem uma opção no config.lua que indica o intervalo do update das highscoresbackupPos = {x = 4, y = 3, z = 10} -- alguma pos para criar monstros quando tentar sair do fly/ride/surf em lugares que não são muito espaçososnurseHealsPokemonOut = truemaximumBoost = 50boost_rate = 3.5catchMakesPokemonHappier = truedittoCopiesStatusToo = truedittoBonus = 1 wildBeforeNames = falsehideBoost = false showBoostSeparated = truecanFishWhileSurfingOrFlying = falseallEvolutionsCanBeInduzedByStone = trueevolutionByStoneRequireLevel = truePlayerSpeed = 320attackRate = 0.5specialoffenseRate = 3.55levelFactor = 1defenseRate = 1playerDamageReduction = 0.30summonReduction = 1generalSpecialAttackReduction = 1summonSpecialDamageReduction = 0vitReductionForWild = 1 -- 1 means that nothing will change, 0.5 means that wild pokemon hp will drop by halfspeedRate = 1wildEvolveChance = 1000pokemonExpPerLevelRate = 0baseExpRate = 1generalExpRate = 1HPperVITwild = 13HPperVITsummon = 11baseNurseryHappiness = 500baseNurseryHunger = -1minHappyToEvolve = 0maxHappyToEvolve = 500happyLostOnDeath = 0happyGainedOnEvolution = 500happinessRate = {[5] = {rate = 1.5, effect = 183, n = getConfigValue(PokemonStageVeryHappy)},[4] = {rate = 1.2, effect = 170, n = getConfigValue(PokemonStageHappy)},[3] = {rate = 1.0, effect = 182, n = getConfigValue(PokemonStageOK)},[2] = {rate = 0.7, effect = 169, n = getConfigValue(PokemonStageSad)},[1] = {rate = 0.4, effect = 168, n = getConfigValue(PokemonStageMad)}}specialabilities = {["rock smash"] = {"Shiny Magcargo", "Shiny Sandslash", "Shiny Rhydon", "Nidoking", "Nidoqueen", "Dragonite", "Salamence", "Shiny Salamence", "Sandshrew", "Sandslash", "Diglett", "Dugtrio", "Primeape", "Machop", "Machoke", "Machamp", "Geodude", "Graveler", "Golem" , "Onix", "Cubone", "Marowak", "Rhyhorn", "Rhydon", "Kangaskhan", "Tauros", "Snorlax", "Poliwrath", "Hitmonlee", "Hitmonchan", "Aerodactyl", "Blastoise","Shiny Nidoking", "Shiny Dragonite", "Shiny Golem", "Shiny Onix", "Shiny Cubone", "Shiny Marowak", "Shiny Snorlax", "Shiny Hitmonlee", "Shiny Hitmontop", "Shiny Hitmonchan", "Shiny Blastoise", "Typhlosion", "Feraligatr", "Furret", "Ledian", "Ampharos", "Politoed", "Quagsire", "Forretress", "Steelix", "Snubbull", "Granbull", "Sudowoodo", "Gligar", "Scizor", "Heracross", "Sneasel", "Ursaring", "Teddiursa", "Slugma", "Magcargo", "Piloswine", "Swinub", "Corsola", "Phanpy", "Donphan", "Tyrogue", "Hitmontop", "Miltank", "Blissey", "Tyranitar", "Pupitar"},["cut"] = {"Shiny Magcargo", "Shiny Crobat", "Shiny Weezing", "Shiny Sandslash", "Kabutops", "Raticate", "Bulbasaur", "Ivysaur", "Venusaur", "Charmeleon", "Charizard", "Sandshrew", "Sandslash", "Gloom", "Vileplume", "Paras", "Parasect", "Meowth", "Persian", "Bellsprout", "Weepinbell", "Victreebel", "Farfetch'd", "Krabby", "Kingler", "Exeggutor", "Tropius", "Cubone", "Marowak", "Tangela", "Scyther", "Pinsir", "Shiny Raticate", "Shiny Venusaur", "Shiny Charizard", "Shiny Vileplume", "Shiny Paras", "Shiny Parasect", "Shiny Farfetch'd", "Shiny Krabby", "Shiny Kingler", "Shiny Cubone", "Shiny Marowak", "Shiny Tangela", "Shiny Scyther", "Shiny Pinsir", "Chikorita", "Bayleef", "Meganium", "Croconow", "Feraligatr", "Furret", "Bellossom", "Hoppip", "Skiploom", "Jumpluff", "Sunkern", "Sunflora", "Scizor", "Heracross", "Sneasel", "Teddiursa", "Ursaring", "Gligar", "Skarmory"},["light"] = {"Shiny Lanturn", "Shiny Xatu", "Shiny Magmortar", "Shiny Electivire", "Electivire", "Shiny Espeon", "Shiny Electrode", "Abra", "Kadabra", "Alakazam", "Magnemite", "Magneton", "Magnezone", "Drowzee", "Hypno", "Voltorb", "Electrode", "Mrmime", "Electabuzz", "Jolteon", "Porygon", "Pikachu", "Raichu", "Shiny Abra", "Shiny Alakazam", "Shiny Hypno", "Shiny Voltorb", "Shiny Electrode", "Shiny Electabuzz", "Shiny Jolteon", "Shiny Raichu", "Chinchou", "Lanturn", "Pichu", "Natu", "Xatu", "Mareep", "Flaaffy", "Ampharos", "Espeon", "Porygon2", "Elekid"}, ["digholes"] = {"468", "481", "483"},["ghostwalk"] = {"Shiny Abra", "Gastly", "Haunter", "Gengar", "Shiny Gengar", "Misdreavus"},["dig"] = {"Shiny Magcargo", "Shiny Lanturn", "Poliwrath", "Miltank", "Shiny Sandslash", "Shiny Dodrio", "Shiny Umbreon", "Shiny Espeon", "Shiny Ninetales", "Shiny Rhydon", "Raticate", "Sandshrew", "Sandslash", "Diglett", "Dugtrio", "Primeape", "Machop", "Machoke", "Machamp", "Geodude", "Graveler", "Golem" , "Onix", "Cubone", "Marowak", "Rhyhorn", "Rhydon", "Kangaskhan", "Tauros", "Snorlax", "Eevee", "Flareon", "Jolteon", "Vaporeon", "Vulpix", "Ninetales", "Nidorina", "Nidoqueen", "Nidorino", "Nidoking", "Persian", "Arcanine", "Shiny Raticate", "Shiny Golem" , "Shiny Onix", "Shiny Cubone", "Shiny Marowak", "Shiny Snorlax", "Shiny Flareon", "Shiny Jolteon", "Shiny Vaporeon", "Shiny Nidoking", "Shiny Arcanine", "Typhlosion", "Feraligatr", "Furret", "Espeon", "Umbreon", "Ledian", "Sudowoodo", "Politoed", "Quagsire", "Gligar", "Steelix", "Snubbull", "Granbull", "Heracross", "Dunsparce", "Sneasel", "Teddiursa", "Ursaring", "Piloswine", "Hitmontop", "Larvitar", "Pupitar", "Tyranitar"},["blink"] = {"Shiny Xatu", "Exeggutor", "Shiny Abra", "Shiny Espeon", "Shiny Mr. Mime", "Jynx", "Shiny Jynx", "Hypno", "Shiny Hypno", "Slowking", "Natu", "Xatu", "Espeon", "Mew", "Mewtwo", "Abra", "Kadabra", "Alakazam", "Porygon", "Shiny Abra", "Shiny Alakazam", "Porygon2", "Mr. Mime"},["teleport"] = {"Shiny Xatu", "Jynx", "Shiny Jynx", "Slowking", "Slowbro", "Exeggutor", "Shiny Mr. Mime", 'Mew', 'Mewtwo', 'Abra', 'Kadabra', 'Alakazam', 'Drowzee', 'Hypno', 'Mr. Mime', 'Porygon', 'Shiny Abra', 'Shiny Alakazam', 'Shiny Hypno', 'Porygon2'},["fly"] = {"Flygon", "Swellow", "Altaria", "Shiny Stantler","Venomoth", "Shiny Crobat", "Tropius", "Noctowl", "Dragonair", "Shiny Dragonair", "Porygon", "Aerodactyl", "Salamence", "Shiny Salamence", "Dragonite", "Charizard", "Pidgeot", "Fearow", "Zapdos", "Moltres", "Articuno", "Mew", "Mewtwo", "Shiny Dragonite", "Shiny Charizard", "Shiny Pidgeot", "Shiny Fearow", "Porygon2", "Skarmory", "Crobat", "Shiny Venomoth", "Gengar", "Shiny Gengar", "Heracross", "Farfetch'd", "Shiny Farfetch'd", "Xatu"},["ride"] = {"Absol", "Manectric", "Shiny Meganium", "Girafarig", "Shiny Dodrio", "Absol", "Metagross", "Shiny Ninetales", "Shiny Onix", "Venusaur", "Ninetales", "Arcanine", "Ponyta", "Rapidash", "Doduo", "Dodrio", "Onix", "Rhyhorn", "Tauros", "Shiny Venusaur", "Shiny Arcanine", "Steelix", "Houndoom", "Meganium", "Bayleef", "Stantler", "Mareep", "Piloswine"},["surf"] = {"Swampert", "Sealeo", "Walrein","Crawdaunt", "Lombre", "Ludicolo", 'Poliwag', 'Poliwhirl', 'Seaking', 'Milotic', 'Dewgong', 'Wailord', 'Blastoise', 'Tentacruel', 'Lapras', 'Gyarados', 'Omastar', 'Kabutops', 'Vaporeon', 'Staryu', 'Starmie', 'Goldeen', 'Seadra', 'Golduck', 'Squirtle', 'Wartortle', 'Tentacool', 'Snorlax', 'Poliwrath', 'Shiny Blastoise', 'Shiny Tentacruel', 'Shiny Gyarados', 'Shiny Vaporeon', 'Shiny Seadra', 'Shiny Tentacool', 'Shiny Snorlax', "Mantine", "Totodile", "Croconow", "Feraligatr", "Marill", "Azumarill", "Quagsire", "Wooper", "Octillery", "Kingdra"},["foresight"] = {"Machamp", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Hitmontop", "Hitmontop", "Hitmonlee", "Hitmonchan"},["counter"] = {"Shiny Magcargo", "Shiny Lanturn", "Shiny Magmar", "Shiny Magmortar", "Shiny Electivire", "Machamp", "Machoke", "Hitmonchan", "Hitmonlee", "Magmar", "Electabuzz", "Scyther", "Snorlax", "Kangaskhan", "Arcanine", "Shiny Arcanine", "Shiny Snorlax", "Shiny Scyther", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Electabuzz", "Hitmontop", "Shiny Hitmontop"}, ["levitate"] = {"Gengar", "Haunter", "Gastly", "Misdreavus", "Weezing", "Koffing", "Unown", "Shiny Gengar", "Shiny Weezing"},["evasion"] = {"Mega Scizor", "Beedrill", "Shiny Beedrill", "Scyther", "Scizor", "Hitmonlee", "Hitmonchan", "Hitmontop", "Tyrogue", "Shiny Scyther", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Hitmontop", "Ledian", "Ledyba", "Sneasel"},["control mind"] = {'Haunter', 'Gengar', 'Tentacruel', 'Alakazam', 'Shiny Tentacruel', 'Shiny Gengar', 'Shiny Alakazam', 'Slowking'},["transform"] = {"Ditto"},["levitate_fly"] = {"Gengar", "Shiny Gengar", "Raichu", "Shiny Raichu"},["Illusion"] = {"Misdreavus, Stantler, Shiny Stantler"},["headbutt"] = {"Golem", "Shiny Charizard", "Arcanine", "Blastoise", "Bulbasaur", "Charizard", "Charmander", "Charmeleon", "Clefable", "Cloyster", "Dodrio", "Doduo", "Dragonair", "Dragonite", "Electabuzz", "Graveler", "Growlithe", "Hitmonlee", "Hypno", "Ivysaur", "Jolteon", "Kabutops", "Kangaskhan", "Lickitung", "Machamp", "Machoke", "Machop", "Magmar", "Marowak", "Muk", "Nidoking", "Nidoqueen", "Nidorino", "Nidorina", "Ninetales", "Omastar", "Onix", "Parasect", "Poliwhirl", "Poliwrath", "Ponyta", "Primeape", "Psyduck", "Raichu", "Rapidash", "Raticate", "Rhydon", "Rhyhorn", "Sandslash", "Scyther", "Snorlax", "Tauros", "Wartortle", "Ampharos", "Aipom", "Bayleef", "Corsola", "Croconaw", "Cyndaquil", "Donphan", "Elekid", "Feraligatr", "Forrestress", "Girafarig", "Granbull", "Heracross", "Hitmontop", "Houndoom", "Magcargo", "Magby", "Meganium", "Miltank", "Piloswine", "Pupitar", "Scizor", "Shuckle", "Stantler", "Steelix", "Sudowoodo", "Typhlosion", "Tyranitar", "Tyrogue", "Umbreon", "Wobbuffet", "Absol", "Aggron", "Banette", "Blaziken", "Camerupt", "Claydol", "Combusken", "Corphish", "Crawdaunt", "Dusclops", "Dusknoir", "Exploud", "Glalie", "Grovyle", "Hariyama", "Lairon", "Lucario", "Ludicolo", "Makuhita", "Manectric", "Marshtomp", "Medichan", "Metagross", "Metang", "Rhyperior", "Seviper", "Shiftry", "Slaking", "Slakoth", "Swampert", "Tropius", "Vigoroth", "Zangoose", "Mega Blastoise", "Mega Blaziken", "Mega Charizard X", "Mega Charizard Y", "Mega Gengar", "Mega Lucario", "Mega Tyranitar", "Electivire", "Magmortar", "Shiny Ampharos", "Shiny Arcanine", "Shiny Blastoise", "Shiny Charizard", "Shiny Crobat", "Shiny Dodrio", "Shiny Dragonair", "Shiny Dragonite", "Shiny Electabuzz", "Shiny Electivire", "Shiny Electrode", "Shiny Feraligatr", "Shiny Giant Magikarp", "Shiny Golbat", "Shiny Golem", "Shiny Grimer", "Shiny Growlithe", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Hitmontop", "Shiny Jolteon", "Shiny Machamp", "Shinyn Magmortar", "Shiny Meganium", "Shiny Muk", "Shiny Nidoking", "Shiny Ninetales", "Shiny Onix", "Shiny Pinsir", "Pinsir", "Shiny Parasect", "Shiny Pupitar", "Shiny Raichu", "Shiny Raticate", "Shiny Rhydon", "Shiny Sandslash", "Shiny Scizor", "Shiny Scyther", "Shiny Snorlax", "Shiny Stantler", "Shiny Tauros", "Shiny Typhlosion", "Shiny Umbreon", "Shiny Venusaur"},} --alterado v1.9 /\ novos shinys da pxg adicionados em algumas tabelas..flys = {["Moltres"] = {229, 3000}, -- moltres["Articuno"] = {230, 3000}, -- artic["Zapdos"] = {224, 3000}, -- zapdos["Mew"] = {232, 3000}, -- 1000["Mewtwo"] = {233, 3000},-- two["Dragonite"] = {221, 500},-- nite["Salamence"] = {1274, 600},-- nite["Shiny Salamence"] = {1301, 600},-- nite["Pidgeot"] = {222, 500}, -- geot["Fearow"] = {226, 400}, -- fearow["Aerodactyl"] = {227, 610}, -- aero["Charizard"] = {216, 500}, -- chari["Porygon"] = {316, 400}, -- porygon["Shiny Pidgeot"] = {996, 600}, -- Shiny geot["Shiny Fearow"] = {997, 500}, -- Shiny fearow --alterado v1.5["Shiny Charizard"] = {295, 600}, -- Shiny chari["Shiny Crobat"] = {1149, 600},["Porygon2"] = {648, 500}, -- 2["Skarmory"] = {649, 500}, -- skarmory["Crobat"] = {652, 400}, -- crobat["Farfetch'd"] = {1733, 400},["Shiny Farfetch'd"] = {1121, 600},["Shiny Stantler"] = {1229, 600}, -- ["Raichu"] = {1732, 500},["Shiny Raichu"] = {1731, 500},["Heracross"] = {1125, 500},["Shiny Venomoth"] = {893, 600},["Dragonair"] = {1112, 400},["Shiny Dragonair"] = {1113, 600},["Noctowl"] = {994, 400},["Venomoth"] = {1233, 400},["Shiny Gengar"] = {1124, 600},["Gengar"] = {1123, 500},["Xatu"] = {1122, 500},--- 3 geracao["Altaria"] = {1406, 500},["Tropius"] = {1471, 500}, -- ["Flygon"] = {1473, 500}, -- ["Swellow"] = {1497, 500}, -- }rides = {["Tauros"] = {128, 400}, -- tauros["Ninetales"] = {129, 450}, -- kyuubi["Rapidash"] = {130, 450}, -- rapid["Ponyta"] = {131, 400}, -- ponyta["Rhyhorn"] = {132, 400}, -- rhyhorn["Arcanine"] = {12, 460}, -- arcan["Onix"] = {126, 400}, -- onix["Venusaur"] = {134, 430}, -- venu["Dodrio"] = {133, 400}, -- dodrio["Doduo"] = {135, 400}, -- doduo["Shiny Arcanine"] = {1003, 650}, -- arcan["Shiny Onix"] = {1737, 600}, -- onix --alterado v1.5["Shiny Venusaur"] = {1040, 600}, -- venu["Steelix"] = {646, 500}, -- steelix["Meganium"] = {685, 500}, -- meganium["Bayleef"] = {686, 400}, -- bayleef["Stantler"] = {687, 400}, -- stantler["Houndoom"] = {647, 500}, -- houndoom["Piloswine"] = {689, 450}, -- piloswine["Mareep"] = {688, 400}, -- marip["Metagross"] = {1266, 600}, -- Metagross["Shiny Ninetales"] = {1136, 600}, -- Shiny Ninetales --alterado v1.9 \/["Shiny Dodrio"] = {1145, 600}, -- shiny dodrio["Shiny Tauros"] = {1181, 600}, -- shiny tauros["Shiny Meganium"] = {1178, 600}, -- shiny meganium["Girafarig"] = {1227, 500}, -- ["Absol"] = {1468, 500}, -- ["Manectric"] = {1467, 500}, -- }surfs = {["Poliwag"] = {lookType=278, speed = 10},["Poliwhirl"] = {lookType=137, speed = 40},["Seaking"] = {lookType=269, speed = 40},["Dewgong"] = {lookType=183, speed = 80},["Blastoise"] = {lookType=184, speed = 80},["Tentacruel"] = {lookType=185, speed = 80},["Lapras"] = {lookType=186, speed = 80},["Gyarados"] = {lookType=187, speed = 80},["Omastar"] = {lookType=188, speed = 80},["Kabutops"] = {lookType=189, speed = 80},["Poliwrath"] = {lookType=190, speed = 80},["Vaporeon"] = {lookType=191, speed = 50},["Staryu"] = {lookType=266, speed = 30},["Starmie"] = {lookType=267, speed = 70},["Goldeen"] = {lookType=268, speed = 20},["Seadra"] = {lookType=270, speed = 50},["Golduck"] = {lookType=271, speed = 70},["Squirtle"] = {lookType=273, speed = 20},["Wartortle"] = {lookType=275, speed = 40},["Tentacool"] = {lookType=277, speed = 20},["Snorlax"] = {lookType=300, speed = 80},----------------Shiny----------------------["Shiny Blastoise"] = {lookType=658, speed = 600},["Shiny Tentacruel"] = {lookType=1014, speed = 600},["Shiny Gyarados"] = {lookType=1030, speed = 600},["Shiny Vaporeon"] = {lookType=1032, speed = 600}, --alterado v1.6["Shiny Seadra"] = {lookType=1025, speed = 600},["Shiny Tentacool"] = {lookType=1013, speed = 600},["Shiny Snorlax"] = {lookType=1035, speed = 600},["Shiny Feraligatr"] = {lookType=1175, speed = 600},----------------Johto----------------------["Mantine"] = {lookType=636, speed = 80},["Totodile"] = {lookType=637, speed = 20},["Croconow"] = {lookType=638, speed = 40},["Feraligatr"] = {lookType=645, speed = 80},["Marill"] = {lookType=639, speed = 30},["Azumarill"] = {lookType=642, speed = 40},["Quagsire"] = {lookType=643, speed = 70},["Kingdra"] = {lookType=644, speed = 100},["Octillery"] = {lookType=641, speed = 70},["Wooper"] = {lookType=640, speed = 30},["Milotic"] = {lookType=1290, speed = 1000},["Wailord"] = {lookType=1305, speed = 1000},["Lombre"] = {lookType=1470, speed = 1000},["Ludicolo"] = {lookType=1469, speed = 1000},["Crawdaunt"] = {lookType=1479, speed = 1000},["Sealeo"] = {lookType=1480, speed = 1000},["Walrein"] = {lookType=1481, speed = 1000}, ["Swampert"] = {lookType=1495, speed = 1000}, }--------pokeballs = {["magu"] = {effect = 316, on = 16181, use = 16232, off = 16193, all = {16181, 16232, 16193}},["sora"] = {effect = 319, on = 16182, use = 16233, off = 16194, all = {16182, 16233, 16194}},["yume"] = {effect = 322, on = 16183, use = 16234, off = 16195, all = {16183, 16234, 16195}},["dusk"] = {effect = 325, on = 16184, use = 16235, off = 16196, all = {16184, 16235, 16196}},["fast"] = {effect = 328, on = 16185, use = 16236, off = 16197, all = {16185, 16236, 16197}},["heavy"] = {effect = 331, on = 16186, use = 16237, off = 16198, all = {16186, 16237, 16198}},["tale"] = {effect = 334, on = 16187, use = 16238, off = 16199, all = {16187, 16238, 16199}},["moon"] = {effect = 337, on = 16188, use = 16239, off = 16200, all = {16188, 16239, 16200}},["net"] = {effect = 340, on = 16189, use = 16240, off = 16201, all = {16189, 16240, 16201}},["premier"] = {effect = 346, on = 16191, use = 16241, off = 16202, all = {16190, 16241, 16202}},["tinker"] = {effect = 349, on = 16192, use = 16242, off = 16203, all = {16191, 16242, 16203}},["shinymagu"] = {effect = 316, on = 16204, use = 16243, off = 16220, all = {16204, 16243, 16220}},["shinysora"] = {effect = 319, on = 16205, use = 16244, off = 16221, all = {16205, 16244, 16221}},["shinyyume"] = {effect = 322, on = 16206, use = 16245, off = 16222, all = {16206, 16245, 16222}},["shinydusk"] = {effect = 325, on = 16207, use = 16246, off = 16223, all = {16207, 16246, 16223}},["shinyfast"] = {effect = 328, on = 16208, use = 16247, off = 16224, all = {16208, 16247, 16224}},["shinyheavy"] = {effect = 331, on = 16209, use = 16248, off = 16225, all = {16209, 16248, 16225}},["shinytale"] = {effect = 334, on = 16210, use = 16249, off = 16226, all = {16210, 16249, 16226}},["shinymoon"] = {effect = 337, on = 16211, use = 16250, off = 16227, all = {16211, 16250, 16227}},["shinynet"] = {effect = 340, on = 16212, use = 16251, off = 16229, all = {16212, 16251, 16229}},["shinypremier"] = {effect = 346, on = 16214, use = 16252, off = 16228, all = {16214, 16252, 16228}},["shinytinker"] = {effect = 349, on = 16215, use = 16253, off = 16230, all = {16215, 16253, 16230}},["poke"] = {effect = 188, on = 11826, use = 11827, off = 11828, all = {11826, 11827, 11828}},["ultra"] = {effect = 188, on = 11829, use = 11830, off = 11831, all = {11829, 11830, 11831}},["super"] = {effect = 190, on = 11835, use = 11836, off = 11837, all = {11835, 11836, 11837}},["great"] = {effect = 189, on = 11832, use = 11833, off = 11834, all = {11832, 11833, 11834}},["saffari"] = {effect = 195, on = 10975, use = 10976, off = 10977, all = {10975, 10976, 10977}}, --alterado v1.9["master"] = {effect = 196, on = 12826, use = 12827, off = 12828, all = {12826, 12827, 12828}},["shinypoke"] = {effect = 188, on = 11737, use = 11738, off = 11739, all = {11737, 11738, 11739}},["shinygreat"] = {effect = 189, on = 11740, use = 11741, off = 11742, all = {11740, 11741, 11742}},["shinysuper"] = {effect = 190, on = 11743, use = 11744, off = 11745, all = {11743, 11744, 11745}},["shinyultra"] = {effect = 188, on = 11746, use = 11747, off = 11748, all = {11746, 11747, 11748}},["shinysaffari"] = {effect = 195, on = 12621, use = 12622, off = 12623, all = {12621, 12622, 12623}}, --alterado v1.9["shinymaster"] = {effect = 196, on = 12829, use = 12830, off = 12831, all = {12829, 12830, 12831}},["gengar"] = {effect = 188, on = 12861, use = 12862, off = 12863, all = {12861, 12862, 12863}},["abra"] = {effect = 188, on = 12864, use = 12865, off = 12866, all = {12864, 12865, 12866}},["aerodactyl"] = {effect = 188, on = 12867, use = 12868, off = 12869, all = {12867, 12868, 12869}},["aipom"] = {effect = 188, on = 12870, use = 12871, off = 12872, all = {12870, 12871, 12872}},["aipom"] = {effect = 188, on = 12870, use = 12871, off = 12872, all = {12870, 12871, 12872}},["alakazam"] = {effect = 188, on = 12873, use = 12874, off = 12875, all = {12873, 12874, 12875}},["ampharos"] = {effect = 188, on = 12876, use = 12877, off = 12878, all = {12876, 12877, 12878}},["arbok"] = {effect = 188, on = 12879, use = 12880, off = 12881, all = {12879, 12880, 12881}},["arcanine"] = {effect = 188, on = 12882, use = 12883, off = 12884, all = {12882, 12883, 12884}},["ariados"] = {effect = 188, on = 12885, use = 12886, off = 12887, all = {12885, 12886, 12887}},["azumarill"] = {effect = 188, on = 12888, use = 12889, off = 12890, all = {12888, 12889, 12890}},["bayleef"] = {effect = 188, on = 12891, use = 12892, off = 12893, all = {12891, 12892, 12893}},["bellossom"] = {effect = 188, on = 12894, use = 12895, off = 12896, all = {12894, 12895, 12896}},["bellsprout"] = {effect = 188, on = 12897, use = 12898, off = 12899, all = {12897, 12898, 12899}},["blastoise"] = {effect = 188, on = 12900, use = 12901, off = 12902, all = {12900, 12901, 12902}},["blissey"] = {effect = 188, on = 12903, use = 12904, off = 12905, all = {12903, 12904, 12905}},["bulbasaur"] = {effect = 188, on = 12906, use = 12907, off = 12908, all = {12906, 12907, 12908}},["butterfree"] = {effect = 188, on = 12909, use = 12910, off = 12911, all = {12909, 12910, 12911}},["caterpie"] = {effect = 188, on = 12912, use = 12913, off = 12914, all = {12912, 12913, 12914}},["celebi"] = {effect = 188, on = 12915, use = 12916, off = 12917, all = {12915, 12916, 12917}},["chansey"] = {effect = 188, on = 12918, use = 12919, off = 12920, all = {12918, 12919, 12920}},["charizard"] = {effect = 188, on = 12921, use = 12922, off = 12923, all = {12921, 12922, 12923}},["charmander"] = {effect = 188, on = 12924, use = 12925, off = 12926, all = {12924, 12925, 12926}},["charmeleon"] = {effect = 188, on = 12927, use = 12928, off = 12929, all = {12927, 12928, 12929}},["chikorita"] = {effect = 188, on = 12930, use = 12931, off = 12932, all = {12930, 12931, 12932}},["chinchou"] = {effect = 188, on = 12933, use = 12934, off = 12935, all = {12933, 12934, 12935}},["cyndaquil"] = {effect = 188, on = 12936, use = 12937, off = 12938, all = {12936, 12937, 12938}},["clefable"] = {effect = 188, on = 12939, use = 12940, off = 12941, all = {12939, 12940, 12941}},["clefairy"] = {effect = 188, on = 12942, use = 12943, off = 12944, all = {12942, 12943, 12944}},["cleffa"] = {effect = 188, on = 12945, use = 12946, off = 12947, all = {12945, 12946, 12947}},["cloyster"] = {effect = 188, on = 12948, use = 12949, off = 12950, all = {12948, 12949, 12950}},["corsola"] = {effect = 188, on = 12951, use = 12952, off = 12953, all = {12951, 12952, 12953}},["crobat"] = {effect = 188, on = 12954, use = 12955, off = 12956, all = {12954, 12955, 12956}},["croconaw"] = {effect = 188, on = 12957, use = 12958, off = 12959, all = {12957, 12958, 12959}},["cubone"] = {effect = 188, on = 12960, use = 12961, off = 12962, all = {12960, 12961, 12962}},["delibird"] = {effect = 188, on = 12963, use = 12964, off = 12965, all = {12963, 12964, 12965}},["dewgong"] = {effect = 188, on = 12966, use = 12967, off = 12968, all = {12966, 12967, 12968}},["seel"] = {effect = 188, on = 14329, use = 14330, off = 14331, all = {14329, 14330, 14330}}, -- seel precisa do icone["diglett"] = {effect = 188, on = 12969, use = 12970, off = 12971, all = {12969, 12970, 12971}},["ditto"] = {effect = 188, on = 12972, use = 12973, off = 12974, all = {12972, 12973, 12974}},["shiny ditto"] = {effect = 188, on = 15647, use = 15648, off = 15649, all = {15647, 15648, 15649}},["dodrio"] = {effect = 188, on = 12975, use = 12976, off = 12977, all = {12975, 12976, 12977}},["doduo"] = {effect = 188, on = 12978, use = 12979, off = 12980, all = {12978, 12979, 12980}},["donphan"] = {effect = 188, on = 12981, use = 12982, off = 12983, all = {12981, 12982, 12983}},["dragonair"] = {effect = 188, on = 12984, use = 12985, off = 12986, all = {12984, 12985, 12986}},["dragonite"] = {effect = 188, on = 12987, use = 12988, off = 12989, all = {12987, 12988, 12989}},["dratini"] = {effect = 188, on = 12990, use = 12991, off = 12992, all = {12990, 12991, 12992}},["drowzee"] = {effect = 188, on = 12993, use = 12994, off = 12995, all = {12993, 12994, 12995}},["dugtrio"] = {effect = 188, on = 12996, use = 12997, off = 12998, all = {12996, 12997, 12998}},["dunsparce"] = {effect = 188, on = 12999, use = 13000, off = 13001, all = {12999, 13000, 13001}},["eevee"] = {effect = 188, on = 13002, use = 13003, off = 13004, all = {13002, 13003, 13004}},["ekans"] = {effect = 188, on = 13005, use = 13006, off = 13007, all = {13005, 13006, 13007}},["electabuzz"] = {effect = 188, on = 13008, use = 13009, off = 13010, all = {13008, 13009, 13010}},["electrode"] = {effect = 188, on = 13011, use = 13012, off = 13013, all = {13011, 13012, 13013}},["elekid"] = {effect = 188, on = 13014, use = 13015, off = 13016, all = {13014, 13015, 13016}},["entei"] = {effect = 188, on = 13017, use = 13018, off = 13019, all = {13017, 13018, 13019}},["espeon"] = {effect = 188, on = 13020, use = 13021, off = 13022, all = {13020, 13021, 13022}},["exeggcute"] = {effect = 188, on = 13023, use = 13024, off = 13025, all = {13023, 13024, 13025}},["exeggutor"] = {effect = 188, on = 13026, use = 13027, off = 13028, all = {13026, 13027, 13028}},["farfetch'd"] = {effect = 188, on = 13029, use = 13030, off = 13031, all = {13029, 13030, 13031}},["fearow"] = {effect = 188, on = 13032, use = 13033, off = 13034, all = {13032, 13033, 13034}},["feraligatr"] = {effect = 188, on = 13035, use = 13036, off = 13037, all = {13035, 13036, 13037}},["flaaffy"] = {effect = 188, on = 13038, use = 13039, off = 13040, all = {13038, 13039, 13040}},["forretress"] = {effect = 188, on = 13041, use = 13042, off = 13043, all = {13041, 13042, 13043}},["furret"] = {effect = 188, on = 13044, use = 13045, off = 13046, all = {13044, 13045, 13046}},["gastly"] = {effect = 188, on = 13047, use = 13048, off = 13049, all = {13047, 13048, 13049}},["geodude"] = {effect = 188, on = 13050, use = 13051, off = 13052, all = {13050, 13051, 13052}},["girafarig"] = {effect = 188, on = 13053, use = 13054, off = 13055, all = {13053, 13054, 13055}},["gligar"] = {effect = 188, on = 13056, use = 13057, off = 13058, all = {13056, 13057, 13058}},["gloom"] = {effect = 188, on = 13059, use = 13060, off = 13061, all = {13059, 13060, 13061}},["golbat"] = {effect = 188, on = 13623, use = 13624, off = 13625, all = {13623, 13624, 13625}},["goldeen"] = {effect = 188, on = 13065, use = 13066, off = 13067, all = {13065, 13066, 13067}},["golduck"] = {effect = 188, on = 13068, use = 13069, off = 13070, all = {13068, 13069, 13070}},["golem"] = {effect = 188, on = 13071, use = 13072, off = 13073, all = {13071, 13072, 13073}},["golbat"] = {effect = 188, on = 13623, use = 13624, off = 13625, all = {13623, 13624, 13625}},["granbull"] = {effect = 188, on = 13074, use = 13075, off = 13076, all = {13074, 13075, 13076}},["graveler"] = {effect = 188, on = 13077, use = 13078, off = 13079, all = {13077, 13078, 13079}},["grimer"] = {effect = 188, on = 13080, use = 13081, off = 13082, all = {13080, 13081, 13082}},["growlithe"] = {effect = 188, on = 13083, use = 13084, off = 13085, all = {13083, 13084, 13085}},["gyarados"] = {effect = 188, on = 13086, use = 13087, off = 13088, all = {13086, 13087, 13088}},["haunter"] = {effect = 188, on = 13089, use = 13090, off = 13091, all = {13089, 13090, 13091}},["heracross"] = {effect = 188, on = 13092, use = 13093, off = 13094, all = {13092, 13093, 13094}},["hitmonchan"] = {effect = 188, on = 13095, use = 13096, off = 13097, all = {13095, 13096, 13097}},["hitmonlee"] = {effect = 188, on = 13098, use = 13099, off = 13100, all = {13098, 13099, 13100}},["hitmontop"] = {effect = 188, on = 13101, use = 13102, off = 13103, all = {13101, 13102, 13103}},["hoothoot"] = {effect = 188, on = 13104, use = 13105, off = 13106, all = {13104, 13105, 13106}},["hoppip"] = {effect = 188, on = 13107, use = 13108, off = 13109, all = {13107, 13108, 13109}},["horsea"] = {effect = 188, on = 13110, use = 13111, off = 13112, all = {13110, 13111, 13112}},["houndoom"] = {effect = 188, on = 13113, use = 13114, off = 13115, all = {13113, 13114, 13115}},["houndour"] = {effect = 188, on = 13116, use = 13117, off = 13118, all = {13116, 13117, 13118}},["hypno"] = {effect = 188, on = 13119, use = 13120, off = 13121, all = {13119, 13120, 13121}},["igglybuff"] = {effect = 188, on = 13122, use = 13123, off = 13124, all = {13122, 13123, 13124}},["ivysaur"] = {effect = 188, on = 13125, use = 13126, off = 13127, all = {13125, 13126, 13127}},["jigglypuff"] = {effect = 188, on = 13128, use = 13129, off = 13130, all = {13128, 13129, 13130}},["jolteon"] = {effect = 188, on = 13131, use = 13132, off = 13133, all = {13131, 13132, 13133}},["jumpluff"] = {effect = 188, on = 13134, use = 13135, off = 13136, all = {13134, 13135, 13136}},["jynx"] = {effect = 188, on = 13137, use = 13138, off = 13139, all = {13137, 13138, 13139}},["kabuto"] = {effect = 188, on = 13140, use = 13141, off = 13142, all = {13140, 13141, 13142}},["kabutops"] = {effect = 188, on = 13143, use = 13144, off = 13145, all = {13143, 13144, 13145}},["kadabra"] = {effect = 188, on = 13146, use = 13147, off = 13148, all = {13146, 13147, 13148}},["kangaskhan"] = {effect = 188, on = 13149, use = 13150, off = 13151, all = {13149, 13150, 13151}},["kingdra"] = {effect = 188, on = 13152, use = 13153, off = 13154, all = {13152, 13153, 13154}},["kingler"] = {effect = 188, on = 13155, use = 13156, off = 13157, all = {13155, 13156, 13157}},["koffing"] = {effect = 188, on = 13158, use = 13159, off = 13160, all = {13158, 13159, 13160}},["krabby"] = {effect = 188, on = 13161, use = 13162, off = 13163, all = {13161, 13162, 13163}},["lanturn"] = {effect = 188, on = 13164, use = 13165, off = 13166, all = {13164, 13165, 13166}},["lapras"] = {effect = 188, on = 13167, use = 13168, off = 13169, all = {13167, 13168, 13169}},["larvitar"] = {effect = 188, on = 13170, use = 13171, off = 13172, all = {13170, 13171, 13172}},["ledian"] = {effect = 188, on = 13173, use = 13174, off = 13175, all = {13173, 13174, 13175}},["ledyba"] = {effect = 188, on = 13176, use = 13177, off = 13178, all = {13176, 13177, 13178}},["lickitung"] = {effect = 188, on = 13179, use = 13180, off = 13181, all = {13179, 13180, 13181}},["machamp"] = {effect = 188, on = 13182, use = 13183, off = 13184, all = {13182, 13183, 13184}},["machoke"] = {effect = 188, on = 13185, use = 13186, off = 13187, all = {13185, 13186, 13187}},["machop"] = {effect = 188, on = 13188, use = 13189, off = 13190, all = {13188, 13189, 13190}},["magby"] = {effect = 188, on = 13191, use = 13192, off = 13193, all = {13191, 13192, 13193}},["magcargo"] = {effect = 188, on = 13194, use = 13195, off = 13196, all = {13194, 13195, 13196}},["magikarp"] = {effect = 188, on = 13197, use = 13198, off = 13199, all = {13197, 13198, 13199}},["magmar"] = {effect = 188, on = 13200, use = 13201, off = 13202, all = {13200, 13201, 13202}},["magnemite"] = {effect = 188, on = 13203, use = 13204, off = 13205, all = {13203, 13204, 13205}},["magneton"] = {effect = 188, on = 13206, use = 13207, off = 13208, all = {13206, 13207, 13208}},["mankey"] = {effect = 188, on = 13209, use = 13210, off = 13211, all = {13209, 13210, 13211}},["mantine"] = {effect = 188, on = 13212, use = 13213, off = 13214, all = {13212, 13213, 13214}},["mareep"] = {effect = 188, on = 13215, use = 13216, off = 13217, all = {13215, 13216, 13217}},["marill"] = {effect = 188, on = 13218, use = 13219, off = 13220, all = {13218, 13219, 13220}},["marowak"] = {effect = 188, on = 13221, use = 13222, off = 13223, all = {13221, 13222, 13223}},["meganium"] = {effect = 188, on = 13224, use = 13225, off = 13226, all = {13224, 13225, 13226}},["meowth"] = {effect = 188, on = 13227, use = 13228, off = 13229, all = {13227, 13228, 13229}},["metapod"] = {effect = 188, on = 13230, use = 13231, off = 13232, all = {13230, 13231, 13232}},["miltank"] = {effect = 188, on = 13233, use = 13234, off = 13235, all = {13233, 13234, 13235}},["misdreavus"] = {effect = 188, on = 13236, use = 13237, off = 13238, all = {13236, 13237, 13238}},["mr. mime"] = {effect = 188, on = 13239, use = 13240, off = 13241, all = {13239, 13240, 13241}},["muk"] = {effect = 188, on = 13242, use = 13243, off = 13244, all = {13242, 13243, 13244}},["murkrow"] = {effect = 188, on = 13245, use = 13246, off = 13247, all = {13245, 13246, 13247}},["natu"] = {effect = 188, on = 13248, use = 13249, off = 13250, all = {13248, 13249, 13250}},["nidoking"] = {effect = 188, on = 13251, use = 13252, off = 13253, all = {13251, 13252, 13253}},["nidoran male"] = {effect = 188, on = 13254, use = 13255, off = 13256, all = {13254, 13255, 13256}},["nidoran female"] = {effect = 188, on = 13257, use = 13258, off = 13259, all = {13257, 13258, 13259}},["nidorina"] = {effect = 188, on = 13260, use = 13261, off = 13262, all = {13260, 13261, 13262}},["ninetales"] = {effect = 188, on = 13263, use = 13264, off = 13265, all = {13263, 13264, 13265}},["nidoqueen"] = {effect = 188, on = 13266, use = 13267, off = 13268, all = {13266, 13267, 13268}},["nidorino"] = {effect = 188, on = 13269, use = 13270, off = 13271, all = {13269, 13270, 13271}},["noctowl"] = {effect = 188, on = 13272, use = 13273, off = 13274, all = {13272, 13273, 13274}},["octillery"] = {effect = 188, on = 13275, use = 13276, off = 13277, all = {13275, 13276, 13277}},["oddish"] = {effect = 188, on = 13278, use = 13279, off = 13280, all = {13278, 13279, 13280}},["omanyte"] = {effect = 188, on = 13281, use = 13282, off = 13283, all = {13281, 13282, 13283}},["omastar"] = {effect = 188, on = 13284, use = 13285, off = 13286, all = {13284, 13285, 13286}},["onix"] = {effect = 188, on = 13287, use = 13288, off = 13289, all = {13287, 13288, 13289}},["parasect"] = {effect = 188, on = 13290, use = 13291, off = 13292, all = {13290, 13291, 13292}},["paras"] = {effect = 188, on = 14326, use = 14327, off = 14328, all = {14326, 14327, 14328}}, -- fazer os icones do paras["persian"] = {effect = 188, on = 13293, use = 13294, off = 13295, all = {13293, 13294, 13295}},["phanpy"] = {effect = 188, on = 13296, use = 13297, off = 13298, all = {13296, 13297, 13298}},["pichu"] = {effect = 188, on = 13299, use = 13300, off = 13301, all = {13299, 13300, 13301}},["pidgeot"] = {effect = 188, on = 13302, use = 13303, off = 13304, all = {13302, 13303, 13304}},["pidgeotto"] = {effect = 188, on = 13305, use = 13306, off = 13307, all = {13305, 13306, 13307}},["pidgey"] = {effect = 188, on = 13308, use = 13309, off = 13310, all = {13308, 13309, 13310}},["pikachu"] = {effect = 188, on = 13311, use = 13312, off = 13313, all = {13311, 13312, 13313}},["piloswine"] = {effect = 188, on = 13314, use = 13315, off = 13316, all = {13314, 13315, 13316}},["pineco"] = {effect = 188, on = 13317, use = 13318, off = 13319, all = {13317, 13318, 13319}},["pinsir"] = {effect = 188, on = 13320, use = 13321, off = 13322, all = {13320, 13321, 13322}},["politoed"] = {effect = 188, on = 13323, use = 13324, off = 13325, all = {13323, 13324, 13325}},["poliwag"] = {effect = 188, on = 13326, use = 13327, off = 13328, all = {13326, 13327, 13328}},["poliwhirl"] = {effect = 188, on = 13329, use = 13330, off = 13331, all = {13329, 13330, 13331}},["poliwrath"] = {effect = 188, on = 13332, use = 13333, off = 13334, all = {13332, 13333, 13334}},["ponyta"] = {effect = 188, on = 13335, use = 13336, off = 13337, all = {13335, 13336, 13337}},["porygon"] = {effect = 188, on = 13338, use = 13339, off = 13340, all = {13338, 13339, 13340}},["porygon2"] = {effect = 188, on = 13341, use = 13342, off = 13343, all = {13341, 13342, 13343}},["primeape"] = {effect = 188, on = 13344, use = 13345, off = 13346, all = {13344, 13345, 13346}},["psyduck"] = {effect = 188, on = 13347, use = 13348, off = 13349, all = {13347, 13348, 13349}},["pupitar"] = {effect = 188, on = 13350, use = 13351, off = 13352, all = {13350, 13351, 13352}},["quagsire"] = {effect = 188, on = 13353, use = 13354, off = 13355, all = {13353, 13354, 13355}},["quilava"] = {effect = 188, on = 13356, use = 13357, off = 13358, all = {13356, 13357, 13358}},["qwilfish"] = {effect = 188, on = 13359, use = 13360, off = 13361, all = {13359, 13360, 13361}},["raichu"] = {effect = 188, on = 13362, use = 13363, off = 13364, all = {13362, 13363, 13364}},["rapidash"] = {effect = 188, on = 13365, use = 13366, off = 13367, all = {13365, 13366, 13367}},["raticate"] = {effect = 188, on = 13368, use = 13369, off = 13370, all = {13368, 13369, 13370}},["rattata"] = {effect = 188, on = 13371, use = 13372, off = 13373, all = {13371, 13372, 13373}},["remoraid"] = {effect = 188, on = 13374, use = 13375, off = 13376, all = {13374, 13375, 13376}},["rhydon"] = {effect = 188, on = 13377, use = 13378, off = 13379, all = {13377, 13378, 13379}},["rhyhorn"] = {effect = 188, on = 13380, use = 13381, off = 13382, all = {13380, 13381, 13382}},["sandshrew"] = {effect = 188, on = 13383, use = 13384, off = 13385, all = {13383, 13384, 13385}},["sandslash"] = {effect = 188, on = 13386, use = 13387, off = 13388, all = {13386, 13387, 13388}},["scizor"] = {effect = 188, on = 13389, use = 13390, off = 13391, all = {13389, 13390, 13391}},["scyther"] = {effect = 188, on = 13392, use = 13393, off = 13394, all = {13392, 13393, 13394}},["seadra"] = {effect = 188, on = 13395, use = 13396, off = 13397, all = {13395, 13396, 13397}},["seaking"] = {effect = 188, on = 13398, use = 13399, off = 13400, all = {13398, 13399, 13400}},["sentret"] = {effect = 188, on = 13401, use = 13402, off = 13403, all = {13401, 13402, 13403}},["shellder"] = {effect = 188, on = 13404, use = 13405, off = 13406, all = {13404, 13405, 13406}},["shiny abra"] = {effect = 188, on = 13407, use = 13408, off = 13409, all = {13407, 13408, 13409}},["shiny alakazam"] = {effect = 188, on = 13410, use = 13411, off = 13412, all = {13410, 13411, 13412}},["shiny ampharos"] = {effect = 188, on = 13413, use = 13414, off = 13415, all = {13413, 13414, 13415}},["shiny arcanine"] = {effect = 188, on = 13416, use = 13417, off = 13418, all = {13416, 13417, 13418}},["shiny beedrill"] = {effect = 188, on = 13419, use = 13420, off = 13421, all = {13419, 13420, 13421}},["shiny blastoise"] = {effect = 188, on = 13422, use = 13423, off = 13424, all = {13422, 13423, 13424}},["shiny butterfree"] = {effect = 188, on = 13425, use = 13426, off = 13427, all = {13425, 13426, 13427}},["shiny charizard"] = {effect = 188, on = 13428, use = 13429, off = 13430, all = {13428, 13429, 13430}},["shiny crobat"] = {effect = 188, on = 13431, use = 13432, off = 13433, all = {13431, 13432, 13433}},["shiny cubone"] = {effect = 188, on = 13434, use = 13435, off = 13436, all = {13434, 13435, 13436}},["shiny dodrio"] = {effect = 188, on = 13437, use = 13438, off = 13439, all = {13437, 13438, 13439}},["shiny dragonair"] = {effect = 188, on = 13440, use = 13441, off = 13442, all = {13440, 13441, 13442}},["shiny electabuzz"] = {effect = 188, on = 13443, use = 13444, off = 13445, all = {13443, 13444, 13445}},["shiny electrode"] = {effect = 188, on = 13446, use = 13447, off = 13448, all = {13446, 13447, 13448}},["shiny espeon"] = {effect = 188, on = 13449, use = 13450, off = 13451, all = {13449, 13450, 13451}},["shiny farfetch'd"] = {effect = 188, on = 13452, use = 13453, off = 13454, all = {13452, 13453, 13454}},["shiny fearow"] = {effect = 188, on = 13455, use = 13456, off = 13457, all = {13455, 13456, 13457}},["shiny feraligatr"] = {effect = 188, on = 13458, use = 13459, off = 13460, all = {13458, 13459, 13460}},["shiny flareon"] = {effect = 188, on = 13461, use = 13462, off = 13463, all = {13461, 13462, 13463}},["shiny gengar"] = {effect = 188, on = 13464, use = 13465, off = 13466, all = {13464, 13465, 13466}},["shiny golem"] = {effect = 188, on = 13467, use = 13468, off = 13469, all = {13467, 13468, 13469}},["shiny grimer"] = {effect = 188, on = 13470, use = 13471, off = 13472, all = {13470, 13471, 13472}},["shiny growlithe"] = {effect = 188, on = 13473, use = 13474, off = 13475, all = {13473, 13474, 13475}},["shiny gyarados"] = {effect = 188, on = 13476, use = 13477, off = 13478, all = {13476, 13477, 13478}},["shiny hitmonchan"] = {effect = 188, on = 13479, use = 13480, off = 13481, all = {13479, 13480, 13481}},["shiny hitmonlee"] = {effect = 188, on = 13482, use = 13483, off = 13484, all = {13482, 13483, 13484}},["shiny horsea"] = {effect = 188, on = 13485, use = 13486, off = 13487, all = {13485, 13486, 13487}},["shiny hypno"] = {effect = 188, on = 13488, use = 13489, off = 13490, all = {13488, 13489, 13490}},["shiny jolteon"] = {effect = 188, on = 13491, use = 13492, off = 13493, all = {13491, 13492, 13493}},["shiny jynx"] = {effect = 188, on = 13494, use = 13495, off = 13496, all = {13494, 13495, 13496}},["shiny krabby"] = {effect = 188, on = 13497, use = 13498, off = 13499, all = {13497, 13498, 13499}},["shiny larvitar"] = {effect = 188, on = 13500, use = 13501, off = 13502, all = {13500, 13501, 13502}},["shiny machamp"] = {effect = 188, on = 13503, use = 13504, off = 13505, all = {13503, 13504, 13505}},["shiny magikarp"] = {effect = 188, on = 13506, use = 13507, off = 13508, all = {13506, 13507, 13508}},["shiny magmar"] = {effect = 188, on = 13509, use = 13510, off = 13511, all = {13509, 13510, 13511}},["shiny magmortar"] = {effect = 188, on = 13933, use = 13934, off = 13935, all = {13933, 13934, 13935}},["shiny electivire"] = {effect = 188, on = 13937, use = 13938, off = 13939, all = {13937, 13938, 13939}},["magmortar"] = {effect = 188, on = 14190, use = 14191, off = 14192, all = {14190, 14191, 14192}},["electivire"] = {effect = 188, on = 14020, use = 14021, off = 14022, all = {14020, 14021, 14012}},["shiny mantine"] = {effect = 188, on = 14015, use = 14016, off = 14017, all = {14015, 14016, 14017}},["shiny magneton"] = {effect = 188, on = 13512, use = 13513, off = 13514, all = {13512, 13513, 13514}},["shiny marowak"] = {effect = 188, on = 13515, use = 13516, off = 13517, all = {13515, 13516, 13517}},["shiny meganium"] = {effect = 188, on = 13518, use = 13519, off = 13520, all = {13518, 13519, 13520}},["shiny mr. mime"] = {effect = 188, on = 13521, use = 13522, off = 13523, all = {13521, 13522, 13523}},["shiny muk"] = {effect = 188, on = 13524, use = 13525, off = 13526, all = {13524, 13525, 13526}},["shiny nidoking"] = {effect = 188, on = 13527, use = 13528, off = 13529, all = {13527, 13528, 13529}},["shiny ninetales"] = {effect = 188, on = 13530, use = 13531, off = 13532, all = {13530, 13531, 13532}},["shiny onix"] = {effect = 188, on = 13533, use = 13534, off = 13535, all = {13533, 13534, 13535}},["shiny paras"] = {effect = 188, on = 13536, use = 13537, off = 13538, all = {13536, 13537, 13538}},["shiny parasect"] = {effect = 188, on = 13539, use = 13540, off = 13541, all = {13539, 13540, 13541}},["shiny pidgeot"] = {effect = 188, on = 13542, use = 13543, off = 13544, all = {13542, 13543, 13544}},["shiny pinsir"] = {effect = 188, on = 13545, use = 13546, off = 13547, all = {13545, 13546, 13547}},["shiny pupitar"] = {effect = 188, on = 13548, use = 13549, off = 13550, all = {13548, 13549, 13550}},["shiny raichu"] = {effect = 188, on = 13551, use = 13552, off = 13553, all = {13551, 13552, 13553}},["shiny raticate"] = {effect = 188, on = 13554, use = 13555, off = 13556, all = {13554, 13555, 13556}},["shiny rattata"] = {effect = 188, on = 13557, use = 13558, off = 13559, all = {13557, 13558, 13559}},["shiny rhydon"] = {effect = 188, on = 13560, use = 13561, off = 13562, all = {13560, 13561, 13562}},["shiny scyther"] = {effect = 188, on = 13563, use = 13564, off = 13565, all = {13563, 13564, 13565}},["shiny seadra"] = {effect = 188, on = 13566, use = 13567, off = 13568, all = {13566, 13567, 13568}},["shiny snorlax"] = {effect = 188, on = 13569, use = 13570, off = 13571, all = {13569, 13570, 13571}},["shiny stantler"] = {effect = 188, on = 13572, use = 13573, off = 13574, all = {13572, 13573, 13574}},["shiny tangela"] = {effect = 188, on = 13575, use = 13576, off = 13577, all = {13575, 13576, 13577}},["shiny tauros"] = {effect = 188, on = 13578, use = 13579, off = 13580, all = {13578, 13579, 13580}},["shiny tentacool"] = {effect = 188, on = 13581, use = 13582, off = 13583, all = {13581, 13582, 13583}},["shiny typhlosion"] = {effect = 188, on = 13584, use = 13585, off = 13586, all = {13584, 13585, 13586}},["shiny umbreon"] = {effect = 188, on = 13587, use = 13588, off = 13589, all = {13587, 13588, 13589}},["shiny vaporeon"] = {effect = 188, on = 13590, use = 13591, off = 13592, all = {13590, 13591, 13592}},["shiny venomoth"] = {effect = 188, on = 13593, use = 13594, off = 13595, all = {13593, 13594, 13595}},["shiny venonat"] = {effect = 188, on = 13596, use = 13597, off = 13598, all = {13596, 13597, 13598}},["shiny venusaur"] = {effect = 188, on = 13599, use = 13600, off = 13601, all = {13599, 13600, 13601}},["shiny vileplume"] = {effect = 188, on = 13602, use = 13603, off = 13604, all = {13602, 13603, 13604}},["shiny voltorb"] = {effect = 188, on = 13605, use = 13606, off = 13607, all = {13605, 13606, 13607}},["shiny xatu"] = {effect = 188, on = 13608, use = 13609, off = 13610, all = {13608, 13609, 13610}},["shiny zubat"] = {effect = 188, on = 13611, use = 13612, off = 13613, all = {13611, 13612, 13613}},["shuckle"] = {effect = 188, on = 13614, use = 13615, off = 13616, all = {13614, 13615, 13616}},["skarmory"] = {effect = 188, on = 13617, use = 13618, off = 13619, all = {13617, 13618, 13619}},["skiploom"] = {effect = 188, on = 13620, use = 13621, off = 13622, all = {13620, 13621, 13622}}, -------\/ diferença nos numeros devido ao erro com o icon do golbat["slowbro"] = {effect = 188, on = 13626, use = 13627, off = 13628, all = {13626, 13627, 13628}},["slowking"] = {effect = 188, on = 13629, use = 13630, off = 13631, all = {13629, 13630, 13631}},["slowpoke"] = {effect = 188, on = 13632, use = 13633, off = 13634, all = {13632, 13633, 13634}},["slugma"] = {effect = 188, on = 13635, use = 13636, off = 13637, all = {13635, 13636, 13637}},["smeargle"] = {effect = 188, on = 13638, use = 13639, off = 13640, all = {13638, 13639, 13640}},["smoochum"] = {effect = 188, on = 13641, use = 13642, off = 13643, all = {13641, 13642, 13643}},["sneasel"] = {effect = 188, on = 13644, use = 13645, off = 13646, all = {13644, 13645, 13646}},["snorlax"] = {effect = 188, on = 13647, use = 13648, off = 13649, all = {13647, 13648, 13649}},["snubbull"] = {effect = 188, on = 13650, use = 13651, off = 13652, all = {13650, 13651, 13652}},["spearow"] = {effect = 188, on = 13653, use = 13654, off = 13655, all = {13653, 13654, 13655}},["spinarak"] = {effect = 188, on = 13656, use = 13657, off = 13658, all = {13656, 13657, 13658}},["squirtle"] = {effect = 188, on = 13659, use = 13660, off = 13661, all = {13659, 13660, 13661}},["stantler"] = {effect = 188, on = 13662, use = 13663, off = 13664, all = {13662, 13663, 13664}},["starmie"] = {effect = 188, on = 13665, use = 13666, off = 13667, all = {13665, 13666, 13667}},["staryu"] = {effect = 188, on = 13668, use = 13669, off = 13670, all = {13668, 13669, 13670}},["steelix"] = {effect = 188, on = 13671, use = 13672, off = 13673, all = {13671, 13672, 13673}},["sudowoodo"] = {effect = 188, on = 13674, use = 13675, off = 13676, all = {13674, 13675, 13676}},["sunkern"] = {effect = 188, on = 13677, use = 13678, off = 13679, all = {13677, 13678, 13679}},["swinub"] = {effect = 188, on = 13680, use = 13681, off = 13682, all = {13680, 13681, 13682}},["tangela"] = {effect = 188, on = 13683, use = 13684, off = 13685, all = {13683, 13684, 13685}},["tauros"] = {effect = 188, on = 13686, use = 13687, off = 13688, all = {13686, 13687, 13688}},["teddiursa"] = {effect = 188, on = 13689, use = 13690, off = 13691, all = {13689, 13690, 13691}},["tentacool"] = {effect = 188, on = 13692, use = 13693, off = 13694, all = {13692, 13693, 13694}},["sunflora"] = {effect = 188, on = 13695, use = 13696, off = 13697, all = {13695, 13696, 13697}},["togepi"] = {effect = 188, on = 13698, use = 13699, off = 13700, all = {13698, 13699, 13700}},["flareon"] = {effect = 188, on = 13701, use = 13702, off = 13703, all = {13701, 13702, 13703}},["tentacruel"] = {effect = 188, on = 13704, use = 13705, off = 13706, all = {13704, 13705, 13706}},["shiny tentacruel"] = {effect = 188, on = 13707, use = 13708, off = 13709, all = {13707, 13708, 13709}},["togetic"] = {effect = 188, on = 13710, use = 13711, off = 13712, all = {13710, 13711, 13712}},["totodile"] = {effect = 188, on = 13713, use = 13714, off = 13715, all = {13713, 13714, 13715}},["typhlosion"] = {effect = 188, on = 13716, use = 13717, off = 13718, all = {13716, 13717, 13718}},["tyranitar"] = {effect = 188, on = 13719, use = 13720, off = 13721, all = {13719, 13720, 13721}},["tyrogue"] = {effect = 188, on = 13722, use = 13723, off = 13724, all = {13722, 13723, 13724}},["umbreon"] = {effect = 188, on = 13725, use = 13726, off = 13727, all = {13725, 13726, 13727}},["ursaring"] = {effect = 188, on = 13728, use = 13729, off = 13730, all = {13728, 13729, 13730}},["vaporeon"] = {effect = 188, on = 13731, use = 13732, off = 13733, all = {13731, 13732, 13733}},["venomoth"] = {effect = 188, on = 13734, use = 13735, off = 13736, all = {13734, 13735, 13736}},["venonat"] = {effect = 188, on = 13737, use = 13738, off = 13739, all = {13737, 13738, 13739}},["venusaur"] = {effect = 188, on = 13740, use = 13741, off = 13742, all = {13740, 13741, 13742}},["victreebel"] = {effect = 188, on = 13743, use = 13744, off = 13745, all = {13743, 13744, 13745}},["vileplume"] = {effect = 188, on = 13746, use = 13747, off = 13748, all = {13746, 13747, 13748}},["voltorb"] = {effect = 188, on = 13749, use = 13750, off = 13751, all = {13749, 13750, 13751}},["vulpix"] = {effect = 188, on = 13752, use = 13753, off = 13754, all = {13752, 13753, 13754}},["wartortle"] = {effect = 188, on = 13755, use = 13756, off = 13757, all = {13755, 13756, 13757}},["weedle"] = {effect = 188, on = 13758, use = 13759, off = 13760, all = {13758, 13759, 13760}},["weepinbell"] = {effect = 188, on = 13761, use = 13762, off = 13763, all = {13761, 13762, 13763}},["weezing"] = {effect = 188, on = 13764, use = 13765, off = 13766, all = {13764, 13765, 13766}},["wigglytuff"] = {effect = 188, on = 13767, use = 13768, off = 13769, all = {13767, 13768, 13769}},["wobbuffet"] = {effect = 188, on = 13770, use = 13771, off = 13772, all = {13770, 13771, 13772}},["wooper"] = {effect = 188, on = 13773, use = 13774, off = 13775, all = {13773, 13774, 13775}},["xatu"] = {effect = 188, on = 13776, use = 13777, off = 13778, all = {13776, 13777, 13778}},["yanma"] = {effect = 188, on = 13779, use = 13780, off = 13781, all = {13779, 13780, 13781}},["lugia"] = {effect = 188, on = 13797, use = 13798, off = 13799, all = {13797, 13798, 13799}},["articuno"] = {effect = 188, on = 13800, use = 13801, off = 13802, all = {13800, 13801, 13802}},["moltres"] = {effect = 188, on = 13803, use = 13804, off = 13805, all = {13803, 13804, 13805}},["zapdos"] = {effect = 188, on = 13806, use = 13807, off = 13808, all = {13806, 13807, 13808}},["mew"] = {effect = 188, on = 13809, use = 13810, off = 13811, all = {13809, 13810, 13811}},["mewtwo"] = {effect = 188, on = 14332, use = 14333, off = 14334, all = {14332, 14333, 14334}},["ho-oh"] = {effect = 188, on = 13812, use = 13813, off = 13814, all = {13812, 13813, 13814}},["suicune"] = {effect = 188, on = 13815, use = 13816, off = 13817, all = {13815, 13816, 13817}},["raikou"] = {effect = 188, on = 13818, use = 13819, off = 13820, all = {13818, 13819, 13820}},["beedrill"] = {effect = 188, on = 13821, use = 13822, off = 13823, all = {13821, 13822, 13823}},["zubat"] = {effect = 188, on = 13062, use = 13063, off = 13064, all = {13062, 13063, 13064}},["shiny hitmontop"] = {effect = 188, on = 13836, use = 13837, off = 13838, all = {13836, 13837, 13838}},["shiny ariados"] = {effect = 188, on = 13839, use = 13840, off = 13841, all = {13839, 13840, 13841}},["shiny politoed"] = {effect = 188, on = 13842, use = 13843, off = 13844, all = {13842, 13843, 13844}},["giant magikarp"] = {effect = 188, on = 13845, use = 13846, off = 13847, all = {13845, 13846, 13847}},["shiny giant magikarp"] = {effect = 188, on = 13848, use = 13849, off = 13850, all = {13848, 13849, 13850}},["shiny dratini"] = {effect = 188, on = 13851, use = 13852, off = 13853, all = {13851, 13852, 13853}},["shiny kingler"] = {effect = 188, on = 13854, use = 13855, off = 13856, all = {13854, 13855, 13856}},["Mewtwo"] = {effect = 188, on = 13859, use = 13860, off = 13861, all = {13859, 13860, 13861}},["kakuna"] = {effect = 188, on = 13902, use = 13903, off = 13904, all = {13902, 13903, 13904}},["shiny magcargo"] = {effect = 188, on = 13919, use = 13920, off = 13921, all = {13919, 13920, 13921}},["shiny Lanturn"] = {effect = 188, on = 13922, use = 13923, off = 13924, all = {13922, 13923, 13924}},["shiny Weezing"] = {effect = 188, on = 13925, use = 13926, off = 13927, all = {13925, 13926, 13927}},["shiny Sandslash"] = {effect = 188, on = 13928, use = 13929, off = 13930, all = {13928, 13929, 13930}},-- nao temos["Wailord"] = {effect = 188, on = 14173, use = 14174, off = 14175, all = {14173, 14174, 14175}},["treecko"] = {effect = 188, on = 14881, use = 14883, off = 14883, all = {14881, 14883}},["grovyle"] = {effect = 188, on = 14884, use = 14886, off = 14886, all = {14884, 14886}},["sceptile"] = {effect = 188, on = 14887, use = 14889, off = 14889, all = {14887, 14889}},["torchic"] = {effect = 188, on = 14890, use = 14892, off = 14892, all = {14890, 14892}},["combusken"] = {effect = 188, on = 14893, use = 14895, off = 14895, all = {14893, 14895}},["blaziken"] = {effect = 188, on = 14896, use = 14898, off = 14898, all = {14896, 14898}},["mudkip"] = {effect = 188, on = 14899, use = 14901, off = 14901, all = {14899, 14901}},["marshtomp"] = {effect = 188, on = 14902, use = 14904, off = 14904, all = {14902, 14904}},["swampert"] = {effect = 188, on = 14905, use = 14907, off = 14907, all = {14905, 14907}},["lotad"] = {effect = 188, on = 14908, use = 14910, off = 14910, all = {14908, 14910}},["lombre"] = {effect = 188, on = 14911, use = 14913, off = 14913, all = {14911, 14913}},["ludicolo"] = {effect = 188, on = 14914, use = 14916, off = 14916, all = {14914, 14916}},["ralts"] = {effect = 188, on = 14917, use = 14919, off = 14919, all = {14917, 14919}},["kirlia"] = {effect = 188, on = 14920, use = 14922, off = 14922, all = {14920, 14922}},["gardevoir"] = {effect = 188, on = 14923, use = 14925, off = 14925, all = {14923, 14925}},["slakoth"] = {effect = 188, on = 14926, use = 14928, off = 14928, all = {14926, 14928}},["vigoroth"] = {effect = 188, on = 14929, use = 14931, off = 14931, all = {14929, 14931}},["slaking"] = {effect = 188, on = 14932, use = 14934, off = 14934, all = {14932, 14934}},["nincada"] = {effect = 188, on = 14935, use = 14937, off = 14937, all = {14935, 14937}},["ninjask"] = {effect = 188, on = 14938, use = 14940, off = 14940, all = {14938, 14940}},["shedinja"] = {effect = 188, on = 14941, use = 14943, off = 14943, all = {14941, 14943}},["whismur"] = {effect = 188, on = 14944, use = 14945, off = 14945, all = {14944, 14945}},["loudred"] = {effect = 188, on = 14946, use = 14947, off = 14947, all = {14946, 14947}},["exploud"] = {effect = 188, on = 14948, use = 14949, off = 14949, all = {14948, 14949}},["makuhita"] = {effect = 188, on = 14950, use = 14951, off = 14951, all = {14950, 14951}},["hariyama"] = {effect = 188, on = 14952, use = 14953, off = 14953, all = {14952, 14953}},["mawile"] = {effect = 188, on = 14954, use = 14955, off = 14955, all = {14954, 14955}},["aron"] = {effect = 188, on = 14956, use = 14957, off = 14957, all = {14956, 14957}},["lairon"] = {effect = 188, on = 14958, use = 14959, off = 14959, all = {14958, 14959}},["aggron"] = {effect = 188, on = 14960, use = 14961, off = 14961, all = {14960, 14961}},["meditite"] = {effect = 188, on = 14962, use = 14963, off = 14963, all = {14962, 14963}},["medicham"] = {effect = 188, on = 14964, use = 14965, off = 14965, all = {14964, 14965}},["electrike"] = {effect = 188, on = 14966, use = 14967, off = 14967, all = {14966, 14967}},["manectric"] = {effect = 188, on = 14968, use = 14969, off = 14969, all = {14968, 14969}},["numel"] = {effect = 188, on = 14970, use = 14971, off = 14971, all = {14970, 14971}},["camerupt"] = {effect = 188, on = 14972, use = 14973, off = 14973, all = {14972, 14973}},["torkoal"] = {effect = 188, on = 14974, use = 14975, off = 14975, all = {14974, 14975}},["spoink"] = {effect = 188, on = 14976, use = 14977, off = 14977, all = {14976, 14977}},["grumpig"] = {effect = 188, on = 14978, use = 14979, off = 14979, all = {14978, 14979}},["trapinch"] = {effect = 188, on = 14980, use = 14981, off = 14981, all = {14980, 14981}},["vibrava"] = {effect = 188, on = 14982, use = 14983, off = 14983, all = {14982, 14983}},["flygon"] = {effect = 188, on = 14984, use = 14985, off = 14985, all = {14984, 14985}},["swablu"] = {effect = 188, on = 14986, use = 14987, off = 14987, all = {14986, 14987}},["altaria"] = {effect = 188, on = 14988, use = 14989, off = 14989, all = {14988, 14989}},["zangoose"] = {effect = 188, on = 14990, use = 14991, off = 14991, all = {14990, 14991}},["seviper"] = {effect = 188, on = 14992, use = 14993, off = 14993, all = {14992, 14993}},["corphish"] = {effect = 188, on = 14994, use = 14995, off = 14995, all = {14994, 14995}},["crawdaunt"] = {effect = 188, on = 14996, use = 14997, off = 14997, all = {14996, 14997}},["feebas"] = {effect = 188, on = 14998, use = 14999, off = 14999, all = {14998, 14999}},["milotic"] = {effect = 188, on = 15000, use = 15001, off = 15001, all = {15000, 15001}},["shuppet"] = {effect = 188, on = 15002, use = 15003, off = 15003, all = {15002, 15003}},["banette"] = {effect = 188, on = 15004, use = 15005, off = 15005, all = {15004, 15005}},["duskull"] = {effect = 188, on = 15006, use = 15007, off = 15007, all = {15006, 15007}},["dusclops"] = {effect = 188, on = 15008, use = 15009, off = 15009, all = {15008, 15009}},["dusknoir"] = {effect = 188, on = 15010, use = 15011, off = 15011, all = {15010, 15011}},["tropius"] = {effect = 188, on = 15012, use = 15013, off = 15013, all = {15012, 15013}},["absol"] = {effect = 188, on = 15014, use = 15015, off = 15015, all = {15014, 15015}},["snorunt"] = {effect = 188, on = 15016, use = 15017, off = 15017, all = {15016, 15017}},["glalie"] = {effect = 188, on = 15018, use = 15019, off = 15019, all = {15018, 15019}},["spheal"] = {effect = 188, on = 15020, use = 15021, off = 15021, all = {15020, 15021}},["sealeo"] = {effect = 188, on = 15022, use = 15023, off = 15023, all = {15022, 15023}},["walrein"] = {effect = 188, on = 15024, use = 15025, off = 15025, all = {15024, 15025}},["bagon"] = {effect = 188, on = 15026, use = 15027, off = 15027, all = {15026, 15027}},["shelgon"] = {effect = 188, on = 15028, use = 15029, off = 15029, all = {15028, 15029}},["salamence"] = {effect = 188, on = 15030, use = 15031, off = 15031, all = {15030, 15031}},["beldum"] = {effect = 188, on = 15032, use = 15033, off = 15033, all = {15032, 15033, 15033}},["metang"] = {effect = 188, on = 15034, use = 15035, off = 15035, all = {15034, 15035, 15035}},["metagross"] = {effect = 188, on = 15036, use = 15037, off = 15037, all = {15036, 15037, 15037}},["groudon"] = {effect = 188, on = 15038, use = 15039, off = 15039, all = {15038, 15039}},["rayquaza"] = {effect = 188, on = 15040, use = 15041, off = 15041, all = {15040, 15041}},["kyogre"] = {effect = 188, on = 15042, use = 15043, off = 15043, all = {15042, 15043}},["riolu"] = {effect = 188, on = 15068, use = 15069, off = 15069, all = {15068, 15069}},["lucario"] = {effect = 188, on = 15044, use = 15045, off = 15045, all = {15044, 15045}},["rotom"] = {effect = 188, on = 15046, use = 15047, off = 15047, all = {15046, 15047}},["tangrowth"] = {effect = 188, on = 15048, use = 15049, off = 15049, all = {15048, 15049}},["rhyperior"] = {effect = 188, on = 15050, use = 15051, off = 15051, all = {15050, 15051}},["seedot"] = {effect = 188, on = 15052, use = 15053, off = 15053, all = {15052, 15053}},["nuzleaf"] = {effect = 188, on = 15054, use = 15055, off = 15055, all = {15054, 15055}},["shiftry"] = {effect = 188, on = 15056, use = 15057, off = 15057, all = {15056, 15057}},["taillow"] = {effect = 188, on = 15058, use = 15059, off = 15059, all = {15058, 15059}},["swellow"] = {effect = 188, on = 15060, use = 15061, off = 15061, all = {15060, 15061}},["sableye"] = {effect = 188, on = 15062, use = 15063, off = 15063, all = {15062, 15063}},["baltoy"] = {effect = 188, on = 15064, use = 15065, off = 15065, all = {15064, 15065}},["claydol"] = {effect = 188, on = 15066, use = 15067, off = 15067, all = {15066, 15067}},}effectiveness = {[WATERDAMAGE] = {super = {"rock", "ground", "fire"}, weak = {"water", "grass", "dragon"}},[NORMALDAMAGE] = {weak = {"rock", "steel"}, norm = {"water"}, non = {"ghost"}},[FIGHTDAMAGE] = {super = {"normal", "rock", "steel", "ice", "dark"}, norm = {"water"}, weak = {"flying", "poison", "bug", "psychic"}, non = {"ghost"}},[FLYINGDAMAGE] = {super = {"fighting", "bug", "grass"}, norm = {"water"}, weak = {"rock", "steel", "electric"}},[POISONDAMAGE] = {super = {"grass"}, norm = {"water"}, weak = {"poison", "ground", "rock", "ghost"}, non = {"steel"}},[POISONEDDAMAGE] = {super = {"grass"}, weak = {"poison", "ground", "rock", "ghost"}, non = {"steel"}},[GROUNDDAMAGE] = {super = {"poison", "rock", "steel", "fire", "electric"}, norm = {"water"}, weak = {"bug", "grass"}, non = {"flying"}},[ROCKDAMAGE] = {super = {"flying", "bug", "fire", "ice"}, norm = {"water"}, weak = {"fighting", "ground", "steel"}},[bUGDAMAGE] = {super = {"grass", "psychic"}, norm = {"water"}, weak = {"fighting", "flying", "poison", "ghost", "steel", "fire"}}, [GHOSTDAMAGE] = {super = {"ghost", "psychic"}, norm = {"water"}, weak = {"steel", "dark"}, non = {"normal"}},[sTEELDAMAGE] = {super = {"rock", "ice", "poison"}, weak = {"steel", "fire", "water", "electric"}},[FIREDAMAGE] = {super = {"bug", "grass", "ice", "steel"}, weak = {"rock", "fire", "water"}},[bURNEDDAMAGE] = {super = {"bug", "grass", "ice"}, weak = {"rock", "fire", "water"}},[GRASSDAMAGE] = {super = {"ground", "rock", "water"}, weak = {"flying", "poison", "bug", "steel", "fire", "grass", "dragon"}},[ELECTRICDAMAGE] = {super = {"flying", "water"}, weak = {"grass", "electric", "dragon"}, non = {"ground"}},[PSYCHICDAMAGE] = {super = {"fighting", "poison"}, norm = {"water"}, weak = {"steel"}, non = {"dark"}},[iCEDAMAGE] = {super = {"flying", "ground", "grass", "dragon"}, weak = {"steel", "fire", "water"}},[DRAGONDAMAGE] = {super = {"dragon"}, norm = {"water"}, weak = {"steel"}},[DARKDAMAGE] = {super = {"ghost", "psychic"}, norm = {"water"}, weak = {"fighting", "steel", "dark"}},[MIRACLEDAMAGE] = {super = {"fighting", "poison"}, weak = {"steel", "psychic", "dark"}}, --alterado v1.6 [DARK_EYEDAMAGE] = {super = {"ghost", "psychic"}, weak = {"steel", "dark", "normal"}}, --alterado v1.6[sEED_BOMBDAMAGE] = {super = {"ground", "rock", "water"}, weak = {"flying", "poison", "bug", "steel", "fire", "grass", "dragon"}}, --alterado v1.6[sACREDDAMAGE] = {super = {"bug", "grass", "ice"}, weak = {"rock", "fire", "water"}}, --alterado v1.6[MUDBOMBDAMAGE] = {super = {"poison", "rock", "steel", "fire", "electric"}, weak = {"bug", "grass"}, non = {"flying"}}, --alterado v1.8}-- offense = offense que ganha por level-- level = level min pra usar o poke / offense base-- defense = defense por level-- agility = speed base dos pokes-- specialattack = special attack que ganha por level-- exp = exp que dá a cada level que tem (somada a exp base, no xml do poke) -- vitality = vida que o poke ganha pra cada vitality que temfunction getPortraitClientID(pokeName) local random_shinys = { ["Shiny Crobat"] = 12487, ["Shiny Magmar"] = 12027, ["Electivire"] = 12910, ["Magmortar"] = 12905, ["Shiny Magmortar"] = 12935, ["Shiny Electivire"] = 12932, ["Shiny Ampharos"] = 12074, ["Shiny Feraligatr"] = 12076, ["Shiny Larvitar"] = 12078, ["Shiny Machamp"] = 12080, ["Shiny Meganium"] = 12082, ["Shiny Pupitar"] = 12084, ["Shiny Tauros"] = 12086, ["Shiny Typhlosion"] = 12088, ["Shiny Xatu"] = 12090, ["Shiny Magcargo"] = 12790, ["Shiny Lanturn"] = 12791, ["Shiny Onix"] = 11427, } local id = fotos[pokeName] if id >= 11989 and id <= 12139 then -- kanto return id - 928 elseif id >= 11139 and id <= 11285 or id >= 11288 and id <= 11387 then -- shinys kanto e johto return id - 911 elseif id >= 12607 and id <= 12616 then -- alguns shinys johto return id - 1178 elseif random_shinys[pokeName] then return random_shinys[pokeName] end --print("Pokemon nao encontrado: " .. pokeName .. ", na funcao: getPortraitClientID")endfotos = {["Bulbasaur"] = 11989,["Ivysaur"] = 11990,["Venusaur"] = 11991,["Charmander"] = 11992,["Charmeleon"] = 11993,["Charizard"] = 11994,["Squirtle"] = 11995,["Wartortle"] = 11996,["Blastoise"] = 11997,["Caterpie"] = 11998,["Metapod"] = 11999,["Butterfree"] = 12000,["Weedle"] = 12001,["Kakuna"] = 12002,["Beedrill"] = 12003,["Pidgey"] = 12004,["Pidgeotto"] = 12005,["Pidgeot"] = 12006,["Rattata"] = 12007,["Raticate"] = 12008,["Spearow"] = 12009,["Fearow"] = 12010,["Ekans"] = 12011,["Arbok"] = 12012,["Pikachu"] = 12013,["Raichu"] = 12014,["Sandshrew"] = 12015,["Sandslash"] = 12016,["Nidoran Female"] = 12017,["Nidorina"] = 12018,["Nidoqueen"] = 12019,["Nidoran Male"] = 12020,["Nidorino"] = 12021,["Nidoking"] = 12022,["Clefairy"] = 12023,["Clefable"] = 12024,["Vulpix"] = 12025,["Ninetales"] = 12026,["Jigglypuff"] = 12027,["Wigglytuff"] = 12028,["Zubat"] = 12029,["Golbat"] = 12030,["Oddish"] = 12031,["Gloom"] = 12032,["Vileplume"] = 12033,["Paras"] = 12034,["Parasect"] = 12035,["Venonat"] = 12036,["Venomoth"] = 12037,["Diglett"] = 12038,["Dugtrio"] = 12039,["Meowth"] = 12040,["Persian"] = 12041,["Psyduck"] = 12042,["Golduck"] = 12043,["Mankey"] = 12044,["Primeape"] = 12045,["Growlithe"] = 12046,["Arcanine"] = 12047,["Poliwag"] = 12048,["Poliwhirl"] = 12049,["Poliwrath"] = 12050,["Abra"] = 12051,["Kadabra"] = 12052,["Alakazam"] = 12053,["Machop"] = 12054,["Machoke"] = 12055,["Machamp"] = 12056,["Bellsprout"] = 12057,["Weepinbell"] = 12058,["Victreebel"] = 12059,["Tentacool"] = 12060,["Tentacruel"] = 12061,["Geodude"] = 12062,["Graveler"] = 12063,["Golem"] = 12064,["Ponyta"] = 12065,["Rapidash"] = 12066,["Slowpoke"] = 12067,["Slowbro"] = 12068,["Magnemite"] = 12069,["Magneton"] = 12070,["Farfetch'd"] = 12071,["Doduo"] = 12072,["Dodrio"] = 12073,["Seel"] = 12074,["Dewgong"] = 12075,["Grimer"] = 12076,["Muk"] = 12077,["Shellder"] = 12078,["Cloyster"] = 12079,["Gastly"] = 12080,["Haunter"] = 12081,["Gengar"] = 12082,["Onix"] = 12083,["Drowzee"] = 12084,["Hypno"] = 12085,["Krabby"] = 12086,["Kingler"] = 12087,["Voltorb"] = 12088,["Electrode"] = 12089,["Exeggcute"] = 12090,["Exeggutor"] = 12091,["Cubone"] = 12092,["Marowak"] = 12093,["Hitmonlee"] = 12094,["Hitmonchan"] = 12095,["Lickitung"] = 12096,["Koffing"] = 12097,["Weezing"] = 12098,["Rhyhorn"] = 12099,["Rhydon"] = 12100,["Chansey"] = 12101,["Tangela"] = 12102,["Kangaskhan"] = 12103,["Horsea"] = 12104,["Seadra"] = 12105,["Goldeen"] = 12106,["Seaking"] = 12107,["Staryu"] = 12108,["Starmie"] = 12109,["Mr. Mime"] = 12110,["Scyther"] = 12111,["Jynx"] = 12112,["Electabuzz"] = 12113,["Magmar"] = 12114,["Pinsir"] = 12115,["Tauros"] = 12116,["Magikarp"] = 12117,["Giant Magikarp"] = 12117,["Gyarados"] = 12118,["Lapras"] = 12119,["Ditto"] = 12120,["Shiny Ditto"] = 16180,["Eevee"] = 12121,["Vaporeon"] = 12122,["Jolteon"] = 12123,["Flareon"] = 12124,["Porygon"] = 12125,["Omanyte"] = 12126,["Omastar"] = 12127,["Kabuto"] = 12128,["Kabutops"] = 12129,["Aerodactyl"] = 12130,["Snorlax"] = 12131,["Articuno"] = 12132,["Zapdos"] = 12133,["Moltres"] = 12134,["Dratini"] = 12135,["Dragonair"] = 12136,["Dragonite"] = 12137,["Mewtwo"] = 12138,["Mew"] = 12139,-----------------Shiny Portfoil------------["Shiny Venusaur"] = 11139,["Shiny Charizard"] = 11142,["Shiny Blastoise"] = 11145,["Shiny Butterfree"] = 11148,["Shiny Beedrill"] = 11151,["Shiny Pidgeot"] = 11154,["Shiny Rattata"] = 11155,["Shiny Raticate"] = 11156,["Shiny Fearow"] = 11158,["Shiny Raichu"] = 11162,["Shiny Nidoking"] = 11170,["Shiny Zubat"] = 11177,["Shiny Golbat"] = 11178,["Shiny Oddish"] = 11179,["Shiny Vileplume"] = 11181,["Shiny Paras"] = 11182,["Shiny Parasect"] = 11183,["Shiny Venonat"] = 11184,["Shiny Venomoth"] = 11185,["Shiny Growlithe"] = 11194,["Shiny Arcanine"] = 11195,["Shiny Abra"] = 11199,["Shiny Alakazam"] = 11201,["Shiny Tentacool"] = 11208,["Shiny Tentacruel"] = 11209,["Shiny Golem"] = 11212,["Shiny Farfetch'd"] = 11219,["Shiny Grimer"] = 11224,["Shiny Muk"] = 11225,["Shiny Gengar"] = 11230,["Shiny Onix"] = 12605, --alterado v1.9["Shiny Hypno"] = 11233,["Shiny Krabby"] = 11234,["Shiny Kingler"] = 11235,["Shiny Voltorb"] = 11236,["Shiny Electrode"] = 11237,["Shiny Cubone"] = 11240,["Shiny Marowak"] = 11241,["Shiny Hitmonlee"] = 11242,["Shiny Hitmontop"] = 12606, --alterado v1.9["Shiny Hitmonchan"] = 11243,["Shiny Tangela"] = 11250,["Shiny Horsea"] = 11252,["Shiny Seadra"] = 11253,["Shiny Scyther"] = 11259,["Shiny Jynx"] = 11260,["Shiny Electabuzz"] = 11261,["Shiny Pinsir"] = 11263,["Shiny Magikarp"] = 11265,["Shiny Giant Magikarp"] = 11265,["Shiny Gyarados"] = 11266,["Shiny Vaporeon"] = 11270,["Shiny Jolteon"] = 11271,["Shiny Flareon"] = 11272,["Shiny Snorlax"] = 11279,["Shiny Dratini"] = 11283,["Shiny Dragonair"] = 11284,["Shiny Dragonite"] = 11285,-----------------geracao 2 Portfoil------------["Chikorita"] = 11288,["Bayleef"] = 11289,["Meganium"] = 11290,["Cyndaquil"] = 11291,["Quilava"] = 11292,["Typhlosion"] = 11293,["Totodile"] = 11294,["Croconaw"] = 11295,["Feraligatr"] = 11296,["Sentret"] = 11297,["Furret"] = 11298,["Hoothoot"] = 11299,["Noctowl"] = 11300,["Ledyba"] = 11301,["Ledian"] = 11302,["Spinarak"] = 11303,["Ariados"] = 11304,["Crobat"] = 11305,["Chinchou"] = 11306,["Lanturn"] = 11307,["Pichu"] = 11308,["Cleffa"] = 11309,["Igglybuff"] = 11310,["Togepi"] = 11311,["Togetic"] = 11312,["Natu"] = 11313,["Xatu"] = 11314,["Mareep"] = 11315,["Flaaffy"] = 11316,["Ampharos"] = 11317,["Bellossom"] = 11318,["Marill"] = 11319,["Azumarill"] = 11320,["Sudowoodo"] = 11321,["Politoed"] = 11322,["Hoppip"] = 11323,["Skiploom"] = 11324,["Jumpluff"] = 11325,["Aipom"] = 11326,["Sunkern"] = 11327,["Sunflora"] = 11328,["Yanma"] = 11329,["Wooper"] = 11330,["Quagsire"] = 11331,["Espeon"] = 11332,["Umbreon"] = 11333,["Murkrow"] = 11334,["Slowking"] = 11335,["Misdreavus"] = 11336,["Unown"] = 11337,["Wobbuffet"] = 11338,["Girafarig"] = 11339,["Pineco"] = 11340,["Forretress"] = 11341,["Dunsparce"] = 11342,["Gligar"] = 11343,["Steelix"] = 11344,["Snubbull"] = 11345,["Granbull"] = 11346,["Qwilfish"] = 11347,["Scizor"] = 11348,["Shuckle"] = 11349,["Heracross"] = 11350,["Sneasel"] = 11351,["Teddiursa"] = 11352,["Ursaring"] = 11353,["Slugma"] = 11354,["Magcargo"] = 11355,["Swinub"] = 11356,["Piloswine"] = 11357,["Corsola"] = 11358,["Remoraid"] = 11359,["Octillery"] = 11360,["Delibird"] = 11361,["Mantine"] = 11362,["Skarmory"] = 11363,["Houndour"] = 11364,["Houndoom"] = 11365,["Kingdra"] = 11366,["Phanpy"] = 11367,["Donphan"] = 11368,["Porygon2"] = 11369,["Stantler"] = 11370,["Smeargle"] = 11371,["Tyrogue"] = 11372,["Hitmontop"] = 11373,["Smoochum"] = 11374,["Elekid"] = 11375,["Magby"] = 11376,["Miltank"] = 11377,["Blissey"] = 11378,["Raikou"] = 11379,["Entei"] = 11380,["Suicune"] = 11381,["Larvitar"] = 11382,["Pupitar"] = 11383,["Tyranitar"] = 11384,["Lugia"] = 11385,["Ho-oh"] = 11386,["Celebi"] = 11387, ------------ bagunçado["Shiny Stantler"] = 12607, --tem["Shiny Umbreon"] = 12608, --tem["Shiny Espeon"] = 12609, --tem["Shiny Politoed"] = 12610, --tem["Shiny Ariados"] = 12611, --tem["Shiny Rhydon"] = 12612, --tem["Shiny Dodrio"] = 12613, --tem["Shiny Magneton"] = 12614, --alterado v1.9 \/ ["Shiny Ninetales"] = 12615,["Shiny Mr. Mime"] = 12616,["Shiny Crobat"] = 12741,["Shiny Magmar"] = 12742,["Shiny Mantine"] = 14018,["Electivire"] = 14019,["Magmortar"] = 14182,["Shiny Magmortar"] = 14183,["Shiny Electivire"] = 14184,["Shiny Ampharos"] = 12836,["Shiny Feraligatr"] = 12838,["Shiny Larvitar"] = 12840,["Shiny Machamp"] = 12842,["Shiny Meganium"] = 12844,["Shiny Pupitar"] = 12846,["Shiny Tauros"] = 12848,["Shiny Typhlosion"] = 12850,["Shiny Xatu"] = 12852,["Shiny Magcargo"] = 13915,["Shiny Lanturn"] = 13916,--------------------- 3 geracao fazer depois["Treecko"] = 14795,["Grovyle"] = 14796,["Sceptile"] = 14797,["Torchic"] = 14798,["Combusken"] = 14799,["Blaziken"] = 14800,["Mudkip"] = 14801,["Marshtomp"] = 14802,["Swampert"] = 14803,["Lotad"] = 14804,["Lombre"] = 14805,["Ludicolo"] = 14806,["Ralts"] = 14807,["Kirlia"] = 14808,["Gardevoir"] = 14809,["Slakoth"] = 14810,["Vigoroth"] = 14811,["Slaking"] = 14812,["Nincada"] = 14813,["Ninjask"] = 14814,["Shedinja"] = 14880,["Whismur"] = 14815,["Loudred"] = 14816,["Exploud"] = 14817,["Makuhita"] = 14818,["Hariyama"] = 14819,["Aron"] = 14820,["Lairon"] = 14821,["Aggron"] = 14822,["Meditite"] = 14823,["Medicham"] = 14824,["Sableye"] = 14825,["Mawile"] = 14826,["Electrike"] = 14827,["Manectric"] = 14828,["Numel"] = 14829,["Camerupt"] = 14830,["Torkoal"] = 14831,["Spoink"] = 14832,["Grumpig"] = 14833,["Trapinch"] = 14834,["Vibrava"] = 14835,["Flygon"] = 14836,["Swablu"] = 14837,["Altaria"] = 14838,["Zangoose"] = 14839,["Seviper"] = 14840,["Corphish"] = 14841,["Crawdaunt"] = 14842,["Feebas"] = 14843,["Milotic"] = 14844,["Shuppet"] = 14845,["Banette"] = 14846,["Duskull"] = 14847,["Dusclops"] = 14848,["Dusknoir"] = 14862,["Tropius"] = 14849,["Absol"] = 14850,["Snorunt"] = 14851,["Glalie"] = 14852,["Spheal"] = 14853,["Sealeo"] = 14854,["Walrein"] = 14855,["Bagon"] = 14856,["Shelgon"] = 14857,["Salamence"] = 14858,["Beldum"] = 14859,["Metang"] = 14860,["Metagross"] = 14861,["Rhyperior"] = 14863,["tangrowth"] = 14864,["Lucario"] = 14865,["Kyogre"] = 14866,["Groudon"] = 14867,["Rayquaza"] = 14868,["Rotom"] = 14869,["Wailord"] = 14870,["Swellow"] = 14871,["Taillow"] = 14872,["Seedot"] = 14873,["Nuzleaf"] = 14874,["Shiftry"] = 14875,["Claydol"] = 14877,["Baltoy"] = 14878,["Riolu"] = 14879,} pokecatches = {["Bulbasaur"] = {chance = 300, corpse = 5969},["Ivysaur"] = {chance = 800, corpse = 5982},["Venusaur"] = {chance = 1800, corpse = 5962},["Charmander"] = {chance = 300, corpse = 5983},["Charmeleon"] = {chance = 800, corpse = 5981},["Charizard"] = {chance = 1800, corpse = 6005},["Squirtle"] = {chance = 300, corpse = 6008},["Wartortle"] = {chance = 800, corpse = 5978},["Blastoise"] = {chance = 1800, corpse = 5999},["Caterpie"] = {chance = 5, corpse = 5971},["Metapod"] = {chance = 50, corpse = 5970},["Butterfree"] = {chance = 150, corpse = 5985},["Weedle"] = {chance = 5, corpse = 5964},["Kakuna"] = {chance = 50, corpse = 6000},["Beedrill"] = {chance = 150, corpse = 5990},["Pidgey"] = {chance = 10, corpse = 5961},["Pidgeotto"] = {chance = 100, corpse = 5966},["Pidgeot"] = {chance = 1800, corpse = 6020},["Rattata"] = {chance = 5, corpse = 5974},["Raticate"] = {chance = 100, corpse = 6007},["Spearow"] = {chance = 10, corpse = 5968},["Fearow"] = {chance = 300, corpse = 5992},["Ekans"] = {chance = 80, corpse = 5979},["Arbok"] = {chance = 200, corpse = 5984},["Pikachu"] = {chance = 250, corpse = 6001},["Raichu"] = {chance = 1800, corpse = 5996},["Sandshrew"] = {chance = 50, corpse = 5988},["Sandslash"] = {chance = 400, corpse = 6041},["Nidoran Female"] = {chance = 20, corpse = 6013},["Nidorina"] = {chance = 100, corpse = 6014},["Nidoqueen"] = {chance = 1200, corpse = 3004},["Nidoran Male"] = {chance = 20, corpse = 6015},["Nidorino"] = {chance = 100, corpse = 6019},["Nidoking"] = {chance = 1200, corpse = 5995},["Clefairy"] = {chance = 100, corpse = 2968},["Clefable"] = {chance = 800, corpse = 6006},["Vulpix"] = {chance = 50, corpse = 6003},["Ninetales"] = {chance = 800, corpse = 6040},["Jigglypuff"] = {chance = 100, corpse = 6011},["Wigglytuff"] = {chance = 1000, corpse = 6012},["Zubat"] = {chance = 25, corpse = 5989},["Golbat"] = {chance = 120, corpse = 6053},["Oddish"] = {chance = 15, corpse = 3008},["Gloom"] = {chance = 150, corpse = 6017},["Vileplume"] = {chance = 600, corpse = 6025},["Paras"] = {chance = 20, corpse = 3007},["Parasect"] = {chance = 200, corpse = 6027},["Venonat"] = {chance = 60, corpse = 5997},["Venomoth"] = {chance = 200, corpse = 2925},["Diglett"] = {chance = 15, corpse = 6023},["Dugtrio"] = {chance = 200, corpse = 6024},["Meowth"] = {chance = 20, corpse = 6034},["Persian"] = {chance = 200, corpse = 6009},["Psyduck"] = {chance = 50, corpse = 6029},["Golduck"] = {chance = 350, corpse = 6028},["Mankey"] = {chance = 30, corpse = 6035},["Primeape"] = {chance = 300, corpse = 6032},["Growlithe"] = {chance = 60, corpse = 6036},["Arcanine"] = {chance = 1000, corpse = 6031},["Poliwag"] = {chance = 10, corpse = 6042},["Poliwhirl"] = {chance = 200, corpse = 6054},["Poliwrath"] = {chance = 800, corpse = 6033},["Abra"] = {chance = 40, corpse = 2905},["Kadabra"] = {chance = 250, corpse = 6060},["Alakazam"] = {chance = 1000, corpse = 6057},["Machop"] = {chance = 30, corpse = 6045},["Machoke"] = {chance = 200, corpse = 4251},["Machamp"] = {chance = 1000, corpse = 6048},["Bellsprout"] = {chance = 10, corpse = 2806},["Weepinbell"] = {chance = 100, corpse = 2928},["Victreebel"] = {chance = 400, corpse = 6332},["Tentacool"] = {chance = 15, corpse = 2961},["Tentacruel"] = {chance = 800, corpse = 6037},["Geodude"] = {chance = 20, corpse = 6071},["Graveler"] = {chance = 200, corpse = 6516},["Golem"] = {chance = 800, corpse = 6043},["Ponyta"] = {chance = 40, corpse = 5975},["Rapidash"] = {chance = 300, corpse = 4323},["Slowpoke"] = {chance = 15, corpse = 2926},["Slowbro"] = {chance = 300, corpse = 5986},["Magnemite"] = {chance = 10, corpse = 6056},["Magneton"] = {chance = 200, corpse = 6076},["Magnezone"] = {chance = 1000, corpse = 14181},["Milotic"] = {chance = 800, corpse = 14181},["Farfetch'd"] = {chance = 300, corpse = 2836},["Doduo"] = {chance = 20, corpse = 2842},["Dodrio"] = {chance = 150, corpse = 6047},["Seel"] = {chance = 20, corpse = 6030},["Dewgong"] = {chance = 400, corpse = 6038},["Grimer"] = {chance = 20, corpse = 6055},["Muk"] = {chance = 300, corpse = 2845},["Shellder"] = {chance = 20, corpse = 2837},["Cloyster"] = {chance = 500, corpse = 2932},["Gastly"] = {chance = 80, corpse = 5993},["Haunter"] = {chance = 300, corpse = 6004},["Gengar"] = {chance = 900, corpse = 6336},["Onix"] = {chance = 350, corpse = 2990},["Drowzee"] = {chance = 50, corpse = 6026},["Hypno"] = {chance = 600, corpse = 6046},["Krabby"] = {chance = 8, corpse = 6039},["Kingler"] = {chance = 200, corpse = 6340},["Voltorb"] = {chance = 30, corpse = 6049},["Electrode"] = {chance = 220, corpse = 6051},["Exeggcute"] = {chance = 20, corpse = 2982},["Exeggutor"] = {chance = 400, corpse = 3005},["Cubone"] = {chance = 30, corpse = 6050},["Marowak"] = {chance = 250, corpse = 6072},["Hitmonlee"] = {chance = 800, corpse = 6067},["Hitmonchan"] = {chance = 800, corpse = 5977},["Lickitung"] = {chance = 800, corpse = 2953},["Koffing"] = {chance = 30, corpse = 2936},["Weezing"] = {chance = 220, corpse = 6306},["Rhyhorn"] = {chance = 100, corpse = 3035},["Rhydon"] = {chance = 1000, corpse = 2858},["Chansey"] = {chance = 1000, corpse = 6010},["Tangela"] = {chance = 300, corpse = 5976},["Kangaskhan"] = {chance = 1000, corpse = 6073},["Horsea"] = {chance = 15, corpse = 2973},["Seadra"] = {chance = 250, corpse = 2872},["Goldeen"] = {chance = 10, corpse = 2970},["Seaking"] = {chance = 150, corpse = 3038},["Staryu"] = {chance = 30, corpse = 5987},["Starmie"] = {chance = 400, corpse = 7320},["Mr. Mime"] = {chance = 800, corpse = 6069},["Scyther"] = {chance = 1800, corpse = 3002},["Jynx"] = {chance = 500, corpse = 5765},["Electabuzz"] = {chance = 700, corpse = 6065},["Magmar"] = {chance = 600, corpse = 7283},["Pinsir"] = {chance = 300, corpse = 7282},["Tauros"] = {chance = 100, corpse = 6302},["Magikarp"] = {chance = 2, corpse = 2818},["Gyarados"] = {chance = 2000, corpse = 6331},["Lapras"] = {chance = 1000, corpse = 6018},["Ditto"] = {chance = 4000, corpse = 2817},["Eevee"] = {chance = 4000, corpse = 6364},["Vaporeon"] = {chance = 800, corpse = 5960},["Jolteon"] = {chance = 800, corpse = 6044},["Flareon"] = {chance = 800, corpse = 6059},["Porygon"] = {chance = 800, corpse = 5963},["Omanyte"] = {chance = 50, corpse = 5998},["Omastar"] = {chance = 900, corpse = 5994},["Kabuto"] = {chance = 50, corpse = 5972},["Kabutops"] = {chance = 900, corpse = 6345},["Aerodactyl"] = {chance = 1500, corpse = 6338},["Snorlax"] = {chance = 1500, corpse = 6016},["Dratini"] = {chance = 200, corpse = 2879},["Dragonair"] = {chance = 400, corpse = 6002},["Dragonite"] = {chance = 2500, corpse = 4295},-------------Johto Catch----------["Chikorita"] = {chance = 300, corpse = 8949},["Bayleef"] = {chance = 800, corpse = 8943},["Meganium"] = {chance = 1500, corpse = 9872},["Cyndaquil"] = {chance = 300, corpse = 8956},["Quilava"] = {chance = 800, corpse = 9920},["Typhlosion"] = {chance = 1800, corpse = 10521},["Totodile"] = {chance = 300, corpse = 10520},["Croconaw"] = {chance = 800, corpse = 8955},["Feraligatr"] = {chance = 2500, corpse = 8967},["Sentret"] = {chance = 20, corpse = 9935},["Furret"] = {chance = 150, corpse = 9009},["Hoothoot"] = {chance = 20, corpse = 9774},["Noctowl"] = {chance = 600, corpse = 9879},["Ledyba"] = {chance = 10, corpse = 9829},["Ledian"] = {chance = 100, corpse = 9824},["Spinarak"] = {chance = 10, corpse = 9965},["Ariados"] = {chance = 200, corpse = 8941},["Crobat"] = {chance = 900, corpse = 8953},["Chinchou"] = {chance = 30, corpse = 8950},["Lanturn"] = {chance = 400, corpse = 9803},["Pichu"] = {chance = 30, corpse = 9882},["Cleffa"] = {chance = 80, corpse = 8951},["Igglybuff"] = {chance = 80, corpse = 9783},["Togepi"] = {chance = 80, corpse = 10518},["Togetic"] = {chance = 1200, corpse = 10519},["Natu"] = {chance = 50, corpse = 9877},["Xatu"] = {chance = 900, corpse = 8937},["Mareep"] = {chance = 20, corpse = 9869},["Flaaffy"] = {chance = 800, corpse = 8968},["Ampharos"] = {chance = 1800, corpse = 8939},["Bellossom"] = {chance = 400, corpse = 8946},["Marill"] = {chance = 50, corpse = 9871},["Azumarill"] = {chance = 400, corpse = 8942},["Sudowoodo"] = {chance = 1000, corpse = 10005},["Politoed"] = {chance = 800, corpse = 9915},["Hoppip"] = {chance = 10, corpse = 9775},["Skiploom"] = {chance = 80, corpse = 9937},["Jumpluff"] = {chance = 250, corpse = 9801},["Aipom"] = {chance = 100, corpse = 8938},["Sunkern"] = {chance = 5, corpse = 10015},["Sunflora"] = {chance = 200, corpse = 10008},["Yanma"] = {chance = 150, corpse = 8935},["Wooper"] = {chance = 50, corpse = 10603},["Quagsire"] = {chance = 600, corpse = 9919},["Espeon"] = {chance = 800, corpse = 8966},["Umbreon"] = {chance = 800, corpse = 10525},["Murkrow"] = {chance = 400, corpse = 9876},["Slowking"] = {chance = 2500, corpse = 9938},["Misdreavus"] = {chance = 2000, corpse = 9875},["Wobbuffet"] = {chance = 4000, corpse = 10539},["Girafarig"] = {chance = 1000, corpse = 9081},["Pineco"] = {chance = 20, corpse = 9914},["Forretress"] = {chance = 400, corpse = 8969},["Dunsparce"] = {chance = 60, corpse = 8960},["Gligar"] = {chance = 100, corpse = 9083},["Steelix"] = {chance = 2500, corpse = 10003},["Snubbull"] = {chance = 100, corpse = 9964},["Granbull"] = {chance = 600, corpse = 9107},["Qwilfish"] = {chance = 400, corpse = 9921},["Scizor"] = {chance = 2500, corpse = 9925},["Shuckle"] = {chance = 10, corpse = 9924},["Heracross"] = {chance = 800, corpse = 9654},["Sneasel"] = {chance = 300, corpse = 9963},["Teddiursa"] = {chance = 100, corpse = 10508},["Ursaring"] = {chance = 2500, corpse = 10538},["Slugma"] = {chance = 80, corpse = 9960},["Magcargo"] = {chance = 400, corpse = 9867},["Swinub"] = {chance = 80, corpse = 10171},["Piloswine"] = {chance = 400, corpse = 9913},["Corsola"] = {chance = 400, corpse = 8952},["Remoraid"] = {chance = 80, corpse = 9923},["Octillery"] = {chance = 400, corpse = 9880},["Delibird"] = {chance = 400, corpse = 8957},["Mantine"] = {chance = 1800, corpse = 9868},["Skarmory"] = {chance = 2500, corpse = 9936},["Houndour"] = {chance = 80, corpse = 9781},["Houndoom"] = {chance = 1800, corpse = 9780},["Kingdra"] = {chance = 2500, corpse = 9802},["Phanpy"] = {chance = 80, corpse = 9881},["Donphan"] = {chance = 1000, corpse = 8958},["Porygon2"] = {chance = 2500, corpse = 9916},["Stantler"] = {chance = 400, corpse = 10002},["Smeargle"] = {chance = 3000, corpse = 9961},["Tyrogue"] = {chance = 300, corpse = 10524},["Hitmontop"] = {chance = 800, corpse = 9658},["Smoochum"] = {chance = 100, corpse = 9962},["Elekid"] = {chance = 200, corpse = 8964},["Magby"] = {chance = 200, corpse = 9831},["Miltank"] = {chance = 1500, corpse = 9873},["Blissey"] = {chance = 2000, corpse = 8947},["Larvitar"] = {chance = 200, corpse = 9823},["Pupitar"] = {chance = 500, corpse = 9917},["Tyranitar"] = {chance = 2500, corpse = 10522},["Lucario"] = {chance = 1700, corpse = 14772},["Riolu"] = {chance = 740, corpse = 14789},["Giant Magikarp"] = {chance = 1500, corpse = 12749},------------Shiny Catch-----------["Shiny Venusaur"] = {chance = 800, corpse = 12422},["Shiny Charizard"] = {chance = 800, corpse = 12425},["Shiny Blastoise"] = {chance = 800, corpse = 12583}, --alterado v1.4["Shiny Butterfree"] = {chance = 500, corpse = 12431},["Shiny Beedrill"] = {chance = 500, corpse = 12434},["Shiny Pidgeot"] = {chance = 800, corpse = 12437},["Shiny Rattata"] = {chance = 100, corpse = 12438},["Shiny Raticate"] = {chance = 200, corpse = 12439},["Shiny Fearow"] = {chance = 800, corpse = 12441},["Shiny Raichu"] = {chance = 800, corpse = 12445},["Shiny Nidoking"] = {chance = 800, corpse = 12453},["Shiny Zubat"] = {chance = 500, corpse = 12460},["Shiny Golbat"] = {chance = 800, corpse = 12461},["Shiny Oddish"] = {chance = 500, corpse = 12462},["Shiny Vileplume"] = {chance = 800, corpse = 12464},["Shiny Paras"] = {chance = 200, corpse = 12465},["Shiny Parasect"] = {chance = 500, corpse = 12466},["Shiny Venonat"] = {chance = 250, corpse = 12467},["Shiny Venomoth"] = {chance = 500, corpse = 12468},["Shiny Growlithe"] = {chance = 700, corpse = 12477},["Shiny Arcanine"] = {chance = 800, corpse = 12478},["Shiny Alakazam"] = {chance = 800, corpse = 12484},["Shiny Tentacool"] = {chance = 350, corpse = 12491},["Shiny Tentacruel"] = {chance = 800, corpse = 12492},["Shiny Golem"] = {chance = 800, corpse = 12495},["Shiny Farfetch'd"] = {chance = 800, corpse = 12502},["Shiny Grimer"] = {chance = 700, corpse = 12507},["Shiny Muk"] = {chance = 800, corpse = 12508},["Shiny Gengar"] = {chance = 800, corpse = 12513},["Shiny Onix"] = {chance = 1500, corpse = 12514},["Shiny Hypno"] = {chance = 800, corpse = 12516},["Shiny Krabby"] = {chance = 200, corpse = 12517},["Shiny Kingler"] = {chance = 450, corpse = 12518},["Shiny Voltorb"] = {chance = 250, corpse = 12519},["Shiny Electrode"] = {chance = 400, corpse = 12520},["Shiny Cubone"] = {chance = 450, corpse = 12524},["Shiny Marowak"] = {chance = 800, corpse = 12525},["Shiny Hitmonlee"] = {chance = 800, corpse = 12526},["Shiny Hitmonchan"] = {chance = 800, corpse = 12527},["Shiny Tangela"] = {chance = 800, corpse = 12534},["Shiny Horsea"] = {chance = 100, corpse = 12536},["Shiny Seadra"] = {chance = 250, corpse = 12537},["Shiny Scyther"] = {chance = 800, corpse = 12543},["Shiny Jynx"] = {chance = 800, corpse = 12544},["Shiny Electabuzz"] = {chance = 800, corpse = 12545},["Shiny Pinsir"] = {chance = 800, corpse = 12547},["Shiny Magikarp"] = {chance = 80, corpse = 12549}, ["Shiny Giant Magikarp"] = {chance = 800, corpse = 12748}, ["Shiny Gyarados"] = {chance = 2000, corpse = 12550},["Shiny Vaporeon"] = {chance = 800, corpse = 12554},["Shiny Jolteon"] = {chance = 300, corpse = 12555},["Shiny Flareon"] = {chance = 300, corpse = 12556},["Shiny Snorlax"] = {chance = 1500, corpse = 12680},["Shiny Dratini"] = {chance = 700, corpse = 12567},["Shiny Dragonair"] = {chance = 800, corpse = 12568},["Shiny Mr. Mime"] = {chance = 900, corpse = 12595}, --alterado v1.9["Shiny Rhydon"] = {chance = 1200, corpse = 12596},["Shiny Ninetales"] = {chance = 1200, corpse = 12597},["Shiny Ariados"] = {chance = 1200, corpse = 12598},["Shiny Magneton"] = {chance = 1200, corpse = 12599},["Shiny Espeon"] = {chance = 1200, corpse = 12600},["Shiny Politoed"] = {chance = 1200, corpse = 12601},["Shiny Umbreon"] = {chance = 1200, corpse = 12602},["Shiny Stantler"] = {chance = 1200, corpse = 12603},["Shiny Dodrio"] = {chance = 1200, corpse = 12604},["Shiny Weezing"] = {chance = 800, corpse = 12686},["Shiny Sandslash"] = {chance = 800, corpse = 12687},["Shiny Crobat"] = {chance = 800, corpse = 12743},["Shiny Magmar"] = {chance = 800, corpse = 12744},["Shiny Magmortar"] = {chance = 1000, corpse = 13931},["Shiny Electivire"] = {chance = 1000, corpse = 13940},["Shiny Ampharos"] = {chance = 800, corpse = 12835},["Shiny Feraligatr"] = {chance = 800, corpse = 12837},["Shiny Larvitar"] = {chance = 800, corpse = 12839},["Shiny Machamp"] = {chance = 800, corpse = 12841},["Shiny Meganium"] = {chance = 800, corpse = 12843},["Shiny Pupitar"] = {chance = 800, corpse = 12845},["Shiny Tauros"] = {chance = 800, corpse = 12847},["Shiny Typhlosion"] = {chance = 800, corpse = 12849},["Shiny Xatu"] = {chance = 800, corpse = 12851},["Aggron"] = {chance = 1200},}newpokedex = {["Bulbasaur"] = {gender = 875, level = 1, storage = 1001, stoCatch = 666001},["Ivysaur"] = {gender = 875, level = 40, storage = 1002, stoCatch = 666002},["Venusaur"] = {gender = 875, level = 85, storage = 1003, stoCatch = 666003},["Charmander"] = {gender = 875, level = 1, storage = 1004, stoCatch = 666004},["Charmeleon"] = {gender = 875, level = 40, storage = 1005, stoCatch = 666005},["Charizard"] = {gender = 875, level = 85, storage = 1006, stoCatch = 666006},["Squirtle"] = {gender = 875, level = 1, storage = 1007, stoCatch = 666007},["Wartortle"] = {gender = 875, level = 40, storage = 1008, stoCatch = 666008},["Blastoise"] = {gender = 875, level = 85, storage = 1009, stoCatch = 666009},["Caterpie"] = {gender = 500, level = 5, storage = 1010, stoCatch = 666010},["Metapod"] = {gender = 500, level = 15, storage = 1011, stoCatch = 666011},["Butterfree"] = {gender = 500, level = 30, storage = 1012, stoCatch = 666012},["Weedle"] = {gender = 500, level = 5, storage = 1013, stoCatch = 666013},["Kakuna"] = {gender = 500, level = 15, storage = 1014, stoCatch = 666014},["Beedrill"] = {gender = 500, level = 30, storage = 1015, stoCatch = 666015},["Pidgey"] = {gender = 500, level = 5, storage = 1016, stoCatch = 666016},["Pidgeotto"] = {gender = 500, level = 20, storage = 1017, stoCatch = 666017},["Pidgeot"] = {gender = 500, level = 75, storage = 1018, stoCatch = 666018},["Rattata"] = {gender = 500, level = 5, storage = 1019, stoCatch = 666019},["Raticate"] = {gender = 500, level = 60, storage = 1020, stoCatch = 666020},["Spearow"] = {gender = 500, level = 10, storage = 1021, stoCatch = 666021},["Fearow"] = {gender = 500, level = 50, storage = 1022, stoCatch = 666022},["Ekans"] = {gender = 500, level = 15, storage = 1023, stoCatch = 666023},["Arbok"] = {gender = 500, level = 35, storage = 1024, stoCatch = 666024},["Pikachu"] = {gender = 500, level = 40, storage = 1025, stoCatch = 666025},["Raichu"] = {gender = 500, level = 85, storage = 1026, stoCatch = 666026},["Sandshrew"] = {gender = 500, level = 20, storage = 1027, stoCatch = 666027},["Sandslash"] = {gender = 500, level = 65, storage = 1028, stoCatch = 666028},["Nidoran Female"] = {gender = 0, level = 10, storage = 1029, stoCatch = 666029},["Nidorina"] = {gender = 0, level = 30, storage = 1030, stoCatch = 666030},["Nidoqueen"] = {gender = 0, level = 65, storage = 1031, stoCatch = 666031},["Nidoran Male"] = {gender = 1000, level = 10, storage = 1032, stoCatch = 666032},["Nidorino"] = {gender = 1000, level = 30, storage = 1033, stoCatch = 666033},["Nidoking"] = {gender = 1000, level = 65, storage = 1034, stoCatch = 666034},["Clefairy"] = {gender = 250, level = 50, storage = 1035, stoCatch = 666035},["Clefable"] = {gender = 250, level = 65, storage = 1036, stoCatch = 666036},["Vulpix"] = {gender = 250, level = 15, storage = 1037, stoCatch = 666037},["Ninetales"] = {gender = 250, level = 70, storage = 1038, stoCatch = 666038},["Jigglypuff"] = {gender = 250, level = 40, storage = 1039, stoCatch = 666039},["Wigglytuff"] = {gender = 250, level = 65, storage = 1040, stoCatch = 666040},["Zubat"] = {gender = 500, level = 10, storage = 1041, stoCatch = 666041},["Golbat"] = {gender = 500, level = 35, storage = 1042, stoCatch = 666042},["Oddish"] = {gender = 500, level = 5, storage = 1043, stoCatch = 666043},["Gloom"] = {gender = 500, level = 30, storage = 1044, stoCatch = 666044},["Vileplume"] = {gender = 500, level = 50, storage = 1045, stoCatch = 666045},["Paras"] = {gender = 500, level = 5, storage = 1046, stoCatch = 666046},["Parasect"] = {gender = 500, level = 50, storage = 1047, stoCatch = 666047},["Venonat"] = {gender = 500, level = 20, storage = 1048, stoCatch = 666048},["Venomoth"] = {gender = 500, level = 50, storage = 1049, stoCatch = 666049},["Diglett"] = {gender = 500, level = 10, storage = 1050, stoCatch = 666050},["Dugtrio"] = {gender = 500, level = 35, storage = 1051, stoCatch = 666051},["Meowth"] = {gender = 500, level = 15, storage = 1052, stoCatch = 666052},["Persian"] = {gender = 500, level = 30, storage = 1053, stoCatch = 666053},["Psyduck"] = {gender = 500, level = 20, storage = 1054, stoCatch = 666054},["Golduck"] = {gender = 500, level = 55, storage = 1055, stoCatch = 666055},["Mankey"] = {gender = 500, level = 10, storage = 1056, stoCatch = 666056},["Primeape"] = {gender = 500, level = 50, storage = 1057, stoCatch = 666057},["Growlithe"] = {gender = 750, level = 25, storage = 1058, stoCatch = 666058},["Arcanine"] = {gender = 750, level = 80, storage = 1059, stoCatch = 666059},["Poliwag"] = {gender = 500, level = 5, storage = 1060, stoCatch = 666060},["Poliwhirl"] = {gender = 500, level = 25, storage = 1061, stoCatch = 666061},["Poliwrath"] = {gender = 500, level = 65, storage = 1062, stoCatch = 666062},["Abra"] = {gender = 750, level = 15, storage = 1063, stoCatch = 666063},["Kadabra"] = {gender = 750, level = 45, storage = 1064, stoCatch = 666064},["Alakazam"] = {gender = 750, level = 80, storage = 1065, stoCatch = 666065},["Machop"] = {gender = 750, level = 20, storage = 1066, stoCatch = 666066},["Machoke"] = {gender = 750, level = 45, storage = 1067, stoCatch = 666067},["Machamp"] = {gender = 750, level = 80, storage = 1068, stoCatch = 666068},["Bellsprout"] = {gender = 500, level = 5, storage = 1069, stoCatch = 666069},["Weepinbell"] = {gender = 500, level = 25, storage = 1070, stoCatch = 666070},["Victreebel"] = {gender = 500, level = 50, storage = 1071, stoCatch = 666071},["Tentacool"] = {gender = 500, level = 15, storage = 1072, stoCatch = 666072},["Tentacruel"] = {gender = 500, level = 75, storage = 1073, stoCatch = 666073},["Geodude"] = {gender = 500, level = 15, storage = 1074, stoCatch = 666074},["Graveler"] = {gender = 500, level = 40, storage = 1075, stoCatch = 666075},["Golem"] = {gender = 500, level = 70, storage = 1076, stoCatch = 666076},["Ponyta"] = {gender = 500, level = 20, storage = 1077, stoCatch = 666077},["Rapidash"] = {gender = 500, level = 50, storage = 1078, stoCatch = 666078},["Slowpoke"] = {gender = 500, level = 15, storage = 1079, stoCatch = 666079},["Slowbro"] = {gender = 500, level = 45, storage = 1080, stoCatch = 666080},["Magnemite"] = {gender = -1, level = 15, storage = 1081, stoCatch = 666081},["Magneton"] = {gender = -1, level = 75, storage = 1082, stoCatch = 666082},["Magnezone"] = {gender = -1, level = 100, storage = 1082, stoCatch = 666082},["Farfetch'd"] = {gender = 500, level = 40, storage = 1083, stoCatch = 666083},["Doduo"] = {gender = 500, level = 15, storage = 1084, stoCatch = 666084},["Dodrio"] = {gender = 500, level = 45, storage = 1085, stoCatch = 666085},["Seel"] = {gender = 500, level = 20, storage = 1086, stoCatch = 666086},["Dewgong"] = {gender = 500, level = 65, storage = 1087, stoCatch = 666087},["Grimer"] = {gender = 500, level = 15, storage = 1088, stoCatch = 666088},["Muk"] = {gender = 500, level = 70, storage = 1089, stoCatch = 666089},["Shellder"] = {gender = 500, level = 10, storage = 1090, stoCatch = 666090},["Cloyster"] = {gender = 500, level = 60, storage = 1091, stoCatch = 666091},["Gastly"] = {gender = 500, level = 20, storage = 1092, stoCatch = 666092},["Haunter"] = {gender = 500, level = 45, storage = 1093, stoCatch = 666093},["Gengar"] = {gender = 500, level = 80, storage = 1094, stoCatch = 666094},["Onix"] = {gender = 500, level = 50, storage = 1095, stoCatch = 666095},["Drowzee"] = {gender = 500, level = 25, storage = 1096, stoCatch = 666096},["Hypno"] = {gender = 500, level = 55, storage = 1097, stoCatch = 666097},["Krabby"] = {gender = 500, level = 10, storage = 1098, stoCatch = 666098},["Kingler"] = {gender = 500, level = 40, storage = 1099, stoCatch = 666099},["Voltorb"] = {gender = -1, level = 10, storage = 1100, stoCatch = 666100},["Electrode"] = {gender = -1, level = 35, storage = 1101, stoCatch = 666101},["Exeggcute"] = {gender = 500, level = 10, storage = 1102, stoCatch = 666102},["Exeggutor"] = {gender = 500, level = 80, storage = 1103, stoCatch = 666103},["Cubone"] = {gender = 500, level = 20, storage = 1104, stoCatch = 666104},["Marowak"] = {gender = 500, level = 55, storage = 1105, stoCatch = 666105},["Hitmonlee"] = {gender = 1000, level = 60, storage = 1106, stoCatch = 666106},["Hitmonchan"] = {gender = 1000, level = 60, storage = 1107, stoCatch = 666107},["Lickitung"] = {gender = 500, level = 55, storage = 1108, stoCatch = 666108},["Koffing"] = {gender = 500, level = 15, storage = 1109, stoCatch = 666109},["Weezing"] = {gender = 500, level = 35, storage = 1110, stoCatch = 666110},["Rhyhorn"] = {gender = 500, level = 30, storage = 1111, stoCatch = 666111},["Rhydon"] = {gender = 500, level = 75, storage = 1112, stoCatch = 666112},["Chansey"] = {gender = 0, level = 60, storage = 1113, stoCatch = 666113},["Tangela"] = {gender = 500, level = 50, storage = 1114, stoCatch = 666114},["Kangaskhan"] = {gender = 0, level = 80, storage = 1115, stoCatch = 666115},["Horsea"] = {gender = 500, level = 10, storage = 1116, stoCatch = 666116},["Seadra"] = {gender = 500, level = 45, storage = 1117, stoCatch = 666117},["Goldeen"] = {gender = 500, level = 10, storage = 1118, stoCatch = 666118},["Seaking"] = {gender = 500, level = 35, storage = 1119, stoCatch = 666119},["Staryu"] = {gender = -1, level = 15, storage = 1120, stoCatch = 666120},["Starmie"] = {gender = -1, level = 75, storage = 1121, stoCatch = 666121},["Mr. Mime"] = {gender = 500, level = 45, storage = 1122, stoCatch = 666122},["Scyther"] = {gender = 500, level = 80, storage = 1123, stoCatch = 666123},["Jynx"] = {gender = 0, level = 80, storage = 1124, stoCatch = 666124},["Electabuzz"] = {gender = 750, level = 80, storage = 1125, stoCatch = 666125},["Magmar"] = {gender = 750, level = 80, storage = 1126, stoCatch = 666126},["Pinsir"] = {gender = 500, level = 45, storage = 1127, stoCatch = 666127},["Tauros"] = {gender = 1000, level = 45, storage = 1128, stoCatch = 666128},["Magikarp"] = {gender = 500, level = 1, storage = 1129, stoCatch = 666129},["Gyarados"] = {gender = 500, level = 85, storage = 1130, stoCatch = 666130},["Lapras"] = {gender = 500, level = 80, storage = 1131, stoCatch = 666131},["Ditto"] = {gender = -1, level = 40, storage = 1132, stoCatch = 666132},["Eevee"] = {gender = 875, level = 20, storage = 1133, stoCatch = 666133},["Vaporeon"] = {gender = 875, level = 55, storage = 1134, stoCatch = 666134},["Jolteon"] = {gender = 875, level = 55, storage = 1135, stoCatch = 666135},["Flareon"] = {gender = 875, level = 55, storage = 1136, stoCatch = 666136},["Porygon"] = {gender = -1, level = 40, storage = 1137, stoCatch = 666137},["Omanyte"] = {gender = 875, level = 20, storage = 1138, stoCatch = 666138},["Omastar"] = {gender = 875, level = 80, storage = 1139, stoCatch = 666139},["Kabuto"] = {gender = 875, level = 20, storage = 1140, stoCatch = 666140},["Kabutops"] = {gender = 875, level = 80, storage = 1141, stoCatch = 666141},["Aerodactyl"] = {gender = 875, level = 100, storage = 1142, stoCatch = 666142},["Snorlax"] = {gender = 875, level = 85, storage = 1143, stoCatch = 666143},["Articuno"] = {gender = 500, level = 150, storage = 1144, stoCatch = 666144},["Zapdos"] = {gender = 500, level = 150, storage = 1145, stoCatch = 666145},["Moltres"] = {gender = 500, level = 150, storage = 1146, stoCatch = 666146},["Dratini"] = {gender = 500, level = 20, storage = 1147, stoCatch = 666147},["Dragonair"] = {gender = 500, level = 60, storage = 1148, stoCatch = 666148},["Dragonite"] = {gender = 500, level = 100, storage = 1149, stoCatch = 666149},["Mewtwo"] = {gender = 500, level = 150, storage = 1150, stoCatch = 666150},["Mew"] = {gender = 500, level = 150, storage = 1151, stoCatch = 666151},--\/fixed by ricardoroxx["Lucario"] = {gender = 500, level = 80, storage = 1152, stoCatch = 666152},["Riolu"] = {gender = 500, level = 50, storage = 1153, stoCatch = 666153},--/\fixed by ricardoroxx["Giant Magikarp"] = {gender = 875, level = 10, storage = 104, stoCatch = 666010},["Shiny Venusaur"] = {gender = 875, level = 100, storage = 10030, stoCatch = 666154},["Shiny Charizard"] = {gender = 875, level = 100, storage = 10060, stoCatch = 666157},["Shiny Blastoise"] = {gender = 875, level = 100, storage = 10090, stoCatch = 666160},["Shiny Butterfree"] = {gender = 500, level = 60, storage = 10120, stoCatch = 666163},["Shiny Beedrill"] = {gender = 500, level = 60, storage = 10150, stoCatch = 666166},["Shiny Pidgeot"] = {gender = 500, level = 100, storage = 10180, stoCatch = 666169},["Shiny Rattata"] = {gender = 500, level = 10, storage = 10190, stoCatch = 666170},["Shiny Raticate"] = {gender = 500, level = 60, storage = 10200, stoCatch = 666171},["Shiny Fearow"] = {gender = 500, level = 100, storage = 10220, stoCatch = 666173},["Shiny Raichu"] = {gender = 500, level = 100, storage = 10260, stoCatch = 666177},["Shiny Nidoking"] = {gender = 1000, level = 100, storage = 10340, stoCatch = 666185},["Shiny Zubat"] = {gender = 500, level = 10, storage = 10410, stoCatch = 666192},["Shiny Golbat"] = {gender = 500, level = 60, storage = 10420, stoCatch = 666193},["Shiny Oddish"] = {gender = 500, level = 10, storage = 10430, stoCatch = 666194},["Shiny Vileplume"] = {gender = 500, level = 100, storage = 10450, stoCatch = 666196},["Shiny Paras"] = {gender = 500, level = 10, storage = 10460, stoCatch = 666197},["Shiny Parasect"] = {gender = 500, level = 60, storage = 10470, stoCatch = 666198},["Shiny Venonat"] = {gender = 500, level = 30, storage = 10480, stoCatch = 666199},["Shiny Venomoth"] = {gender = 500, level = 80, storage = 10490, stoCatch = 666200},["Shiny Growlithe"] = {gender = 750, level = 35, storage = 10580, stoCatch = 666209},["Shiny Arcanine"] = {gender = 750, level = 100, storage = 10590, stoCatch = 666210},["Shiny Abra"] = {gender = 750, level = 80, storage = 10630, stoCatch = 666214},["Shiny Alakazam"] = {gender = 750, level = 100, storage = 10650, stoCatch = 666216},["Shiny Tentacool"] = {gender = 500, level = 25, storage = 10720, stoCatch = 666223},["Shiny Tentacruel"] = {gender = 500, level = 100, storage = 10730, stoCatch = 666224},["Shiny Golem"] = {gender = 500, level = 100, storage = 10760, stoCatch = 666227},["Shiny Farfetch'd"] = {gender = 500, level = 100, storage = 10830, stoCatch = 666234},["Shiny Grimer"] = {gender = 500, level = 25, storage = 10880, stoCatch = 666239},["Shiny Muk"] = {gender = 500, level = 100, storage = 10890, stoCatch = 666240},["Shiny Gengar"] = {gender = 500, level = 100, storage = 10940, stoCatch = 666245},["Shiny Onix"] = {gender = 500, level = 100, storage = 10950, stoCatch = 666246},["Shiny Hypno"] = {gender = 500, level = 100, storage = 10970, stoCatch = 666248},["Shiny Krabby"] = {gender = 500, level = 15, storage = 10980, stoCatch = 666249},["Shiny Kingler"] = {gender = 500, level = 60, storage = 10990, stoCatch = 666250},["Shiny Voltorb"] = {gender = -1, level = 25, storage = 11000, stoCatch = 666251},["Shiny Electrode"] = {gender = -1, level = 80, storage = 11010, stoCatch = 666252},["Shiny Cubone"] = {gender = 500, level = 30, storage = 11040, stoCatch = 666255},["Shiny Marowak"] = {gender = 500, level = 100, storage = 11050, stoCatch = 666256},["Shiny Hitmonlee"] = {gender = 1000, level = 100, storage = 11060, stoCatch = 666257},["Shiny Hitmonchan"] = {gender = 1000, level = 100, storage = 11070, stoCatch = 666258},["Shiny Tangela"] = {gender = 500, level = 100, storage = 11140, stoCatch = 666265},["Shiny Horsea"] = {gender = 500, level = 15, storage = 11160, stoCatch = 666267},["Shiny Seadra"] = {gender = 500, level = 60, storage = 11170, stoCatch = 666268},["Shiny Scyther"] = {gender = 500, level = 100, storage = 11230, stoCatch = 666274},["Shiny Jynx"] = {gender = 0, level = 100, storage = 11240, stoCatch = 666275},["Shiny Electabuzz"] = {gender = 750, level = 100, storage = 11250, stoCatch = 666276},["Shiny Pinsir"] = {gender = 500, level = 100, storage = 11270, stoCatch = 666278},["Shiny Magikarp"] = {gender = 500, level = 10, storage = 11290, stoCatch = 666280},["Shiny Gyarados"] = {gender = 500, level = 120, storage = 11300, stoCatch = 666281},["Shiny Vaporeon"] = {gender = 875, level = 100, storage = 11340, stoCatch = 666285},["Shiny Jolteon"] = {gender = 875, level = 100, storage = 11350, stoCatch = 666286},["Shiny Flareon"] = {gender = 875, level = 100, storage = 11360, stoCatch = 666287},["Shiny Snorlax"] = {gender = 875, level = 120, storage = 11430, stoCatch = 666294},["Shiny Dratini"] = {gender = 500, level = 25, storage = 11470, stoCatch = 666298},["Shiny Dragonair"] = {gender = 500, level = 100, storage = 11480, stoCatch = 666299},["Shiny Dragonite"] = {gender = 500, level = 120, storage = 11490, stoCatch = 666300},["Chikorita"] = {gender = 875, level = 20, storage = 1152, stoCatch = 666303},["Bayleef"] = {gender = 875, level = 40, storage = 1153, stoCatch = 666304},["Meganium"] = {gender = 875, level = 85, storage = 1154, stoCatch = 666305},["Cyndaquil"] = {gender = 875, level = 20, storage = 1155, stoCatch = 666306},["Quilava"] = {gender = 875, level = 40, storage = 1156, stoCatch = 666307},["Typhlosion"] = {gender = 875, level = 85, storage = 1157, stoCatch = 666308},["Totodile"] = {gender = 875, level = 20, storage = 1158, stoCatch = 666309},["Croconaw"] = {gender = 875, level = 40, storage = 1159, stoCatch = 666310},["Feraligatr"] = {gender = 875, level = 85, storage = 1160, stoCatch = 666311},["Sentret"] = {gender = 500, level = 15, storage = 1161, stoCatch = 666312},["Furret"] = {gender = 500, level = 35, storage = 1162, stoCatch = 666313},["Hoothoot"] = {gender = 500, level = 20, storage = 1163, stoCatch = 666314},["Noctowl"] = {gender = 500, level = 65, storage = 1164, stoCatch = 666315},["Ledyba"] = {gender = 500, level = 15, storage = 1165, stoCatch = 666316},["Ledian"] = {gender = 500, level = 35, storage = 1166, stoCatch = 666317},["Spinarak"] = {gender = 500, level = 10, storage = 1167, stoCatch = 666318},["Ariados"] = {gender = 500, level = 40, storage = 1168, stoCatch = 666319},["Crobat"] = {gender = 500, level = 80, storage = 1169, stoCatch = 666320},["Chinchou"] = {gender = 500, level = 15, storage = 1170, stoCatch = 666321},["Lanturn"] = {gender = 500, level = 50, storage = 1171, stoCatch = 666322},["Pichu"] = {gender = 500, level = 20, storage = 1172, stoCatch = 666323},["Cleffa"] = {gender = 500, level = 20, storage = 1173, stoCatch = 666324},["Igglybuff"] = {gender = 500, level = 20, storage = 1174, stoCatch = 666325},["Togepi"] = {gender = 500, level = 5, storage = 1175, stoCatch = 666326},["Togetic"] = {gender = 875, level = 60, storage = 1176, stoCatch = 666327},["Natu"] = {gender = 500, level = 25, storage = 1177, stoCatch = 666328},["Xatu"] = {gender = 500, level = 75, storage = 1178, stoCatch = 666329},["Mareep"] = {gender = 500, level = 20, storage = 1179, stoCatch = 666330},["Flaaffy"] = {gender = 500, level = 40, storage = 1180, stoCatch = 666331},["Ampharos"] = {gender = 500, level = 85, storage = 1181, stoCatch = 666332},["Bellossom"] = {gender = 500, level = 50, storage = 1182, stoCatch = 666333},["Marill"] = {gender = 500, level = 20, storage = 1183, stoCatch = 666334},["Azumarill"] = {gender = 500, level = 65, storage = 1184, stoCatch = 666335},["Sudowoodo"] = {gender = 500, level = 80, storage = 1185, stoCatch = 666336},["Politoed"] = {gender = 500, level = 65, storage = 1186, stoCatch = 666337},["Hoppip"] = {gender = 500, level = 5, storage = 1187, stoCatch = 666338},["Skiploom"] = {gender = 500, level = 25, storage = 1188, stoCatch = 666339},["Jumpluff"] = {gender = 500, level = 50, storage = 1189, stoCatch = 666340},["Aipom"] = {gender = 500, level = 40, storage = 1190, stoCatch = 666341},["Sunkern"] = {gender = 500, level = 5, storage = 1191, stoCatch = 666342},["Sunflora"] = {gender = 500, level = 30, storage = 1192, stoCatch = 666343},["Yanma"] = {gender = 500, level = 50, storage = 1193, stoCatch = 666344},["Wooper"] = {gender = 500, level = 20, storage = 1194, stoCatch = 666345},["Quagsire"] = {gender = 500, level = 65, storage = 1195, stoCatch = 666346},["Espeon"] = {gender = 875, level = 55, storage = 1196, stoCatch = 666347},["Umbreon"] = {gender = 875, level = 55, storage = 1197, stoCatch = 666348},["Murkrow"] = {gender = 500, level = 55, storage = 1198, stoCatch = 666349},["Slowking"] = {gender = 500, level = 100, storage = 1199, stoCatch = 666350},["Misdreavus"] = {gender = 500, level = 80, storage = 1200, stoCatch = 666351},["Unown"] = {gender = 500, level = 100, storage = 1201, stoCatch = 666352},["Wobbuffet"] = {gender = 500, level = 80, storage = 1202, stoCatch = 666353},["Girafarig"] = {gender = 500, level = 80, storage = 1203, stoCatch = 666354},["Pineco"] = {gender = 500, level = 15, storage = 1204, stoCatch = 666355},["Forretress"] = {gender = 500, level = 65, storage = 1205, stoCatch = 666356},["Dunsparce"] = {gender = 500, level = 30, storage = 1206, stoCatch = 666357},["Gligar"] = {gender = 500, level = 40, storage = 1207, stoCatch = 666358},["Steelix"] = {gender = 500, level = 100, storage = 1208, stoCatch = 666359},["Snubbull"] = {gender = 250, level = 30, storage = 1209, stoCatch = 666360},["Granbull"] = {gender = 250, level = 65, storage = 1210, stoCatch = 666361},["Qwilfish"] = {gender = 500, level = 55, storage = 1211, stoCatch = 666362},["Scizor"] = {gender = 500, level = 100, storage = 1212, stoCatch = 666363},["Shuckle"] = {gender = 500, level = 30, storage = 1213, stoCatch = 666364},["Heracross"] = {gender = 500, level = 80, storage = 1214, stoCatch = 666365},["Sneasel"] = {gender = 500, level = 55, storage = 1215, stoCatch = 666366},["Teddiursa"] = {gender = 500, level = 20, storage = 1216, stoCatch = 666367},["Ursaring"] = {gender = 500, level = 90, storage = 1217, stoCatch = 666368},["Slugma"] = {gender = 500, level = 15, storage = 1218, stoCatch = 666369},["Magcargo"] = {gender = 500, level = 60, storage = 1219, stoCatch = 666370},["Swinub"] = {gender = 500, level = 15, storage = 1220, stoCatch = 666371},["Piloswine"] = {gender = 500, level = 80, storage = 1221, stoCatch = 666372},["Corsola"] = {gender = 250, level = 50, storage = 1222, stoCatch = 666373},["Remoraid"] = {gender = 500, level = 10, storage = 1223, stoCatch = 666374},["Octillery"] = {gender = 500, level = 70, storage = 1224, stoCatch = 666375},["Delibird"] = {gender = 500, level = 40, storage = 1225, stoCatch = 666376},["Mantine"] = {gender = 500, level = 80, storage = 1226, stoCatch = 666377},["Skarmory"] = {gender = 500, level = 85, storage = 1227, stoCatch = 666378},["Houndour"] = {gender = 500, level = 50, storage = 1228, stoCatch = 666379},["Houndoom"] = {gender = 500, level = 80, storage = 1229, stoCatch = 666380},["Kingdra"] = {gender = 500, level = 90, storage = 1230, stoCatch = 666381},["Phanpy"] = {gender = 500, level = 20, storage = 1231, stoCatch = 666382},["Donphan"] = {gender = 500, level = 80, storage = 1232, stoCatch = 666383},["Porygon2"] = {gender = -1, level = 75, storage = 1233, stoCatch = 666384},["Stantler"] = {gender = 500, level = 55, storage = 1234, stoCatch = 666385},["Smeargle"] = {gender = 500, level = 80, storage = 1235, stoCatch = 666386},["Tyrogue"] = {gender = 500, level = 30, storage = 1236, stoCatch = 666387},["Hitmontop"] = {gender = 1000, level = 60, storage = 1237, stoCatch = 666388},["Smoochum"] = {gender = 500, level = 30, storage = 1238, stoCatch = 666389},["Elekid"] = {gender = 500, level = 30, storage = 1239, stoCatch = 666390},["Magby"] = {gender = 500, level = 30, storage = 1240, stoCatch = 666391},["Miltank"] = {gender = 0, level = 80, storage = 1241, stoCatch = 666392},["Blissey"] = {gender = 0, level = 100, storage = 1242, stoCatch = 666393},["Raikou"] = {gender = 500, level = 150, storage = 1243, stoCatch = 666394},["Entei"] = {gender = 500, level = 150, storage = 1244, stoCatch = 666395},["Suicune"] = {gender = 500, level = 150, storage = 1245, stoCatch = 666396},["Larvitar"] = {gender = 500, level = 20, storage = 1246, stoCatch = 666397},["Pupitar"] = {gender = 500, level = 65, storage = 1247, stoCatch = 666398},["Tyranitar"] = {gender = 500, level = 100, storage = 1248, stoCatch = 666399},["Lugia"] = {gender = 500, level = 150, storage = 1249, stoCatch = 666400},["Ho-oh"] = {gender = 500, level = 150, storage = 1250, stoCatch = 666401},["Celebi"] = {gender = 500, level = 150, storage = 1251, stoCatch = 666402},["Shiny Hitmontop"] = {gender = 1000, level = 100, storage = 11520, stoCatch = 666403},["Shiny Mr. Mime"] = {gender = 500, level = 150, storage = 11521, stoCatch = 666404},["Shiny Rhydon"] = {gender = 500, level = 150, storage = 11522, stoCatch = 666405},["Shiny Ninetales"] = {gender = 250, level = 150, storage = 11523, stoCatch = 666406},["Shiny Ariados"] = {gender = 500, level = 150, storage = 11524, stoCatch = 666407},["Shiny Magneton"] = {gender = -1, level = 150, storage = 11525, stoCatch = 666408},["Shiny Espeon"] = {gender = 875, level = 150, storage = 11526, stoCatch = 666409},["Shiny Politoed"] = {gender = 500, level = 150, storage = 11527, stoCatch = 666410},["Shiny Umbreon"] = {gender = 875, level = 150, storage = 11528, stoCatch = 666411},["Shiny Stantler"] = {gender = 500, level = 150, storage = 11529, stoCatch = 666412},["Shiny Dodrio"] = {gender = 500, level = 150, storage = 11530, stoCatch = 666413},["Shiny Weezing"] = {gender = 875, level = 100, storage = 11540, stoCatch = 666006},["Shiny Sandslash"] = {gender = 875, level = 100, storage = 11541, stoCatch = 666007},["Shiny Crobat"] = {gender = 875, level = 100, storage = 11542, stoCatch = 666008},["Shiny Magmar"] = {gender = 875, level = 100, storage = 11543, stoCatch = 666009},["Shiny Giant Magikarp"] = {gender = 875, level = 100, storage = 11545, stoCatch = 666011},["Shiny Ampharos"] = {gender = 875, level = 100, storage = 11531, stoCatch = 666012},["Shiny Feraligatr"] = {gender = 875, level = 100, storage = 11532, stoCatch = 666013},["Shiny Machamp"] = {gender = 875, level = 100, storage = 11534, stoCatch = 666015},["Shiny Meganium"] = {gender = 875, level = 100, storage = 11535, stoCatch = 666016},["Shiny Larvitar"] = {gender = 875, level = 60, storage = 11533, stoCatch = 666014},["Shiny Pupitar"] = {gender = 875, level = 100, storage = 11536, stoCatch = 666017},["Shiny Tauros"] = {gender = 875, level = 100, storage = 11537, stoCatch = 666018},["Shiny Typhlosion"] = {gender = 875, level = 100, storage = 11538, stoCatch = 666019},["Shiny Xatu"] = {gender = 875, level = 100, storage = 11539, stoCatch = 666020},["Shiny Magcargo"] = {gender = 875, level = 100, storage = 11540, stoCatch = 5000},["Shiny Lanturn"] = {gender = 875, level = 100, storage = 11541, stoCatch = 5001},["Shiny Magmortar"] = {gender = 875, level = 150, storage = 11542, stoCatch = 5003},["Shiny Electivire"] = {gender = 875, level = 150, storage = 11543, stoCatch = 5004},["Magmortar"] = {gender = 875, level = 100, storage = 11542, stoCatch = 5005},["Electivire"] = {gender = 875, level = 100, storage = 11543, stoCatch = 5006},["Shiny Mantine"] = {gender = 500, level = 150, storage = 1226, stoCatch = 5007},["Salamence"] = {gender = 500, level = 120, storage = 1149, stoCatch = 5008},["Shiny Salamence"] = {gender = 500, level = 150, storage = 1149, stoCatch = 5009},["Milotic"] = {gender = 500, level = 150, storage = 1130, stoCatch = 5010},["Tropius"] = {gender = 500, level = 90, storage = 16001, stoCatch = 5011},["Absol"] = {gender = 500, level = 130, storage = 16002, stoCatch = 5012},["Wailord"] = {gender = 500, level = 150, storage = 16003, stoCatch = 5013},["Beldum"] = {gender = 500, level = 25, storage = 16004, stoCatch = 5014},["Metang"] = {gender = 500, level = 80, storage = 16005, stoCatch = 5015},["Metagross"] = {gender = 500, level = 150, storage = 16006, stoCatch = 5016},["Aggron"] = {gender = 500, level = 150, storage = 16007, stoCatch = 5017},["Blaziken"] = {gender = 500, level = 150, storage = 16000, stoCatch = 5018},["Shiny Ditto"] = {gender = -1, level = 40, storage = 1132, stoCatch = 5019},}oldpokedex = {{"Bulbasaur", 20, 1001},{"Ivysaur", 40, 1002},{"Venusaur", 85, 1003},{"Charmander", 20, 1004},{"Charmeleon", 40, 1005},{"Charizard", 85, 1006},{"Squirtle", 20, 1007},{"Wartortle", 40, 1008},{"Blastoise", 85, 1009},{"Caterpie", 5, 1010},{"Metapod", 15, 1011},{"Butterfree", 30, 1012},{"Weedle", 5, 1013},{"Kakuna", 15, 1014},{"Beedrill", 30, 1015},{"Pidgey", 5, 1016},{"Pidgeotto", 20, 1017},{"Pidgeot", 80, 1018},{"Rattata", 5, 1019},{"Raticate", 30, 1020},{"Spearow", 5, 1021},{"Fearow", 50, 1022},{"Ekans", 15, 1023},{"Arbok", 35, 1024},{"Pikachu", 40, 1025},{"Raichu", 80, 1026},{"Sandshrew", 20, 1027},{"Sandslash", 65, 1028},{"Nidoran Female", 10, 1029},{"Nidorina", 25, 1030},{"Nidoqueen", 65, 1031},{"Nidoran Male", 10, 1032},{"Nidorino", 25, 1033},{"Nidoking", 65, 1034},{"Clefairy", 40, 1035},{"Clefable", 65, 1036},{"Vulpix", 15, 1037},{"Ninetales", 65, 1038},{"Jigglypuff", 40, 1039},{"Wigglytuff", 65, 1040},{"Zubat", 5, 1041},{"Golbat", 30, 1042},{"Oddish", 5, 1043},{"Gloom", 30, 1044},{"Vileplume", 50, 1045},{"Paras", 5, 1046},{"Parasect", 50, 1047},{"Venonat", 20, 1048},{"Venomoth", 50, 1049},{"Diglett", 5, 1050},{"Dugtrio", 35, 1051},{"Meowth", 10, 1052},{"Persian", 65, 1053},{"Psyduck", 20, 1054},{"Golduck", 65, 1055},{"Mankey", 10, 1056},{"Primeape", 65, 1057},{"Growlithe", 20, 1058},{"Arcanine", 90, 1059},{"Poliwag", 5, 1060},{"Poliwhirl", 20, 1061},{"Poliwrath", 65, 1062},{"Abra", 10, 1063},{"Kadabra", 40, 1064},{"Alakazam", 80, 1065},{"Machop", 15, 1066},{"Machoke", 50, 1067},{"Machamp", 80, 1068},{"Bellsprout", 5, 1069},{"Weepinbell", 20, 1070},{"Victreebel", 50, 1071},{"Tentacool", 10, 1072},{"Tentacruel", 80, 1073},{"Geodude", 15, 1074},{"Graveler", 40, 1075},{"Golem", 70, 1076},{"Ponyta", 15, 1077},{"Rapidash", 65, 1078},{"Slowpoke", 10, 1079},{"Slowbro", 45, 1080},{"Magnemite", 15, 1081},{"Magneton", 75, 1082},{"Magnezone", 100, 1082},{"Farfetch'd", 45, 1083},{"Doduo", 10, 1084},{"Dodrio", 40, 1085},{"Seel", 20, 1086},{"Dewgong", 65, 1087},{"Grimer", 10, 1088},{"Muk", 80, 1089},{"Shellder", 5, 1090},{"Cloyster", 65, 1091},{"Gastly", 20, 1092},{"Haunter", 40, 1093},{"Gengar", 80, 1094},{"Onix", 50, 1095},{"Drowzee", 15, 1096},{"Hypno", 50, 1097},{"Krabby", 5, 1098},{"Kingler", 65, 1099},{"Voltorb", 15, 1100},{"Electrode", 35, 1101},{"Exeggcute", 5, 1102},{"Exeggutor", 80, 1103},{"Cubone", 15, 1104},{"Marowak", 45, 1105},{"Hitmonlee", 60, 1106},{"Hitmonchan", 60, 1107},{"Lickitung", 55, 1108},{"Koffing", 15, 1109},{"Weezing", 55, 1110},{"Rhyhorn", 25, 1111},{"Rhydon", 75, 1112},{"Chansey", 50, 1113},{"Tangela", 55, 1114},{"Kangaskhan", 80, 1115},{"Horsea", 5, 1116},{"Seadra", 45, 1117},{"Goldeen", 10, 1118},{"Seaking", 30, 1119},{"Staryu", 15, 1120},{"Starmie", 75, 1121},{"Mr. Mime", 65, 1122},{"Scyther", 80, 1123},{"Jynx", 80, 1124},{"Electabuzz", 80, 1125},{"Magmar", 80, 1126},{"Pinsir", 55, 1127},{"Tauros", 50, 1128},{"Magikarp", 1, 1129},{"Gyarados", 90, 1130},{"Lapras", 80, 1131},{"Ditto", 1, 1132},{"Eevee", 5, 1133},{"Vaporeon", 55, 1134},{"Jolteon", 55, 1135},{"Flareon", 55, 1136},{"Porygon", 45, 1137},{"Omanyte", 20, 1138},{"Omastar", 80, 1139},{"Kabuto", 20, 1140},{"Kabutops", 80, 1141},{"Aerodactyl", 100, 1142},{"Snorlax", 90, 1143},{"Articuno", 100, 1144},{"Zapdos", 100, 1145},{"Moltres", 100, 1146},{"Dratini", 20, 1147},{"Dragonair", 65, 1148},{"Dragonite", 100, 1149},{"Mewtwo", 100, 1150},{"Mew", 100, 1151},--\/ fixed by Ricardoroxx{"Lucario", 80, 1152},{"Riolu", 50, 1153},--/\ fixed by Ricardoroxx-------------------old Shiny---------{"Shiny Venusaur", 100, 10030},{"Shiny Charizard", 100, 10060},{"Shiny Blastoise", 100, 10090},{"Shiny Butterfree", 60, 10120},{"Shiny Beedrill", 60, 10150},{"Shiny Pidgeot", 60, 10180},{"Shiny Rattata", 10, 10190},{"Shiny Raticate", 60, 10200},{"Shiny Fearow", 120, 10220},{"Shiny Raichu", 100, 10260},{"Shiny Nidoking", 120, 10340},{"Shiny Zubat", 15, 10410},{"Shiny Golbat", 60, 10420},{"Shiny Oddish", 20, 10430},{"Shiny Vileplume", 120, 10450},{"Shiny Paras", 15, 10460},{"Shiny Parasect", 60, 10470},{"Shiny Venonat", 20, 10480},{"Shiny Venomoth", 100, 10490},{"Shiny Growlithe", 30, 10580},{"Shiny Arcanine", 100, 10590},{"Shiny Abra", 120, 10630},{"Shiny Alakazam", 100, 10650},{"Shiny Tentacool", 20, 10720},{"Shiny Tentacruel", 100, 10730},{"Shiny Golem", 120, 10760},{"Shiny Farfetch'd", 100, 10830},{"Shiny Grimer", 20, 10880},{"Shiny Muk", 100, 10890},{"Shiny Gengar", 100, 10940},{"Shiny Onix", 100, 10950},{"Shiny Hypno", 120, 10970},{"Shiny Krabby", 20, 10980},{"Shiny Kingler", 60, 10990},{"Shiny Voltorb", 20, 11000},{"Shiny Electrode", 80, 11010},{"Shiny Cubone", 20, 11040},{"Shiny Marowak", 100, 11050},{"Shiny Hitmonlee", 120, 11060},{"Shiny Hitmonchan", 120, 11070},{"Shiny Tangela", 100, 11140},{"Shiny Horsea", 20, 11160},{"Shiny Seadra", 60, 11170},{"Shiny Scyther", 100, 11230},{"Shiny Jynx", 100, 11240},{"Shiny Electabuzz", 100, 11250},{"Shiny Pinsir", 100, 11270},{"Shiny Magikarp", 20, 11290},{"Shiny Gyarados", 120, 11300},{"Shiny Vaporeon", 120, 11340},{"Shiny Jolteon", 120, 11350},{"Shiny Flareon", 120, 11360},{"Shiny Snorlax", 150, 11430},{"Shiny Dratini", 20, 11470},{"Shiny Dragonair", 100, 11480},{"Shiny Dragonite", 150, 11490},{"Milotic", 140, 11300},---------------old johto-----------{"Chikorita", 20, 1152},{"Bayleef", 40, 1153},{"Meganium", 85, 1154},{"Cyndaquil", 20, 1155},{"Quilava", 40, 1156},{"Typhlosion", 85, 1157},{"Totodile", 20, 1158},{"Croconaw", 40, 1159},{"Feraligatr", 85, 1160},{"Sentret", 15, 1161},{"Furret", 30, 1162},{"Hoothoot", 15, 1163},{"Noctowl", 65, 1164},{"Ledyba", 10, 1165},{"Ledian", 35, 1166},{"Spinarak", 15, 1167},{"Ariados", 40, 1168},{"Crobat", 80, 1169},{"Chinchou", 15, 1170},{"Lanturn", 75, 1171},{"Pichu", 15, 1172},{"Cleffa", 10, 1173},{"Igglybuff", 10, 1174},{"Togepi", 10, 1175},{"Togetic", 65, 1176},{"Natu", 20, 1177},{"Xatu", 75, 1178},{"Mareep", 20, 1179},{"Flaaffy", 40, 1180},{"Ampharos", 80, 1181},{"Bellossom", 50, 1182},{"Marill", 20, 1183},{"Azumarill", 65, 1184},{"Sudowoodo", 80, 1185},{"Politoed", 65, 1186},{"Hoppip", 5, 1187},{"Skiploom", 20, 1188},{"Jumpluff", 50, 1189},{"Aipom", 35, 1190},{"Sunkern", 5, 1191},{"Sunflora", 30, 1192},{"Yanma", 50, 1193},{"Wooper", 20, 1194},{"Quagsire", 65, 1195},{"Espeon", 55, 1196},{"Umbreon", 55, 1197},{"Murkrow", 55, 1198},{"Slowking", 100, 1199},{"Misdreavus", 90, 1200},{"Unown", 20, 1201},{"Wobbuffet", 90, 1202},{"Girafarig", 80, 1203},{"Pineco", 15, 1204},{"Forretress", 65, 1205},{"Dunsparce", 30, 1206},{"Gligar", 35, 1207},{"Steelix", 100, 1208},{"Snubbull", 20, 1209},{"Granbull", 65, 1210},{"Qwilfish", 55, 1211},{"Scizor", 100, 1212},{"Shuckle", 30, 1213},{"Heracross", 80, 1214},{"Sneasel", 55, 1215},{"Teddiursa", 20, 1216},{"Ursaring", 90, 1217},{"Slugma", 15, 1218},{"Magcargo", 75, 1219},{"Swinub", 15, 1220},{"Piloswine", 80, 1221},{"Corsola", 55, 1222},{"Remoraid", 10, 1223},{"Octillery", 75, 1224},{"Delibird", 50, 1225},{"Mantine", 80, 1226},{"Skarmory", 80, 1227},{"Houndour", 20, 1228},{"Houndoom", 80, 1229},{"Kingdra", 90, 1230},{"Phanpy", 25, 1231},{"Donphan", 80, 1232},{"Porygon2", 75, 1233},{"Stantler", 65, 1234},{"Smeargle", 60, 1235},{"Tyrogue", 20, 1236},{"Hitmontop", 60, 1237},{"Smoochum", 20, 1238},{"Elekid", 20, 1239},{"Magby", 20, 1240},{"Miltank", 80, 1241},{"Blissey", 90, 1242},{"Raikou", 100, 1243},{"Entei", 100, 1244},{"Suicune", 100, 1245},{"Larvitar", 30, 1246},{"Pupitar", 50, 1247},{"Tyranitar", 100, 1248},{"Lugia", 100, 1249},{"Ho-oh", 100, 1250},{"Celebi", 100, 1251},{"Shiny Hitmontop", 120, 11520},{"Shiny Mr. Mime", 100, 11521}, --alterado v1.9{"Shiny Ninetales", 150, 11522},{"Shiny Ariados", 150, 11523},{"Shiny Magneton", 150, 11524},{"Shiny Espeon", 150, 11525},{"Shiny Politoed", 150, 11526},{"Shiny Umbreon", 150, 11527},{"Shiny Stantler", 150, 11528},{"Shiny Dodrio", 150, 11529},{"Shiny Rhydon", 150, 11530},{"Shiny Weezing", 100, 11540},{"Shiny Sandslash", 100, 11541},{"Shiny Crobat", 100, 11542},{"Shiny Magmar", 100, 11543},{"Shiny Magmortar", 150, 11543},{"Shiny Electivire", 150, 11543},{"Magmortar", 100, 11543},{"Electivire", 100, 11543},{"Giant Magikarp", 20, 11544},{"Shiny Giant Magikarp", 60, 11545},{"Shiny Ampharos", 100, 11531},{"Shiny Feraligatr", 100, 11532},{"Shiny Larvitar", 60, 11533},{"Shiny Machamp", 100, 11534},{"Shiny Meganium", 100, 11535},{"Shiny Pupitar", 100, 11536},{"Shiny Tauros", 100, 11537},{"Shiny Typhlosion", 100, 11538},{"Shiny Xatu", 100, 11539},{"Shiny Magcargo", 100, 11540},{"Shiny Lanturn", 100, 11541},{"Shiny Mantine", 150, 1226},{"Salamence", 150, 11490},{"Shiny Salamence", 150, 11490},{"Tropius", 90, 1103},{"Absol", 130, 1103},{"Wailord", 150, 1103},{"Beldum", 25, 1103},{"Metang", 80, 1103},{"Metagross", 150, 1103},{"Shiny Politoed", 100, 11860},}poevo = {["Bulbasaur"] = {level = 40, evolution = "Ivysaur", count = 1, stoneid = 11441, stoneid2 = 0},["Ivysaur"] = {level = 85, evolution = "Venusaur", count = 1, stoneid = 11441, stoneid2 = 11443},["Charmander"] = {level = 40, evolution = "Charmeleon", count = 1, stoneid = 11447, stoneid2 = 0},["Charmeleon"] = {level = 85, evolution = "Charizard", count = 2, stoneid = 11447, stoneid2 = 0},["Squirtle"] = {level = 40, evolution = "Wartortle", count = 1, stoneid = 11442, stoneid2 = 0},["Wartortle"] = {level = 85, evolution = "Blastoise", count = 2, stoneid = 11442, stoneid2 = 0},["Caterpie"] = {level = 15, evolution = "Metapod", count = 1, stoneid = 11448, stoneid2 = 0},["Metapod"] = {level = 30, evolution = "Butterfree", count = 2, stoneid = 11448, stoneid2 = 0},["Weedle"] = {level = 15, evolution = "Kakuna", count = 1, stoneid = 11448, stoneid2 = 0},["Kakuna"] = {level = 30, evolution = "Beedrill", count = 2, stoneid = 11448, stoneid2 = 0},["Pidgey"] = {level = 20, evolution = "Pidgeotto", count = 1, stoneid = 17145, stoneid2 = 0},["Pidgeotto"] = {level = 75, evolution = "Pidgeot", count = 2, stoneid = 17145, stoneid2 = 0},["Rattata"] = {level = 25, evolution = "Raticate", count = 1, stoneid = 17145, stoneid2 = 0},["Spearow"] = {level = 50, evolution = "Fearow", count = 1, stoneid = 17145, stoneid2 = 0},["Ekans"] = {level = 35, evolution = "Arbok", count = 1, stoneid = 11443, stoneid2 = 0},["Pikachu"] = {level = 85, evolution = "Raichu", count = 1, stoneid = 11444, stoneid2 = 0},["Sandshrew"] = {level = 65, evolution = "Sandslash", count = 2, stoneid = 11451, stoneid2 = 0},["Nidoran Female"] = {level = 30, evolution = "Nidorina", count = 1, stoneid = 11443, stoneid2 = 0},["Nidorina"] = {level = 65, evolution = "Nidoqueen", count = 1, stoneid = 11443, stoneid2 = 11451},["Nidoran Male"] = {level = 30, evolution = "Nidorino", count = 1, stoneid = 11443, stoneid2 = 0},["Nidorino"] = {level = 65, evolution = "Nidoking", count = 2, stoneid = 11443, stoneid2 = 0},["Clefairy"] = {level = 65, evolution = "Clefable", count = 1, stoneid = 11453, stoneid2 = 0},["Vulpix"] = {level = 65, evolution = "Ninetales", count = 2, stoneid = 11447, stoneid2 = 0},["Jigglypuff"] = {level = 65, evolution = "Wigglytuff", count = 1, stoneid = 11453, stoneid2 = 0},["Zubat"] = {level = 35, evolution = "Golbat", count = 1, stoneid = 11443, stoneid2 = 0},["Golbat"] = {level = 80, evolution = "Crobat", count = 1, stoneid = 11443, stoneid2 = 11449}, --alterado v1.9["Oddish"] = {level = 30, evolution = "Gloom", count = 1, stoneid = 11441, stoneid2 = 0},["Paras"] = {level = 50, evolution = "Parasect", count = 1, stoneid = 11448, stoneid2 = 0},["Venonat"] = {level = 50, evolution = "Venomoth", count = 1, stoneid = 11448, stoneid2 = 11443},["Diglett"] = {level = 35, evolution = "Dugtrio", count = 1, stoneid = 11451, stoneid2 = 0},["Meowth"] = {level = 50, evolution = "Persian", count = 1, stoneid = 11453, stoneid2 = 0},["Psyduck"] = {level = 70, evolution = "Golduck", count = 1, stoneid = 11442, stoneid2 = 11452},["Mankey"] = {level = 50, evolution = "Primeape", count = 1, stoneid = 11446, stoneid2 = 0},["Growlithe"] = {level = 90, evolution = "Arcanine", count = 1, stoneid = 11447, stoneid2 = 11449},["Poliwag"] = {level = 25, evolution = "Poliwhirl", count = 1, stoneid = 11442, stoneid2 = 0},["Abra"] = {level = 40, evolution = "Kadabra", count = 1, stoneid = 11452, stoneid2 = 0},["Kadabra"] = {level = 80, evolution = "Alakazam", count = 2, stoneid = 11452, stoneid2 = 0},["Machop"] = {level = 45, evolution = "Machoke", count = 1, stoneid = 11446, stoneid2 = 0},["Machoke"] = {level = 80, evolution = "Machamp", count = 2, stoneid = 11446, stoneid2 = 0},["Bellsprout"] = {level = 25, evolution = "Weepinbell", count = 1, stoneid = 11441, stoneid2 = 0},["Weepinbell"] = {level = 50, evolution = "Victreebel", count = 2, stoneid = 11441, stoneid2 = 0},["Tentacool"] = {level = 80, evolution = "Tentacruel", count = 1, stoneid = 11442, stoneid2 = 11443},["Geodude"] = {level = 40, evolution = "Graveler", count = 1, stoneid = 11445, stoneid2 = 0},["Graveler"] = {level = 70, evolution = "Golem", count = 2, stoneid = 11445, stoneid2 = 0},["Ponyta"] = {level = 65, evolution = "Rapidash", count = 1, stoneid = 11447, stoneid2 = 0},["Magnemite"] = {level = 75, evolution = "Magneton", count = 1, stoneid = 11444, stoneid2 = 0},["Doduo"] = {level = 45, evolution = "Dodrio", count = 1, stoneid = 17145, stoneid2 = 0},["Seel"] = {level = 65, evolution = "Dewgong", count = 1, stoneid = 11442, stoneid2 = 11454},["Grimer"] = {level = 80, evolution = "Muk", count = 1, stoneid = 11443, stoneid2 = 0},["Shellder"] = {level = 60, evolution = "Cloyster", count = 2, stoneid = 11454, stoneid2 = 0},["Gastly"] = {level = 45, evolution = "Haunter", count = 1, stoneid = 11450, stoneid2 = 0},["Haunter"] = {level = 80, evolution = "Gengar", count = 2, stoneid = 11450, stoneid2 = 0},["Drowzee"] = {level = 55, evolution = "Hypno", count = 2, stoneid = 11452, stoneid2 = 0},["Krabby"] = {level = 40, evolution = "Kingler", count = 1, stoneid = 11442, stoneid2 = 0},["Voltorb"] = {level = 35, evolution = "Electrode", count = 1, stoneid = 11444, stoneid2 = 0},["Exeggcute"] = {level = 80, evolution = "Exeggutor", count = 1, stoneid = 11441, stoneid2 = 11452},["Cubone"] = {level = 55, evolution = "Marowak", count = 2, stoneid = 11451, stoneid2 = 0},["Koffing"] = {level = 35, evolution = "Weezing", count = 1, stoneid = 11443, stoneid2 = 0},["Rhyhorn"] = {level = 75, evolution = "Rhydon", count = 1, stoneid = 11445, stoneid2 = 11451},["Horsea"] = {level = 45, evolution = "Seadra", count = 1, stoneid = 11442, stoneid2 = 0},["Goldeen"] = {level = 35, evolution = "Seaking", count = 1, stoneid = 11442, stoneid2 = 0},["Staryu"] = {level = 75, evolution = "Starmie", count = 1, stoneid = 11442, stoneid2 = 0},["Magikarp"] = {level = 90, evolution = "Gyarados", count = 1, stoneid = 11442, stoneid2 = 11449},["Omanyte"] = {level = 80, evolution = "Omastar", count = 1, stoneid = 11442, stoneid2 = 11449},["Kabuto"] = {level = 80, evolution = "Kabutops", count = 1, stoneid = 11445, stoneid2 = 11449},["Dratini"] = {level = 60, evolution = "Dragonair", count = 1, stoneid = 11449, stoneid2 = 0},["Dragonair"] = {level = 100, evolution = "Dragonite", count = 1, stoneid = 11449, stoneid2 = 12244},-----shiny evo------["Shiny Rattata"] = {level = 60, evolution = "Shiny Raticate", count = 1, stoneid = 11453, stoneid2 = 0},["Shiny Zubat"] = {level = 60, evolution = "Shiny Golbat", count = 1, stoneid = 11443, stoneid2 = 0},["Shiny Golbat"] = {level = 100, evolution = "Shiny Crobat", count = 1, stoneid = 11443, stoneid2 = 0},["Shiny Paras"] = {level = 60, evolution = "Shiny Parasect", count = 1, stoneid = 11448, stoneid2 = 0},["Shiny Venonat"] = {level = 100, evolution = "Shiny Venomoth", count = 1, stoneid = 11448, stoneid2 = 11443},["Shiny Growlithe"] = {level = 100, evolution = "Shiny Arcanine", count = 2, stoneid = 11447, stoneid2 = 0},["Shiny Tentacool"] = {level = 100, evolution = "Shiny Tentacruel", count = 1, stoneid = 11442, stoneid2 = 11443},["Shiny Grimer"] = {level = 100, evolution = "Shiny Muk", count = 1, stoneid = 11443, stoneid2 = 0},["Shiny Krabby"] = {level = 60, evolution = "Shiny Kingler", count = 1, stoneid = 11442, stoneid2 = 0},["Shiny Voltorb"] = {level = 80, evolution = "Shiny Electrode", count = 1, stoneid = 11444, stoneid2 = 0},["Shiny Cubone"] = {level = 100, evolution = "Shiny Marowak", count = 2, stoneid = 11451, stoneid2 = 0},["Shiny Horsea"] = {level = 60, evolution = "Shiny Seadra", count = 1, stoneid = 11442, stoneid2 = 0},["Shiny Dratini"] = {level = 100, evolution = "Shiny Dragonair", count = 1, stoneid = 11449, stoneid2 = 0},["Shiny Larvitar"] = {level = 100, evolution = "Shiny Pupitar", count = 1, stoneid = ground, stoneid2 = 0},-----johto evo------["Chikorita"] = {level = 40, evolution = "Bayleef", count = 1, stoneid = 11441, stoneid2 = 0},["Bayleef"] = {level = 85, evolution = "Meganium", count = 2, stoneid = 11441, stoneid2 = 0},["Cyndaquil"] = {level = 40, evolution = "Quilava", count = 1, stoneid = 11447, stoneid2 = 0},["Quilava"] = {level = 85, evolution = "Typhlosion", count = 2, stoneid = 11447, stoneid2 = 0},["Totodile"] = {level = 40, evolution = "Croconaw", count = 1, stoneid = 11442, stoneid2 = 0}, --alterado v1.7["Croconaw"] = {level = 85, evolution = "Feraligatr", count = 2, stoneid = 11442, stoneid2 = 0}, --alterado v1.7["Sentret"] = {level = 35, evolution = "Furret", count = 1, stoneid = 11453, stoneid2 = 0},["Hoothoot"] = {level = 65, evolution = "Noctowl", count = 1, stoneid = 17145, stoneid2 = 0},["Ledyba"] = {level = 35, evolution = "Ledian", count = 2, stoneid = 11448, stoneid2 = 0},["Spinarak"] = {level = 40, evolution = "Ariados", count = 1, stoneid = 11448, stoneid2 = 11443},["Chinchou"] = {level = 50, evolution = "Lanturn", count = 1, stoneid = 11442, stoneid2 = 11444},["Pichu"] = {level = 40, evolution = "Pikachu", count = 1, stoneid = 11444, stoneid2 = 0}, --alterado v1.9["Cleffa"] = {level = 40, evolution = "Clefairy", count = 1, stoneid = 11453, stoneid2 = 0}, --alterado v1.9["Igglybuff"] = {level = 40, evolution = "Jigglypuff", count = 1, stoneid = 11453, stoneid2 = 0}, --alterado v1.9["Togepi"] = {level = 65, evolution = "Togetic", count = 2, stoneid = 11453, stoneid2 = 0}, --alterado v1.9["Natu"] = {level = 75, evolution = "Xatu", count = 1, stoneid = 11452, stoneid2 = 0},["Mareep"] = {level = 45, evolution = "Flaaffy", count = 1, stoneid = 11444, stoneid2 = 0},["Flaaffy"] = {level = 80, evolution = "Ampharos", count = 2, stoneid = 11444, stoneid2 = 0},["Marill"] = {level = 65, evolution = "Azumarill", count = 1, stoneid = 11442, stoneid2 = 0},["Hoppip"] = {level = 25, evolution = "Skiploom", count = 1, stoneid = 11441, stoneid2 = 0},["Skiploom"] = {level = 50, evolution = "Jumpluff", count = 1, stoneid = 11441, stoneid2 = 0},["Sunkern"] = {level = 30, evolution = "Sunflora", count = 1, stoneid = 11441, stoneid2 = 0},["Wooper"] = {level = 65, evolution = "Quagsire", count = 1, stoneid = 11442, stoneid2 = 11451},["Pineco"] = {level = 65, evolution = "Forretress", count = 2, stoneid = 11448, stoneid2 = 0},["Snubbull"] = {level = 65, evolution = "Granbull", count = 1, stoneid = 11453, stoneid2 = 11451},["Teddiursa"] = {level = 90, evolution = "Ursaring", count = 1, stoneid = 11453, stoneid2 = 12244},["Slugma"] = {level = 80, evolution = "Magcargo", count = 1, stoneid = 11445, stoneid2 = 11447},["Swinub"] = {level = 80, evolution = "Piloswine", count = 1, stoneid = 11451, stoneid2 = 11454},["Remoraid"] = {level = 75, evolution = "Octillery", count = 1, stoneid = 11442, stoneid2 = 0},["Houndour"] = {level = 80, evolution = "Houndoom", count = 1, stoneid = 11450, stoneid2 = 11447},["Phanpy"] = {level = 80, evolution = "Donphan", count = 2, stoneid = 11451, stoneid2 = 0},["Smoochum"] = {level = 80, evolution = "Jynx", count = 1, stoneid = 11454, stoneid2 = 12244},["Elekid"] = {level = 80, evolution = "Electabuzz", count = 1, stoneid = 11444, stoneid2 = 12244},["Magby"] = {level = 80, evolution = "Magmar", count = 1, stoneid = 11447, stoneid2 = 12244},["Larvitar"] = {level = 65, evolution = "Pupitar", count = 1, stoneid = ground, stoneid2 = 0},["Pupitar"] = {level = 100, evolution = "Tyranitar", count = 1, stoneid = 12244, stoneid2 = 11445},["Porygon"] = {level = 75, evolution = "Porygon2", count = 2, stoneid = 12244, stoneid2 = 0},["Seadra"] = {level = 90, evolution = "Kingdra", count = 1, stoneid = 11449, stoneid2 = 12244},["Chansey"] = {level = 100, evolution = "Blissey", count = 2, stoneid = 12244, stoneid2 = 0},["Scyther"] = {level = 100, evolution = "Scizor", count = 1, stoneid = 11448, stoneid2 = 12232},["Onix"] = {level = 100, evolution = "Steelix", count = 1, stoneid = 11445, stoneid2 = 12232},["Beldum"] = {level = 80, evolution = "Metang", count = 1, stoneid = 11452, stoneid2 = 12232},["Slowpoke"] = {level = 12, evolution = "Slowbro", count = 1, stoneid = 11452, stoneid2 = 0},["Slowbro"] = {level = 12, evolution = "Slowking", count = 1, stoneid = 11452, stoneid2 = 12244},--["Electabuzz"] = {level = 100, evolution = "Electivire", count = 1, stoneid = 11444, stoneid2 = 12244},--["Magmar"] = {level = 100, evolution = "Magmortar", count = 1, stoneid = 11447, stoneid2 = 12244},}spcevo = {["Poliwhirl"] = {[1] = {level = 65, evolution = "Poliwrath", count = 1, stoneid = 11442, stoneid2 = 11446}, [2] = {level = 65, evolution = "Politoed", count = 1, stoneid = 11442, stoneid2 = 11451}},["Gloom"] = {[1] = {level = 50, evolution = "Vileplume", count = 1, stoneid = 11441, stoneid2 = 11441}, [2] = {level = 50, evolution = "Bellossom", count = 1, stoneid = 11441, stoneid2 = 11443}},}leaf = 11441grass = 11441water = 11442venom = 11443thunder = 11444rock = 11445punch = 11446fire = 11447coccon = 11448crystal = 11449dark = 11450earth = 11451enigma = 11452heart = 11453ice = 11454feather = 17145boostStone = 12618metal = 12232ancient = 12244sfire = 12401swater = 12402sleaf = 12403sheart = 12404senigma = 12405srock = 12406svenom = 12407sice = 12408sthunder = 12409scrystal = 12410scoccon = 12411sdarkness = 12412spunch = 12413searth = 12414gobackmsgs = {[1] = {go = "Go, doka!", back = "Come back, doka!"},[2] = {go = "Let's do it, doka!", back = "Thanks for helping, doka!"},[3] = {go = "I choose you, doka!", back = "That's enough, come back!"},[4] = {go = "I need your help, doka!", back = "You were great, doka!"},[5] = {go = "Let's fight, doka!", back = "Excellent work, doka!"},[6] = {go = "It's battle time, doka!", back = "Well done, doka!"},[7] = {go = "It's your turn, doka!", back = "You need to rest, doka!"},[8] = {go = "doka, let's battle!", back = "Hurry back, doka!"},[9] = {go = "Show your strength, doka!", back = "You did your best, doka!"}}specialevo = {"Poliwhirl", "Gloom", "Tyrogue", "Eevee"} --alterado v1.6auraSyst = { --auras["red"] = 19,["blue"] = 40,["green"] = 164,["yellow"] = 207,["white"] = 29, ["gray"] = 165,["cyan"] = 177,["purple"] = 208,["orange"] = 219, ["circulo verde"] = 220, ["volcanic"] = 209, ["circulo roxo"] = 174, ["seavell"] = 170, ["naturia"] = 168, ["orebound"] = 234, ["wingeon"] = 167, }hitmonchans = {["Hitmonchan"] = { [0] = {out = 559, eff = 112, type = FIGHTINGDAMAGE}, --outfit normal [1] = {out = 1075, eff = 35, type = FIREDAMAGE}, --outfit fogo [2] = {out = 1077, eff = 48, type = ELECTRICDAMAGE}, --outfit raio [3] = {out = 1078, eff = 43, type = ICEDAMAGE}, --outfit gelo [4] = {out = 1076, eff = 60, type = GHOSTDAMAGE} --outfit ghost }, ["Shiny Hitmonchan"] = { [0] = {out = 837, eff = 112, type = FIGHTINGDAMAGE}, --outfit normal [1] = {out = 1080, eff = 35, type = FIREDAMAGE}, --outfit fogo [2] = {out = 1081, eff = 48, type = ELECTRICDAMAGE}, --outfit raio [3] = {out = 1082, eff = 43, type = ICEDAMAGE}, --outfit gelo [4] = {out = 1079, eff = 60, type = GHOSTDAMAGE} --outfit ghost },[" Boxer Hitmonchan"] = { [0] = {out = 559, eff = 112, type = FIGHTINGDAMAGE}, --outfit normal [1] = {out = 1075, eff = 35, type = FIREDAMAGE}, --outfit fogo [2] = {out = 1077, eff = 48, type = ELECTRICDAMAGE}, --outfit raio [3] = {out = 1078, eff = 43, type = ICEDAMAGE}, --outfit gelo [4] = {out = 1076, eff = 60, type = GHOSTDAMAGE} --outfit ghost },[" Bruno Hitmonchan"] = { [0] = {out = 559, eff = 112, type = FIGHTINGDAMAGE}, --outfit normal [1] = {out = 1075, eff = 35, type = FIREDAMAGE}, --outfit fogo [2] = {out = 1077, eff = 48, type = ELECTRICDAMAGE}, --outfit raio [3] = {out = 1078, eff = 43, type = ICEDAMAGE}, --outfit gelo [4] = {out = 1076, eff = 60, type = GHOSTDAMAGE} --outfit ghost }, ["Gardestrike Shiny Hitmonchan"] = { [0] = {out = 837, eff = 112, type = FIGHTINGDAMAGE}, --outfit normal [1] = {out = 1080, eff = 35, type = FIREDAMAGE}, --outfit fogo [2] = {out = 1081, eff = 48, type = ELECTRICDAMAGE}, --outfit raio [3] = {out = 1082, eff = 43, type = ICEDAMAGE}, --outfit gelo [4] = {out = 1079, eff = 60, type = GHOSTDAMAGE} --outfit ghost }}------------------- HEADBUTT ----------------------------- --alterado v1.6--[lvl] = {nome do poke, qnts vao vir}},--lvl = ate q lvl vai vir esses pokes... ate lvl 25 vira os pokes da 1* tabela.. do 26 ao 40 vira os pokes da 2* tabela...headbutt = {[25] = {{"Metapod", 3}, {"Kakuna", 3}, {"Pidgey", 3}, {"Ekans", 1}, {"Sentret", 1}, {"Pineco", 1}, {"Spinarak", 2}},[40] = {{"Pineco", 2}, {"Pidgeotto", 1}, {"Hoothoot", 1}, {"Shuckle", 1}, {"Beedrill", 2}, {"Spearow", 3}},[60] = {{"Arbok", 1}, {"Beedrill", 4}, {"Furret", 1}, {"Ariados", 2}, {"Pidgeotto", 2}, {"Yanma", 1}, {"Pineco", 4}},[80] = {{"Beedrill", 5}, {"Parasect", 2}, {"Forretress", 1}, {"Pinsir", 2}, {"Ariados", 3}, {"Pidgeotto", 4}, {"Venomoth", 2}, {"Yanma", 3}},[150] = {{"Forretress", 3}, {"Noctowl", 2}, {"Xatu", 2}, {"Yanma", 4}, {"Scyther", 1}, {"Butterfree", 4}, {"Parasect", 2}, {"Heracross", 1}},[1000] = {{"Venomoth", 3}, {"Pinsir", 4}, {"Forretress", 4}, {"Noctowl", 4}, {"Xatu", 4}, {"Yanma", 4}, {"Scyther", 2}, {"Butterfree", 4}, {"Heracross", 2}},}----------------------- LOOK -------------------------------lookClans = {[1] = {"a Volcanic Spark", "a Volcanic Flame","a Volcanic Firetamer","a Volcanic Pyromancer","a Volcanic Master"},[2] = {"a Seavell Drop", "a Seavell Icelake","a Seavell Waterfall","a Seavell Frost","a Seavell Master"},[3] = {"an Orebound Sand", "an Orebound Rock","an Orebound Solid","an Orebound Hardskin","an Orebound Hero"},[4] = {"a Wingeon Cloud", "a Wingeon Wind","a Wingeon Sky","a Wingeon Falcon","a Wingeon Dragon"},[5] = {"a Malefic Troublemaker", "a Malefic Venomancer","a Malefic Spectre","a Malefic Nightwalker","a Malefic Master"},[6] = {"a Gardestrike Fist", "a Gardestrike Tamer","a Gardestrike Fighter","a Gardestrike DeathHand","a Gardestrike Champion"},[7] = {"a Psycraft Mind", "a Psycraft Brain","a Psycraft Scholar","a Psycraft Telepath","a Psycraft Medium"},[8] = {"a Naturia Seed", "a Naturia Sprout","a Naturia Webhead","a Naturia Woodtrunk","a Naturia Keeper"},[9] = {"a Raibolt Shock", "a Raibolt Watt","a Raibolt Electrician","a Raibolt Overcharged","a Raibolt Legend"},[10] = {"a Ironhard Smither", "a Ironhard Forge","a Ironhard Hammer","a Ironhard Metal","a Ironhard Titan"},}lookClans2 = {[1] = {"a Volcanic Spark", "a Volcanic Flame","a Volcanic Firetamer","a Volcanic Pyromancer","a Volcanic Master"},[2] = {"a Seavell Drop", "a Seavell Icelake","a Seavell Waterfall","a Seavell Frost","a Seavell Master"},[3] = {"an Orebound Sand", "an Orebound Rock","an Orebound Solid","an Orebound Hardskin","an Orebound Hero"},[4] = {"a Wingeon Cloud", "a Wingeon Wind","a Wingeon Sky","a Wingeon Falcon","a Wingeon Dragon"},[5] = {"a Malefic Troublemaker", "a Malefic Venomancer","a Malefic Spectre","a Malefic Nightwalker","a Malefic Master"},[6] = {"a Gardestrike Fist", "a Gardestrike Tamer","a Gardestrike Fighter","a Gardestrike DeathHand","a Gardestrike Champion"},[7] = {"a Psycraft Mind", "a Psycraft Brain","a Psycraft Scholar","a Psycraft Telepath","a Psycraft Medium"},[8] = {"a Naturia Seed", "a Naturia Sprout","a Naturia Webhead","a Naturia Woodtrunk","a Naturia Keeper"},[9] = {"a Raibolt Shock", "a Raibolt Watt","a Raibolt Electrician","a Raibolt Overcharged","a Raibolt Legend"},[10] = {"a Ironhard Smither", "a Ironhard Forge","a Ironhard Hammer","a Ironhard Metal","a Ironhard Titan"},}function doCastPassive(cid)local name = doCorrectString(getCreatureName(cid))-------------------------------------------Counter Helix------------------------------------if passivesChances["Counter Helix"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Counter Helix"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Counter Helix")end-------------------------------------------Lava Counter/Electricity----------------------------if passivesChances["Lava-Counter"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Lava-Counter"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Lava-Counter")end---------------------------------------Stunning Confusion-----------------------------------------if passivesChances["Stunning Confusion"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Stunning Confusion"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Stunning Confusion")end-----------------------------------------Groundshock-----------------------------------if passivesChances["Bone-Spin"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Bone-Spin"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Bone-Spin")end--------------------------------------Electric Charge---------------------------------------------if passivesChances["Shock-Counter"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Shock-Counter"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Shock-Counter")end-------------------------------------Melody------------------------------------if passivesChances["Melody"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Melody"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Melody")end------------------------------------- Dragon Fury / Fury ---------------------------------------if passivesChances["Dragon Fury"][name] and math.random(1, 100) <= passivesChances["Dragon Fury"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Dragon Fury")end------------------------------------- Mega Drain ---------------------------------------if passivesChances["Mega Drain"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Mega Drain"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Mega Drain")end------------------------------------- Spores Reaction ---------------------------------------if passivesChances["Spores Reaction"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Spores Reaction"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Spores Reaction")end------------------------------------ Amnesia ---------------------------------------- if passivesChances["Amnesia"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Amnesia"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Amnesia", 0, 0)end----------------------------------- Zen Mind -----------------------------------------if passivesChances["Zen Mind"][doCorrectString(getCreatureName(cid))] and isWithCondition(cid) and math.random(1, 100) <= passivesChances["Zen Mind"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Zen Mind", 0, 0)end---------------------------------- Mirror Coat ---------------------------------------if passivesChances["Mirror Coat"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Mirror Coat"][doCorrectString(getCreatureName(cid))] then docastspell(cid, "Mirror Coat", 0, 0)end--------------------------------- Illusion -----------------------------------------return falseend--------------------- Chance das passivas ------------------------- --alterado v1.7passivesChances = {["Counter Helix"] = { --counter helix, counter spin e afins ["Scyther"] = 18, ["Scizor"] = 18, ["Shiny Scyther"] = 22, ["Hitmontop"] = 22, ["Shiny Hitmontop"] = 22, ["Pineco"] = 10, ["Forretress"] = 15, ["Kangaskhan"] = 18, },["Lava-Counter"] = { ["Magmar"] = 18, ["Shiny Magmar"] = 22, ["Shiny Magmortar"] = 26, ["Magmortar"] = 22, ["Magby"] = 15, ["Ho-oh"] = 20, ["Entei"] = 20, },["Bone-Spin"] = { ["Marowak"] = 15, ["Shiny Marowak"] = 22, ["Cubone"] = 10, ["Shiny Cubone"] = 15, },["Stunning Confusion"] = { --stunning confusion ["Golduck"] = 20, ["Psyduck"] = 18, ["Wobbuffet"] = 50, },["Shock-Counter"] = { ["Electabuzz"] = 18, ["Shiny Electabuzz"] = 22, ["Shiny Electivire"] = 26, ["Shiny Electivire"] = 22, ["Elekid"] = 15, ["Raikou"] = 20, },["Electric Charge"] = { ["Pikachu"] = 12, ["Raichu"] = 18, ["Shiny Raichu"] = 22, },["Melody"] = { ["Wigglytuff"] = 20, },["Dragon Fury"] = { ["Persian"] = 15, ["Raticate"] = 10, ["Shiny Raticate"] = 15, ["War Gyarados"] = 18, ["Gyarados"] = 18, ["Shiny Gyarados"] = 22, ["Dratini"] = 8, ["Dragonair"] = 12, ["Dragonite"] = 18, ["Salamence"] = 18, ["Shiny Salamence"] = 23, ["Shiny Dratini"] = 15, ["Shiny Dragonair"] = 22, },["Mega Drain"] = { ["Oddish"] = 10, ["Gloom"] = 15, ["Vileplume"] = 18, ["Bellossom"] = 18, ["Kabuto"] = 10, ["Kabutops"] = 18, ["Paras"] = 8, ["Parasect"] = 18, ["Tangela"] = 18, ["Venonat"] = 10, ["Venomoth"] = 18, ["Hoppip"] = 8, ["Skiploom"] = 12, ["Jumpluff"] = 18, ["Shiny Oddish"] = 20, ["Shiny Venonat"] = 20, ["Shiny Venomoth"] = 20, ["Shiny Vileplume"] = 20, ["Shiny Paras"] = 20, ["Shiny Parasect"] = 20, ["Shiny Tangela"] = 20, },["Spores Reaction"] = { ["Oddish"] = 10, ["Tangela"] = 18, ["Tangela"] = 18, ["Shiny Tangela"] = 20, ["Gloom"] = 15, ["Vileplume"] = 18, ["Bellossom"] = 18, ["Hoppip"] = 8, ["Skiploom"] = 12, ["Jumpluff"] = 18, ["Paras"] = 8, ["Parasect"] = 18, ["Shiny Vileplume"] = 20, ["Shiny Oddish"] = 20, ["Shiny Paras"] = 20, ["Shiny Parasect"] = 20, },["Amnesia"] = { ["Wooper"] = 10, ["Quagsire"] = 15, ["Swinub"] = 10, ["Wailord"] = 10, ["Piloswine"] = 15, ["Lorelei Piloswine"] = 15, },["Zen Mind"] = { ["Slowking"] = 20, },["Mirror Coat"] = { ["Wobbuffet"] = 50, },["Demon Kicker"] = { ["Hitmonlee"] = 25, ["Shiny Hitmonlee"] = 28, },["Demon Puncher"] = { ["Hitmonchan"] = 25, ["Shiny Hitmonchan"] = 28, },["Evasion"] = { ["Scyther"] = 28, ["Shiny Scyther"] = 30, ["Scizor"] = 28, ["Hitmonlee"] = 28, ["Hitmonchan"] = 28, ["Hitmontop"] = 28, ["Shiny Hitmonlee"] = 28, ["Furios Scyther"] = 28, ["Rolling Hitmontop"] = 28, ["Puncher Hitmonchan"] = 28, ["Shiny Hitmonchan"] = 30, ["Shiny Hitmontop"] = 30, ["Tyrogue"] = 15, ["Ledian"] = 15, ["Ledyba"] = 10, ["Sneasel"] = 20, ["Beedrill"] = 20, ["Shiny Beedrill"] = 28, ["Mega Scizor"] = 100, },}--[[ Tabela PokePrice adicionada a baixo, para o npc Seller que comprapokes, so edita ela aqui msm !! --]]pokesPrice = {["Charmander"] = 3000,["Charmeleon"] = 8000, ["Charizard"] = 18000,["Bulbasaur"] = 3000,["Ivysaur"] = 8000,["Venusaur"] = 18000,["Squirtle"] = 3000,["Wartortle"] = 8000,["Blastoise"] = 18000,["Caterpie"] = 50,["Metapod"] = 250,["Butterfree"] = 2000,["Weedle"] = 50,["Kakuna"] = 250,["Beedrill"] = 2000,["Pidgey"] = 60,["Pidgeotto"] = 1500,["Pidgeot"] = 11500,["Rattata"] = 5,["Raticate"] = 2000,["Spearow"] = 100,["Fearow"] = 5100,["Ekans"] = 300,["Arbok"] = 3000,["Pikachu"] = 8000,["Raichu"] = 18000,["Sandshrew"] = 1000,["Sandslash"] = 11000,["Nidoran Female"] = 125,["Nidorina"] = 2250,["Nidoqueen"] = 12250,["Nidoran Male"] = 125,["Nidorino"] = 2250,["Nidoqueen"] = 12250,["Clefairy"] = 8000,["Clefable"] = 18000,["Vulpix"] = 1000,["Ninetales"] = 11000,["Jigglypuff"] = 8000,["Wigglytuff"] = 18000,["Zubat"] = 120,["Golbat"] = 3000,["Oddish"] = 80,["Gloom"] = 2250,["Vileplume"] = 12000,["Paras"] = 60,["Parasect"] = 7250, ["Venonat"] = 1500,["Venomoth"] = 7250,["Diglett"] = 200,["Dugtrio"] = 3000,["Meowth"] = 300,["Persian"] = 3000,["Psyduck"] = 1500,["Golduck"] = 11500,["Mankey"] = 300,["Primeape"] = 7250,["Growlithe"] = 3500,["Arcanine"] = 60000,["Poliwag"] = 80,["Poliwhirl"] = 3000,["Poliwrath"] = 13000,["Abra"] = 800,["Kadabra"] = 5800,["Alakazam"] = 16000,["Machop"] = 2000,["Machoke"] = 7000,["Machamp"] = 17000,["Bellsprout"] = 80,["Wepinbell"] = 2250,["Victreebel"] = 12000,["Tentacool"] = 300,["Tentacruel"] = 10000,["Geodude"] = 300,["Graveler"] = 5000,["Golem"] = 15000,["Ponyta"] = 1500,["Rapidash"] = 6500,["Slowpoke"] = 400,["Slowbro"] = 8000,["Magnemite"] = 400,["Magneton"] = 5400,["Farfetch'd"] = 7000,["Doduo"] = 600,["Dodrio"] = 5600,["Seel"] = 2000,["Dewgong"] = 12000,["Grimer"] = 300,["Muk"] = 11000,["Shellder"] = 200,["Cloyster"] = 10200,["Gastly"] = 3000,["Haunter"] = 8000,["Gengar"] = 18000,["Onix"] = 6000,["Drowzee"] = 1000,["Hypno"] = 6000,["Krabby"] = 200,["Kingler"] = 5200,["Voltorb"] = 250,["Electrode"] = 3000,["Exeggute"] = 200,["Exeggutor"] = 10000,["Cubone"] = 1000,["Marowak"] = 11000,["Hitmonlee"] = 20000,["Hitmonchan"] = 20000,["Lickitung"] = 60000,["Koffing"] = 300,["Weezing"] = 3000,["Rhyhorn"] = 3000,["Rhydon"] = 13000,["Chansey"] = 40000,["Tangela"] = 10000,["Kangaskhan"] = 120000,["Horsea"] = 200,["Seadra"] = 5500,["Goldeen"] = 200,["Seaking"] = 3000,["Staryu"] = 400,["Starmie"] = 3000,["Mr. Mime"] = 120000,["Scyther"] = 120000,["Jynx"] = 120000,["Electabuzz"] = 120000,["Magmar"] = 120000,["Pinsir"] = 9000,["Tauros"] = 5000,["Magikarp"] = 5,["Gyarados"] = 55000,["Lapras"] = 120000,["Ditto"] = 70000,["Eevee"] = 45000,["Vaporeon"] = 50000,["Jolteon"] = 50000,["Flareon"] = 50000,["Porygon"] = 60000,["Omanyte"] = 20000,["Omastar"] = 75000,["Kabuto"] = 2000,["Kabutops"] = 75000,["Aerodactyl"] = 2000000,["Snorlax"] = 200000,["Dratini"] = 15000,["Dragonair"] = 65000,["Dragonite"] = 125000, -- Segunda Geração["Chikorita"] = 3000,["Bayleef"] = 8000,["Meganium"] = 18000,["Cydaquil"] = 3000,["Quilava"] = 8000,["Typhlosion"] = 18000,["Totodile"] = 3000,["Croconaw"] = 8000,["Feraligatr"] = 18000,["Sentret"] = 250,["Furret"] = 3000,["Hoothoot"] = 1500,["Noctowl"] = 11500,["Ledyba"] = 250,["Ledian"] = 3000,["Spinarak"] = 250,["Ariados"] = 3000,["Crobat"] = 58000,["Chinchou"] = 1000,["Lanturn"] = 6000,["Pichu"] = 3000,["Cleffa"] = 3000,["Igglybuff"] = 3000,["Togepi"] = 15000,["Togetic"] = 25000,["Natu"] = 3000,["Xatu"] = 130000,["Mareep"] = 3000,["Flaaffy"] = 8000,["Ampharos"] = 18000,["Bellossom"] = 12000,["Marill"] = 3000,["Azumarill"] = 13000,["Sudowoodo"] = 120000,["Politoed"] = 8000,["Hoppip"] = 80,["Skiploom"] = 2250,["Jumpluff"] = 12000,["Aipom"] = 8000,["Sunkern"] = 50,["Sunflora"] = 5000,["Yanma"] = 9000,["Wooper"] = 2000,["Quagsire"] = 12000,["Espeon"] = 50000,["Umbreon"] = 50000,["Murkrow"] = 10000,["Slowking"] = 110000,["Misdreavus"] = 100000,["Wobbuffet"] = 200000,["Girafarig"] = 120000,["Pineco"] = 300,["Forretress"] = 10000,["Dunsparce"] = 3000,["Gligar"] = 8000,["Steelix"] = 110000,["Snubbull"] = 22500,["Granbull"] = 12500,["Qwilfish"] = 10000,["Scizor"] = 220000,["Shuckle"] = 3500,["Heracross"] = 120000,["Sneasel"] = 10000,["Teddiursa"] = 80000,["Ursaring"] = 150000,["Slugma"] = 1000,["Magcargo"] = 11000,["Swinub"] = 1000,["Piloswine"] = 11000,["Corsola"] = 9000,["Remoraid"] = 200,["Octillery"] = 10000,["Delibird"] = 10000,["Mantine"] = 120000,["Skarmory"] = 120000,["Houndour"] = 35000,["Houndoom"] = 13500,["kingdra"] = 70000,["Phanpy"] = 3000,["Donphan"] = 13000,["Porygon2"] = 120000,["Stantler"] = 10000,["Tyrogue"] = 150000,["Hitmontop"] = 500000,["Smoochum"] = 45000,["Elikid"] = 45000,["Magby"] = 45000,["Miltank"] = 120000,["Blissey"] = 140000,["Larvitar"] = 15000,["Pupitar"] = 65000,["Tyranitar"] = 125000,-- shiny --["Shiny Fearow"] = 1500000,["Shiny Vileplume"] = 1500000,["Shiny Golem"] = 1500000,["Shiny Nidoking"] = 1500000,["Shiny Hypno"] = 1500000,["Shiny Vaporeon"] = 1500000,["Shiny Jolteon"] = 1500000,["Shiny Flareon"] = 1500000,["Shiny Hitmontop"] = 1500000,}--> [HELDS] <---- X --AtkBonus1 = 1.10AtkBonus2 = 1.20AtkBonus3 = 1.30AtkBonus4 = 1.40AtkBonus5 = 1.70AtkBonus6 = 2AtkBonus7 = 2.80DefBonus1 = 1.10DefBonus2 = 1.20DefBonus3 = 1.30DefBonus4 = 1.40DefBonus5 = 1.90DefBonus6 = 2DefBonus7 = 2.80DmgReturn1 = 0.04DmgReturn2 = 0.05DmgReturn3 = 0.06DmgReturn4 = 0.07DmgReturn5 = 0.15DmgReturn6 = 0.25DmgReturn7 = 0.40HellBonus1 = 2.50HellBonus2 = 2.60HellBonus3 = 2.70HellBonus4 = 2.80HellBonus5 = 2.90HellBonus6 = 3HellBonus7 = 3.50PoisonBonus1 = 2.50PoisonBonus2 = 2.60PoisonBonus3 = 2.70PoisonBonus4 = 2.80PoisonBonus5 = 2.90PoisonBonus6 = 3PoisonBonus7 = 3.50BoostBonus1 = 5BoostBonus2 = 8BoostBonus3 = 12BoostBonus4 = 15BoostBonus5 = 18BoostBonus6 = 22BoostBonus7 = 30-- Y --Regen1 = 700Regen2 = 1000Regen3 = 1500Regen4 = 2000Regen5 = 2500Regen6 = 3200Regen7 = 4500Cure1 = 15Cure2 = 25Cure3 = 40Cure4 = 50Cure5 = 70Cure6 = 80Cure7 = 100--> [HELDS] <-- statschange Spoiler local damages = {GROUNDDAMAGE, ELECTRICDAMAGE, ROCKDAMAGE, FLYDAMAGE, BUGDAMAGE, FIGHTINGDAMAGE, DRAGONDAMAGE, POISONDAMAGE, DARKDAMAGE, STEELDAMAGE} local fixdmgs = {PSYCHICDAMAGE, COMBAT_PHYSICALDAMAGE, GRASSDAMAGE, FIREDAMAGE, WATERDAMAGE, ICEDAMAGE, NORMALDAMAGE, GHOSTDAMAGE} local ignored = {POISONEDDAMAGE, BURNEDDAMAGE} --alterado v1.6 local cannotkill = {BURNEDDAMAGE, POISONEDDAMAGE} function onStatsChange(cid, attacker, type, combat, value) if isWatchingTv(cid) then return false end -- TV Block --------------------- healarea --------------------- if type == STATSCHANGE_HEALTHGAIN then if cid == attacker then return true end if isSummon(cid) and isSummon(attacker) and canAttackOther(cid, attacker) == "Cant" then return false end if isWild(cid) and isWild(attacker) then -- monstros se curarem return true end return true end --------------------- healarea --------------------- if isWildTrainerNPC(cid) then if not canKillNPC(attacker, cid) then return false end end if isWildTrainerPokemon(cid) then local master = getMasterWildNPCPokemon(cid) local master2 = isSummon(attacker) and getCreatureMaster(attacker) or attacker if not isCreature(master) or not isCreature(master2) then return false end if getPlayerRankNivel(master2) ~= getNPCNivel(master) then return false end end if isSleeping(attacker) then return false end if isBlockSpawn(cid) then return false end if isPlayer(cid) and isSummon(attacker) and canAttackOther(cid, attacker) == "Cant" then return false end if getPlayerStorageValue(cid, 9658783) == 1 then return false end if combat == FLYSYSTEMDAMAGE then return false end if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TV if (isPlayer(cid) and #getCreatureSummons(cid) >= 1 and not getTileInfo(getThingPos(getCreatureSummons(cid)[1])).protection) or isPlayer(attacker) then return false end -- seguranca do player nao atacar if isGod(cid) then return false end -- god nao morrer if isWild(cid) and isWild(attacker) then return false end -- monstro nao atacar monstro, mas deixar pokemons do shared team baterem if getTileInfo(getThingPos(cid)).protection then return false end -- duel system e outros if isSummon(cid) and isSummon(attacker) then local p1, p2 = getCreatureMaster(cid), getCreatureMaster(attacker) if not CanAttackerInDuel(p1, p2) then return false end end if isSummon(attacker) and isPlayer(cid) then return false -- quandotiver pvp colocar storage do pvp aqui end if not (isCreature(attacker)) then return true end local raceCombat = typeTable[getElementByCombat(combat)] local spellNameFromAttacker = getPlayerStorageValue(attacker, 21102) -- player morte e ataques if isPlayer(cid) and (#getCreatureSummons(cid) <= 0 or #getCreatureSummons(cid) >= 1 and getTileInfo(getThingPos(getCreatureSummons(cid)[1])).protection) then local color = 180 if (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then value = -(getOffense(attacker) * 100) else if not typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)] then color = 180 else color = typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)].color or 180 end end if (value * -1) >= getCreatureHealth(cid) then value = getCreatureHealth(cid) * -1 end if (value * -1) >= getCreatureHealth(cid) then doKillPlayer(cid, attacker, (value * -1)) end doSendAnimatedText(getThingPosWithDebug(cid), (value), color) doCreatureAddHealth(cid, value) setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante return false end -- player morte e ataques if not isPlayer(cid) then -- valores do atacante if isPokePassive(cid) and isSummon(attacker) then doSetPokemonAgressiveToPlayer(cid, getCreatureMaster(attacker)) end local myName = doCorrectString(getCreatureName(cid)) if isInArray(specialabilities["evasion"], myName) and isSummon(cid) then local target = cid if getCreatureTarget(getCreatureMaster(cid)) == attacker then if math.random(1, 100) <= passivesChances["Evasion"][myName] then if isCreature(attacker) then --alterado v1.6 doSendMagicEffect(getThingPosWithDebug(target), 211) doSendAnimatedText(getThingPosWithDebug(target), "TOO BAD", 215) doTeleportThing(target, getClosestFreeTile(target, getThingPosWithDebug(attacker)), false) doSendMagicEffect(getThingPosWithDebug(target), 211) doFaceCreature(target, getThingPosWithDebug(attacker)) return false end end end end ---- cor do dano --[[if (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then else raceCombat = typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)] end]] -- alterado raceCombat = typeTable[getPokemonType(attacker).type1] ---- cor do dano local critical, criticalValue = false, 0 local returnDamage = false ------------- Helds if isSummon(cid) then local heldx = getItemAttribute(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "xHeldItem") if heldx then local heldName, heldTier = string.explode(heldx, "|")[1], string.explode(heldx, "|")[2] if heldName == "X-Block" and isSummon(cid) then -- bloquear alguns ataques local chance = heldBlockChance[tonumber(heldTier)] if (math.random(1, 100) <= chance) then doSendAnimatedText(getThingPos(cid), "BLOCKED", 215) end end if heldName == "X-Return" and isSummon(cid) then -- bloquear alguns ataques local chance = heldReturn[tonumber(heldTier)] if (math.random(1, 100) <= chance) then returnDamage = true returnDamageValue = heldReturn[tonumber(heldTier)] end end end end if isSummon(attacker) then local heldx = getItemAttribute(getPlayerSlotItem(getCreatureMaster(attacker), 8).uid, "xHeldItem") if heldx then local heldName, heldTier = string.explode(heldx, "|")[1], string.explode(heldx, "|")[2] if heldName == "X-Critical" then -- dar critico nos ataques local chance = heldCriticalChance[tonumber(heldTier)] if (math.random(1, 100) <= chance) then critical = true criticalValue = math.random(50, 100) end end end end ------------- Helds if isReflect(attacker) then local valueReflected = getPlayerStorageValue(attacker, 21105) if valueReflected > 0 then removeReflect(attacker) value = valueReflected doCreatureAddHealth(cid, -math.floor(value)) doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value), COLOR_GRASS) if isSummon(cid) and getPlayerStorageValue(cid, 637500) == -1 then doSendLifePokeToOTC(getCreatureMaster(cid)) end if value >= getCreatureHealth(cid) then if isSummon(cid) then if isInDuel(getCreatureMaster(cid)) then doRemoveCountPokemon(getCreatureMaster(cid)) end end if getPlayerStorageValue(cid, 637500) == -1 then ---checagem do sharred team doKillWildPoke(attacker, cid) else doRemoveCreature(cid) end return false end return false end end ------------------------------------POTIONS------------------------------------------- if isSummon(cid) then if getPlayerStorageValue(cid, 173) >= 1 then setPlayerStorageValue(cid, 173, -1) --alterado v1.6 doSendAnimatedText(getThingPos(cid), "LOST HEAL", 144) end end local boost_def, boost_attk = (0.7 * getPokemonBoost(cid)) / 100, (0.5 * getPokemonBoost(attacker)) / 100 if(combat == 128 or combat == 1) and getPlayerStorageValue(attacker, 21102) == -1 then -- ataque basico doSendMagicEffect(getThingPos(cid), 3) value = getEffectvineCombat(cid, attacker, value) if value == 0 then return false else value = value * getOffense(attacker) -- buff ataque system local name = doCorrectString(getCreatureName(attacker)) if pokes[name] and pokes[name].level <= 5 and value ~= 0 then value = -math.random(pokes[name].offense, pokes[name].offense+5) end end else -- magia value = getEffectvineSpell(attacker, spellNameFromAttacker, value, cid) -- checagem de efetividades de magia if value == 0 then return false else value = value * (1 + getSpecialAttack(attacker) / 100) end end if getPlayerStorageValue(cid, storages.TASKSYSTEMNOTWOTARGETS) == -1 then -- player tem q matar o poke com o mesmo summon para contar na diaria setPlayerStorageValue(cid, storages.TASKSYSTEMNOTWOTARGETS, attacker) end if spellNameFromAttacker ~= -1 and value == 0 then value = -doForceDanoSpeel(attacker, spellNameFromAttacker) end if value == 0 then value = -getEffectvineCombat(cid, attacker, getOffense(attacker)) end -- rever isto.. colocar dano base do xml local pokeLevel = pokes[getCreatureName(cid)].level if pokeLevel > 70 then percentDef = 100 elseif pokeLevel <= 70 and pokeLevel >= 50 then percentDef = 40 elseif pokeLevel <= 49 then percentDef = 20 end if isSummon(cid) then percentDef = 100 end value = value - (value * (getDefense(cid) / percentDef)) -- buff deff system, defendendo por % -------- boost system value = (value) + (boost_def * (value * -1)) value = (value - getMasterLevel(attacker)) - (boost_attk * (value * -1)) -------- boost system value = math.ceil(value * -1) if value >= getCreatureHealth(cid) then value = getCreatureHealth(cid) end if value < 0 then value = value * -1 end -------- xp por dano if isSummon(attacker) and not isSummon(cid) then addPlayerDano(cid, getCreatureMaster(attacker), value) end -------- xp por dano if critical then -- X-Critical system value = value * 2 + criticalValue doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value) .. "K", COLOR_BURN) else doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value), raceCombat.color) end if returnDamage then local valueToReturn = math.ceil(value * (returnDamageValue / 100)) if valueToReturn > getCreatureHealth(attacker) then valueToReturn = getCreatureHealth(attacker) -1 end if valueToReturn > 1 then value = value - valueToReturn doSendAnimatedText(getThingPos(attacker), (valueToReturn == 0 and "" or valueToReturn), 31) doSendMagicEffect(getThingPos(attacker), 3) doCreatureAddHealth(attacker, -valueToReturn) end end local spellName = getPlayerStorageValue(attacker, 21102) setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante if(isReflect(cid))then -- reflect system igual GBA if spellName ~= -1 then if not isInArray({"Team Claw", "Team Slice"}, spellName) then doSendMagicEffect(getThingPosWithDebug(cid), 135) doSendAnimatedText(getThingPosWithDebug(cid), "REFLECT", COLOR_GRASS) addEvent(docastspell, 100, cid, spellName) if getCreatureName(cid) == "Wobbuffet" then doRemoveCondition(cid, CONDITION_OUTFIT) end setPlayerStorageValue(cid, 21099, -1) --alterado v1.6 setPlayerStorageValue(cid, 21100, 1) setPlayerStorageValue(cid, 21101, attacker) setPlayerStorageValue(cid, 21103, getTableMove(attacker, spellName).f) setPlayerStorageValue(cid, 21104, getCreatureOutfit(attacker).lookType) setPlayerStorageValue(cid, 21105, value) if spellName == "Rollout" then doRolloutReflected(cid, doCorrectString(getCreatureName(attacker))) end return false end end end if getCreatureName(cid) == "Kangaskhan" and math.random(1, 100) < 25 and isMega(cid) then docastspell(cid, "Groundshock", 0, 0) end if value >= getCreatureHealth(cid) then if isSummon(cid) then if isInArray({"Aggron", "Sudowoodo", "Mega Aggron"}, getCreatureName(cid)) then doCreatureAddHealth(cid, -(getCreatureHealth(cid)-1)) setPlayerStorageValue(cid, 9658783, 1) -- nao velar dano getSturdy(cid) if isSummon(cid) then doSendLifePokeToOTC(getCreatureMaster(cid)) end return false end end if getPlayerStorageValue(cid, 637500) == -1 then ---checagem do sharred team doKillWildPoke(attacker, cid) else doRemoveCreature(cid) end return false end --------------Passiva Lifesteal Clobat------------ if isInArray({"crobat", "shiny crobat"}, getCreatureName(attacker):lower())and (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then doCreatureAddHealth(attacker, math.floor(value)) doSendAnimatedText(getThingPos(attacker), "+ "..math.floor(value), 30) end -------------------------------------------- doCreatureAddHealth(cid, -value) doCastPassive(cid) if not isSummon(cid) and not isMega(cid) then -- virar mega checkChenceToMega(cid) end if isSummon(cid) and cid == getCreatureSummons(getCreatureMaster(cid))[1] then -- otclient life doSendLifePokeToOTC(getCreatureMaster(cid)) -- otclient life end end return false end function getMasterLevel(cid) if isSummon(cid) then return getPlayerLevel(getCreatureMaster(cid)) end return 0 end function getSturdy(cid) local function doKillWildPokeWhiteSecuirty(cid) if not isCreature(cid) then return true end if isSummon(cid) then if isInDuel(getCreatureMaster(cid)) then doRemoveCountPokemon(getCreatureMaster(cid)) end end doKillWildPoke(cid, cid) end local outfit = 2121 if isMega(cid) then outfit = 1865 elseif getCreatureName(cid) == "Sudowoodo" then outfit = 2122 end doSetCreatureOutfit(cid, {lookType = outfit}, -1) addEvent(doKillWildPokeWhiteSecuirty, 6000, cid) end só esses q eu sabia... Editado Novembro 12, 2016 por Josegvb Link para o comentário Compartilhar em outros sites More sharing options...
Josegvb 87 Postado Novembro 11, 2016 Autor Share Postado Novembro 11, 2016 Em 11/9/2016 at 18:18, nociam disse: ficaria mais fácil se vc postar todos os arquivos relacionados deu pra olhar algum problema la? Link para o comentário Compartilhar em outros sites More sharing options...
Drakopoulos 219 Postado Novembro 12, 2016 Share Postado Novembro 12, 2016 Troque suas duas funções de efetividade por essas e faça o teste. function getEffectvineCombat(cid, attacker, value)if isPlayer(cid) or isPlayer(attacker) then return false end -- seguranca do player nao atacar local pokeRaceAttacker, pokeRaceDefender = getPokemonType(attacker).type1, getPokemonType(cid).type1 if isInArray(typeTable[pokeRaceAttacker].super, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].super, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa value = value * 1.3 elseif isInArray(typeTable[pokeRaceAttacker].weak, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].weak, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa value = value elseif isInArray(pokesGhosts, getCreatureName(cid)) then value = 0 end if getCreatureName(cid) == "Venusaur" and value ~= 0 and isMega(cid) and isInArray({"ice", "fire"}, pokeRaceAttacker)then -- Passiva thick fat value = value / 2 end return valueend function getEffectvineSpell(attacker, spellNameFromAttacker, value, cid) -- printar os elementos if(spellNameFromAttacker ~= -1) then -- checagem de efetividades local name = getCreatureName(attacker) -- reflect system if isMega(attacker) then name = getPlayerStorageValue(attacker, storages.isMega) end local spellRace, pokeElement1, pokeElement2 = getMoveType(name, spellNameFromAttacker), getPokemonType(cid).type1, getPokemonType(cid).type2 if not typeTable[spellRace] then local remover = removeSpellInXML(doCorrectString(name), spellNameFromAttacker) if remover then print("Magia: " .. spellNameFromAttacker .. " removida do XML: " .. doCorrectString(name) .. ".xml") end return 0 end local multiplier = 1 if isInArray(typeTable[spellRace].super, pokeElement1) then multiplier = multiplier + 1 end if pokeElement2 and isInArray(typeTable[spellRace].super, pokeElement2) then multiplier = multiplier + 1 end if isInArray(typeTable[spellRace].effective, pokeElement1) then multiplier = multiplier + 0.6 end if pokeElement2 and isInArray(typeTable[spellRace].effective, pokeElement2) then multiplier = multiplier + 0.6 end if isInArray(typeTable[spellRace].norm, pokeElement1) then multiplier = multiplier + 0.2 end if pokeElement2 and isInArray(typeTable[spellRace].norm, pokeElement2) then multiplier = multiplier + 0.2 end if isInArray(typeTable[spellRace].inef, pokeElement1) then multiplier = multiplier - 0.2 end if pokeElement2 and isInArray(typeTable[spellRace].inef, pokeElement2) then multiplier = multiplier - 0.2 end if isInArray(typeTable[spellRace].weak, pokeElement1) then multiplier = multiplier - 0.3 end if pokeElement2 and isInArray(typeTable[spellRace].weak, pokeElement2) then multiplier = multiplier - 0.3 end if isInArray(typeTable[spellRace].non, pokeElement1) then multiplier = multiplier * 0 end if pokeElement2 and isInArray(typeTable[spellRace].non, pokeElement2) then multiplier = multiplier * 0 end if multiplier == 1.5 and poketype2 == "no type" then multiplier = 2 elseif multiplier == 0.75 and poketype2 == "no type" then multiplier = 0.5 elseif multiplier == 1.25 then multiplier = 1 end value = value * multiplier if getCreatureName(cid) == "Venusaur" and value ~= 0 and isMega(cid) and isInArray({"ice", "fire"}, spellRace)then -- Passiva thick fat value = value / 2 end end setPlayerStorageValue(attacker, 21102, -1) return valueend Link para o comentário Compartilhar em outros sites More sharing options...
Josegvb 87 Postado Novembro 12, 2016 Autor Share Postado Novembro 12, 2016 @Drakopoulos olhe oq eu postei no spoiler no 1º post enquanto essa storage com essa q vc postou agr fica pior, ai só o primer hit tem o elemento (nao faz dano), o resto n sei ql fica mas bate Spoiler o problema é que o servidor usa uma Storage pra verificar se é um ataque normal ou uma spell, sendo que era pra ser verificado no tipo de combat isso (testei e sempre vem um mesmo tipo), logo quando uma skill tem um evento dentro, que faz sair vários ataques de tempo em tempo, faz o script bugar com aquela função que tu seta o storage em -1, porque o primeiro ataque sai com elemento e o segundo sai como se fosse melee, mas se tira o setStorage -1, ele não bate melee. Link para o comentário Compartilhar em outros sites More sharing options...
Drakopoulos 219 Postado Novembro 12, 2016 Share Postado Novembro 12, 2016 Agora, Josegvb disse: @Drakopoulos olhe oq eu postei no spoiler no 1º post enquanto essa storage com essa q vc postou agr fica pior, ai só o primer hit tem o elemento (nao faz dano), o resto n sei ql fica mas bate Mostrar conteúdo oculto o problema é que o servidor usa uma Storage pra verificar se é um ataque normal ou uma spell, sendo que era pra ser verificado no tipo de combat isso (testei e sempre vem um mesmo tipo), logo quando uma skill tem um evento dentro, que faz sair vários ataques de tempo em tempo, faz o script bugar com aquela função que tu seta o storage em -1, porque o primeiro ataque sai com elemento e o segundo sai como se fosse melee, mas se tira o setStorage -1, ele não bate melee. Eu testei aqui e estava funcionando certinho desse jeito ai.. n esqueceu de nada n? Link para o comentário Compartilhar em outros sites More sharing options...
Josegvb 87 Postado Novembro 12, 2016 Autor Share Postado Novembro 12, 2016 3 minutos atrás, Drakopoulos disse: Eu testei aqui e estava funcionando certinho desse jeito ai.. n esqueceu de nada n? vc testou com o earthquake? pq sim ele esta funfando para qualquer cd (acho) mas o quake q é repetido nao... e sim ja verifiquei denovo esta como vc postou ai, alguma outra coisa q tenha a ver com isso? Link para o comentário Compartilhar em outros sites More sharing options...
Drakopoulos 219 Postado Novembro 12, 2016 Share Postado Novembro 12, 2016 20 minutos atrás, Josegvb disse: vc testou com o earthquake? pq sim ele esta funfando para qualquer cd (acho) mas o quake q é repetido nao... e sim ja verifiquei denovo esta como vc postou ai, alguma outra coisa q tenha a ver com isso? Veja Link para o comentário Compartilhar em outros sites More sharing options...
Josegvb 87 Postado Novembro 12, 2016 Autor Share Postado Novembro 12, 2016 17 minutos atrás, Drakopoulos disse: Veja poderiiia dar uma olhada nos arquivos referentes ao isso? talves nas sources tb? eu uso v1 Link para o comentário Compartilhar em outros sites More sharing options...
Drakopoulos 219 Postado Novembro 12, 2016 Share Postado Novembro 12, 2016 52 minutos atrás, Josegvb disse: vc testou com o earthquake? pq sim ele esta funfando para qualquer cd (acho) mas o quake q é repetido nao... e sim ja verifiquei denovo esta como vc postou ai, alguma outra coisa q tenha a ver com isso? Poste o 107-main tables.lua Link para o comentário Compartilhar em outros sites More sharing options...
Josegvb 87 Postado Novembro 12, 2016 Autor Share Postado Novembro 12, 2016 4 minutos atrás, Drakopoulos disse: Poste o 107-main tables.lua Spoiler ---------------- configs gerais gameVersion = "2.5" playerSpeed = 250 farWayPos = {x = 102, y = 66, z = 4} -- usada pra sistema de order, para o poke entrar de baixo do player tempoPraVoltarAoNormal = 8 -- Voltar a rock, bush e outros do order. base_Fome_e_Felicidade = 60 -- o Maximo é 150. Quando for capturado ou criado pelo god. 60 = normal ---Efeitos EFFECT_DIG = 88 EFFECT_CUT = 93 --- Msgs MSG_NAO_E_POSSIVEL = "Desculpe, mas isso não é possível." pokesGhosts = {"Gengar", "Haunter", "Gastly"} ---------------- megaTables megasConf = { -- charizard x mais ataque menos speed/def, charizard y mais speed/def, menos ataque ["Mega Alakazam"] = {out = 1853, offense = 1, defense = 10, specialattack = 18, life = 8000, agility = 220, wildVity = 5, wildChance = 0.1, itemToDrop = 15131}, ["Mega Charizard X"] = { out = {1879, 1880, 1881}, offense = 1.9, defense = 9, specialattack = 20, life = 9000, agility = 260, wildVity = 5, wildChance = 0.1, itemToDrop = 15134}, ["Mega Charizard Y"] = { out = {1876, 1877, 1878}, offense = 1.5, defense = 11, specialattack = 16, life = 9000, agility = 280, wildVity = 5, wildChance = 0.1, itemToDrop = 15135}, ["Mega Blastoise"] = {out = 1850, offense = 1.8, defense = 15, specialattack = 16, life = 9000, agility = 260, wildVity = 5, wildChance = 0.1, itemToDrop = 15133}, ["Mega Gengar"] = {out = 1851, offense = 1.9, defense = 10, specialattack = 18, life = 9000, agility = 260, wildVity = 5, wildChance = 0.1, itemToDrop = 15136}, ["Mega Ampharos"] = {out = {2093, 2094, 2095}, offense = 2.3, defense = 9.5, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15794}, ["Mega Venusaur"] = {out = 1863, offense = 1.9, defense = 10.5, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15793}, ["Mega Tyranitar"] = {out = 1854, offense = 2.6, defense = 12, specialattack = 15, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15781}, ["Mega Kangaskhan"] = {out = 1872, offense = 2.5, defense = 12, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15783}, ["Mega Scizor"] = {out = 1892, offense = 2.7, defense = 10, specialattack = 18, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15784}, ["Mega Aerodactyl"] = {out = 2061, offense = 2.8, defense = 9, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15786}, ["Mega Pidgeot"] = {out = 2081, offense = 2.3, defense = 12, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15791}, ["Mega Mawile"] = {out = 1859, offense = 15.3, defense = 12, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15136}, ["Mega Gardevoir"] = {out = 2089, offense = 15.3, defense = 12, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15136}, ["Mega Absol"] = {out = 2068, offense = 15.3, defense = 12, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15136}, ["Mega Lucario"] = {out = 2069, offense = 15.3, defense = 12, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15136}, ["Mega Sceptile"] = {out = 2071, offense = 15.3, defense = 12, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15136}, ["Mega Swampert"] = {out = 2075, offense = 15.3, defense = 12, specialattack = 17, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15136}, ["Mega Aggron"] = {out = 1864, offense = 15.3, defense = 15, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 100, itemToDrop = 15136}, ["Mega Blaziken"] = {out = {2090, 2091, 2092}, offense = 15.3, defense = 12, specialattack = 16, life = 9000, agility = 270, wildVity = 5, wildChance = 0.1, itemToDrop = 15792}, } ---------------- megaTables ---------------- heldItems efeitos heldBoost = { [1] = 12, [2] = 16, [3] = 20, [4] = 24, [5] = 28, [6] = 32, [7] = 40, } heldAttack = { [1] = 1.08, [2] = 1.12, [3] = 1.16, [4] = 1.19, [5] = 1.22, [6] = 1.25, [7] = 1.50, } heldDefense = { [1] = 1.20, [2] = 1.50, [3] = 1.80, [4] = 1.90, [5] = 2, [6] = 2.2, [7] = 2.5, } heldBlockChance = { [1] = 6, [2] = 8, [3] = 10, [4] = 12, [5] = 14, [6] = 18, [7] = 22, } heldCriticalChance = { [1] = 8, [2] = 10, [3] = 12, [4] = 14, [5] = 18, [6] = 20, [7] = 24, } heldExperience = { [1] = 1.1, [2] = 1.15, [3] = 1.20, [4] = 1.25, [5] = 1.30, [6] = 1.35, [7] = 1.40, } heldPoisonBurn = { [1] = 90, [2] = 125, [3] = 160, [4] = 195, [5] = 230, [6] = 265, [7] = 300, } heldHaste = { [1] = 50, [2] = 75, [3] = 100, [4] = 125, [5] = 150, [6] = 175, [7] = 200, } heldLucky = { [1] = 1.10, [2] = 1.20, [3] = 1.35, [4] = 1.50, [5] = 1.65, [6] = 1.80, [7] = 2, } heldReturn = { [1] = 20, [2] = 30, [3] = 35, [4] = 40, [5] = 45, [6] = 50, [7] = 80, } heldVitality = { [1] = 5, [2] = 8, [3] = 12, [4] = 15, [5] = 19, [6] = 22, [7] = 25, } ---------------- configs gerais orderTalks = { ["ride"] = {talks = {", deixe-me montá-lo.", ", vamos correr!"}, storage = 9800}, ["fly"] = {talks = {", deixe-me montá-lo.", ", vamos voar!"}, storage = 9801}, ["levitate"] = {talks = {", deixe-me montá-lo.", ", levitar!"}, storage = 9801}, ["surf"] = {talks = {", deixe-me montá-lo.", ", vamos surfar!"}, storage = 63215}, ["dig"] = {talks = {", cave este buraco.", ", use o cavar!"}, storage = 9803}, ["cut"] = {talks = {", corte esta árvore.", ", use o cortar!"}, storage = 9804}, ["rock"] = {talks = {", quebre esta rocha.", ", use o quebra rocha!"}, storage = 9805}, ["headbutt"] = {talks = {", balance aquela árvore.", ", bata naquela árvore."}, storage = 9806}, ["move"] = {talks = {", mova-se!"}, storage = 0}, ["blink"] = {talks = {", teletransporte.", ", use o teletransporte." }, storage = 0}, ["gopoke"] = {talks = {", eu preciso de sua ajuda!", ", é hora da batalha!.", ", eu escolho você!" }, storage = 0}, ["backpoke"] = {talks = {", obrigado.", ", bom trabalho.", ", já chega. Volte!" }, storage = 0}, ["downability"] = {talks = {", deixe-me descer.", ", obrigado." }, storage = 0}, } types = {"normal", "fire", "fighting", "water", "flying", "grass", "poison", "electric", "ground", "psychic", "rock", "ice", "bug", "dragon", "ghost", "dark", "steel", "fairy"} typeTable = { ["normal"] = {super = {"none"}, weak = {"rock", "steel"}, non = {"ghost"}, stoneId = 12214, color = 129, damageID = NORMALDAMAGE}, ["fire"] = {super = {"bug", "grass", "ice", "steel"}, weak = {"dragon", "fire", "rock", "water"}, non = {"none"}, stoneId = 12210, color = 144, damageID = FIREDAMAGE}, ["fighting"] = {super = {"dark", "ice", "normal", "rock", "steel"}, weak = {"bug", "fairy", "flying", "poison", "psychic"}, non = {"ghost"}, stoneId = 12213, color = 127, damageID = FIGHTINGDAMAGE}, ["water"] = {super = {"fire", "ground", "rock"}, inef= {"water"}, weak = {"dragon", "water"}, non = {"none"}, stoneId = 12224, color = 29, damageID = WATERDAMAGE}, ["flying"] = {super = {"bug", "fighting", "grass"}, weak = {"electric", "rock", "steel"}, non = {"none"}, stoneId = 12214, color = 172, damageID = FLYINGDAMAGE}, ["grass"] = {super = {"ground", "rock"}, weak = {"bug", "dragon", "fire", "flying", "grass", "poison", "steel"}, non = {"none"}, stoneId = 12211, color = 26, damageID = GRASSDAMAGE}, ["poison"] = {super = {"fairy", "grass"}, weak = {"ghost", "ground", "poison", "rock"}, non = {"steel"}, stoneId = 12215, color = 103, damageID = POISONDAMAGE}, ["electric"] = {super = {"flying", "water"}, weak = {"dragon", "grass"}, non = {"ground"}, stoneId = 12220, color = 210, damageID = ELECTRICDAMAGE}, ["ground"] = {super = {"electric", "fire", "poison", "rock", "steel"}, weak = {"bug", "grass"}, non = {"flying"}, stoneId = 12222, color = 121, damageID = GROUNDDAMAGE}, ["psychic"] = {super = {"fighting", "poison"}, weak = {"psychic", "steel", "dark"}, non = {}, stoneId = 12221, color = 125, damageID = PSYCHICDAMAGE}, ["rock"] = {super = {"bug", "fire", "flying", "ice"}, weak = {"fighting", "ground", "steel"}, non = {"none"}, stoneId = 12223, color = 127, damageID = ROCKDAMAGE}, ["ice"] = {super = {"dragon", "flying", "grass", "ground"}, weak = {"fire", "ice", "steel", "water"}, non = {"none"}, stoneId = 12225, color = 71, damageID = ICEDAMAGE}, ["bug"] = {super = {"dark", "grass", "psychic"}, weak = {"fairy", "fighting", "fire", "flying", "ghost", "poison", "steel"}, non = {"none"}, stoneId = 12212, color = 30, damageID = BUGDAMAGE}, ["dragon"] = {super = {"dragon"}, weak = {"steel"}, non = {"fairy"}, stoneId = 12219, color = 175, damageID = DRAGONDAMAGE}, ["ghost"] = {super = {"ghost", "psychic"}, weak = {"dark"}, non = {"normal"}, stoneId = 12216, color = 77, damageID = GHOSTDAMAGE}, ["dark"] = {super = {"ghost", "psychic"}, weak = {"dark", "fairy", "fighting"}, non = {"none"}, stoneId = 12216, color = 53, damageID = DARKDAMAGE}, ["steel"] = {super = {"fairy", "ice", "rock"}, weak = {"electric", "fire", "steel", "water"}, non = {"none"}, stoneId = 12217, color = 172, damageID = STEELDAMAGE}, ["fairy"] = {super = {"dark", "dragon", "fighting"}, weak = {"fire", "poison", "steel"}, non = {"none"}, stoneId = 12214, color = 130, damageID = NORMALDAMAGE}, } fightMode = { [1] = {offense = 1.2, defense = 0.8}, [2] = {offense = 1.0, defense = 1.0}, [3] = {offense = 0.8, defense = 1.2}, } tableFome = { ["muitaFome"] = {hitMultiplier = 0.6, effe = 99}, ["fome"] = {hitMultiplier = 0.8, effe = 100}, ["normal"] = {hitMultiplier = 1, effe = 101}, ["saciado"] = {hitMultiplier = 1.1, effe = 102}, ["semFome"] = {hitMultiplier = 1.2, effe = 103}, } opcodes = { OPCODE_POKEDEX = 100, OPCODE_CREATE_POKEMONS = 101, OPCODE_SKILL_BAR = 102, OPCODE_EMERALD_SHOP = 103, OPCODE_POKEMON_HEALTH = 104, OPCODE_CATCH = 105, OPCODE_BATTLE_POKEMON = 106, OPCODE_FIGHT_MODE = 107, OPCODE_REQUEST_DUEL = 108, OPCODE_ACCEPT_DUEL = 109, OPCODE_YOU_ARE_DEAD = 110, OPCODE_DITTO_MEMORY = 111, OPCODE_TV_CAM = 125, OPCODE_TV_BLOCK_CLIENT = 126, OPCODE_PLAYER_DEAD_WINDOW = 130, OPCODE_PLAYER_SHOW_AUTOLOOT = 135, OPCODE_PLAYER_SHOW_ONLINE = 136, OPCODE_PLAYER_SHOW_TRADE_HELD = 137, } local NpcDescriptions = { ["Brock"] = {article = "Ele é", description = "líder do ginásio de Pewter"}, ["Misty"] = {article = "Ela é", description = "líder do ginásio de Cerulean"}, ["Surge"] = {article = "Ele é", description = "líder do ginásio de Vermilion"}, ["Erika"] = {article = "Ela é", description = "líder do ginásio de Celadon"}, ["Sabrina"] = {article = "Ela é", description = "líder do ginásio de Saffron"}, ["Koga"] = {article = "Ele é", description = "líder do ginásio de Fuchsia"}, ["Blaine"] = {article = "Ele é", description = "líder do ginásio de Cinnabar"}, ["Giovanni"] = {article = "Ele é", description = "líder do ginásio de Viridian"}, } diarias = { Easy = {"Charmander", "Squirtle", "Bulbasaur", "Oddish", "Totodile", "Diglett", "Natu", "Spinarak", "Pineco", "Sunkern", "Zubat", "Rattata", "Spearow", "Abra", "Pidgey", "Ponyta", "Ekans", "Koffing", "Vulpix", "Horsea"}, Medio = {"Ivysaur", "Tangela", "Charmeleon", "Wartortle", "Bayleef", "Quilava", "Croconaw", "Noctowl", "Hypno", "Kadabra", "Golbat", "Raticate", "Fearow", "Umbreon", "Lickitung", "Haunter", "Hitmonlee", "Hitmonchan", "Jumpluff", "Magcargo"}, Hard = {"Charizard", "Golem", "Blastoise", "Venusaur", "Typhlosion", "Alakazam", "Gengar", "Xatu", "Forretress", "Gyarados", "Heracross", "Qwilfish", "Skarmory", "Mantine", "Scyther", "Scizor", "Lapras", "Ampharos", "Arcanine", "Kangaskhan"}, Expert = {"Misdreavus", "Wobbuffet", "Alakazam", "Steelix", "Tyranitar", "Electabuzz", "Magmar", "Lapras", "Scyther", "Scizor", "Tentacruel", "Gyarados", "Kabutops", "Omastar", "Ampharos", "Kangaskhan", "Jynx", "Skarmory", "Mantine", "Kingdra", "Ancient Alakazam", "Ancient Dragonite", "Ancient Kingdra", "Ancient Meganium", "Aviator Pidgeot", "Banshee Misdreavus", "Bone Marowak", "Boxer Hitmonchan", "Brave Blastoise", "Brave Charizard", "Brave Nidoking", "Brave Nidoqueen", "Brave Noctowl", "Brave Venusaur", "Brute Rhydon", "Caopeira Hitmontop", "Charged Raichu", "Brute Rhydon", "Dark Crobat", "Enigmatic Girafarig", "Enraged Typhlosion", "Evil Cloyster", "Freezing Dewgong", "Furious Ampharos", "Furious Mantine", "Furious Sandslash", "Furious Scyther", "Hard Golem", "Heavy Piloswine", "Lava Magmar", "Magnet Electabuzz", "Metal Skarmory", "Milky Miltank", "Moon Clefable", "Octopus Octillery", "Psy Jynx", "Roll Donphan", "Trickmaster Gengar", "Singer Wigglypuff", "Taekwondo Hitmonlee", "Tribal Feraligatr", "War Gyarados", "War Heracross", "War Muk", "Wardog Arcanine" }, Lendario = { "Blastoise", "Venusaur", "Butterfree", "Beedrill", "Pidgeot", "Raichu", "Parasect", "Magmar", "Typhlosion", "Xatu", "Arcanine", "Tentacruel", "Gengar", "Kingler", "Seadra", "Scyther", "Pinsir", "Crobat", "Feraligatr", "Machamp", "Meganium", "Alakazam", "Tangela", "Ampharos", "Electabuzz", "Jynx", "Charizard", "Voltorb", "Electrode"} } storages = { -- Todas as storages usadas em quaisquer scripts terão q ser armazenadas aqui iconSys = 20000, pokedexSys = 8052, playerClan = 8053, playerClanRank = 8054, playerCasinoCoins = 8055, playerKantoCatches = 8056, playerTotalCatches = 8057, playerWins = 8058, playerLoses = 8059, playerOfficialWins = 8060, playerOfficialLoses = 8061, playerPVPScore = 8062, gynLeaders = { ["Brock"] = 8063, ["Misty"] = 8064, ["Surge"] = 8065, ["Erika"] = 8066, ["Sabrina"] = 8067, ["Koga"] = 8068, ["Blaine"] = 8069, ["Giovanni"] = 8070 }, markedPosPoke = 8071, blink = 8072, status = { attack = 8073, specialAtk = 8074, defense = 8075, vitality = 8076, fome = 8077, love = 8078, check = 8079, specialDef = 8080, speed = 8081 }, fightMode = 8082, potion = 8083, gobackDelay = 8084, GRRRRSto = 8085, moves = { [1] = 8086, [2] = 8087, [3] = 8088, [4] = 8089, [5] = 8090, [6] = 8091, [7] = 8092, [8] = 8093, [9] = 8094, [10] = 8095, [11] = 8096, [12] = 8097, [13] = 8098, [14] = 8099 }, pokedexDelay = 8100, focus = 8101, status = { ["sleep"] = 8102, ["stun"] = 8103, ["string"] = 8104, ["blind"] = 8105, ["confusion"] = 8106, ["poison"] = 8107, ["burn"] = 8108, ["leechSeed"] = 8109, ["speedDown"] = 8110, ["fear"] = 8111, ["involved"] = 8112, ["silence"] = 8113, ["rage"] = 8114, ["harden"] = 8115, ["strafe"] = 8116, ["speedUp"] = 8117 }, duel = { requestCountPlayer = 8118, requestCountPokemon = 8119, requestedPlayer = 8120, isInDuel = 8121, }, teamRed = 8122, teamBlue = 8123, reflect = 8124, damageKillExp = 8125, catchAnuncio = 8126, miniQuests = { tonny = {QuestStor = 8135, StatusMission = 8136}, storNpcTaskName = 8137, storPokeNameTask1 = 8138, storPokeCountTask1 = 8139, storDayTask1 = 8140, storNpcTaskName2 = 8141, storPokeNameTask2 = 8142, storPokeCountTask2 = 8143, storDayTask2 = 8144, storNpcTaskName3 = 8145, storPokeNameTask3 = 8146, storPokeCountTask3 = 8147, storDayTask3 = 8148, storNpcTaskName4 = 8149, storPokeNameTask4 = 8150, storPokeCountTask4 = 8151, storDayTask4 = 8152, }, isMega = 20000, isMegaID = 20001, isPokemonGhost = 20002, globalsTV = 52010, TVHoras = 52011, TVMins = 52012, TVSecs = 52013, playerTVName = 55014, playerTVPass = 55015, playerListWatchs = 55016, playerIsTvWatching = 55017, playerIsTvWhosWatching = 55018, playerIsTvInitialPos = 55019, playerIsDead = 20003, betaStorage = 20004, GetClienteVersion = 20005, BugFishing = 20006, AutoLootList = 20007, UsingAutoLoot = 20008, SmeargleID = 20009, isWildTrainer = 20010, wildTrainerPokemons = 20011, isWildTrainerPoke = 20012, NPCPokeCounts = 20013, isWildTrainerID = 20014, NPCNameWILD = 20015, NPCNIVEL = 20016, BrotherHoodMember = 20017, BrotherHoodMemberRANK = 20018, BrotherHoodMemberOUTFITDUELIST = 20019, BrotherHoodMemberOUTFITMASTER = 20020, NPCPOSDESC = 20021, WILDNPCMYSUMMON = 20022, PLAYERCONTRACTSCOUNTS = 20023, NPCCITY = 20024, AutoLootCollectAll = 20025, TASKSYSTEMNOTWOTARGETS = 20026, -- player tem q matar o poke com o mesmo summon para contar na diaria ISBLOCKEDRESPAWN = 20027, } missStatus = {"stun", "string", "blind", "confusion"} silenceStatus = {"sleep", "fear", "involved", "silence"} buffStatus = {"rage", "harden", "strafe", "speedUp"} allStatus = {"sleep", "stun", "string", "blind", "confusion", "poison", "burn", "leechSeed", "speedDown", "fear", "involved", "silence", "rage", "harden", "strafe", "speedUp"} passivepokemons = {"Shiny Tangela", "Eevee", "Caterpie", "Metapod", "Butterfree", 'Pidgey', 'Clefairy', 'Jigglypuff', 'Oddish', 'Gloom', 'Paras', 'Psyduck', 'Bellsprout', 'Weepinbell', 'Slowpoke', 'Slowbro', "Farfetch'd", 'Doduo', 'Dodrio', 'Seel', 'Shellder', 'Kangaskhan', 'Chansey', 'Tangela', 'Mr. Mime', 'Tauros', 'Ditto', 'Lapras', 'Porygon', 'Omanyte', 'hoppip'} ----------------------------------------- Headbutt headbutt = { [25] = {{"Arcanine", 1}}, [40] = {{"Arcanine", 1}}, [60] = {{"Arcanine", 1}}, [80] = {{"Arcanine", 1}}, [1000] = {{"Arcanine", 1}}, } ----------------------------------------- Headbutt oldpokedexToCatch = { {"Bulbasaur", 18, 1001, 10000}, {"Ivysaur", 38, 1002, 15000}, {"Venusaur", 75, 1003, 200000}, {"Charmander", 18, 1004, 10000}, {"Charmeleon", 38, 1005, 15000}, {"Charizard", 75, 1006, 200000}, {"Squirtle", 18, 1007, 10000}, {"Wartortle", 38, 1008, 15000}, {"Blastoise", 75, 1009, 200000}, {"Caterpie", 3, 1010, 500}, {"Metapod", 10, 1011, 3000}, {"Butterfree", 30, 1012, 10000}, {"Weedle", 3, 1013, 500}, {"Kakuna", 10, 1014, 3000}, {"Beedrill", 30, 1015, 10000}, {"Pidgey", 5, 1016, 500}, {"Pidgeotto", 20, 1017, 3000}, {"Pidgeot", 60, 1018, 200000}, {"Rattata", 3, 1019, 500}, {"Raticate", 20, 1020, 10000}, {"Spearow", 5, 1021, 500}, {"Fearow", 50, 1022, 50000}, {"Ekans", 12, 1023, 3000}, {"Arbok", 30, 1024, 15000}, {"Pikachu", 20, 1025, 15000}, {"Raichu", 50, 1026, 200000}, {"Sandshrew", 18, 1027, 3000}, {"Sandslash", 55, 1028, 100000}, {"Nidoran Female", 10, 1029, 3000}, {"Nidorina", 25, 1030, 10000}, {"Nidoqueen", 65, 1031, 100000}, {"Nidoran Male", 10, 1032, 3000}, {"Nidorino", 25, 1033, 10000}, {"Nidoking", 65, 1034, 100000}, {"Clefairy", 10, 1035, 15000}, {"Clefable", 35, 1036, 100000}, {"Vulpix", 16, 1037, 3000}, {"Ninetales", 65, 1038, 200000}, {"Jigglypuff", 10, 1039, 15000}, {"Wigglytuff", 42, 1040, 100000}, {"Zubat", 5, 1041, 3000}, {"Golbat", 30, 1042, 15000}, {"Oddish", 5, 1043, 500}, {"Gloom", 18, 1044, 10000}, {"Vileplume", 50, 1045, 50000}, {"Paras", 5, 1046, 500}, {"Parasect", 40, 1047, 50000}, {"Venonat", 14, 1048, 3000}, {"Venomoth", 40, 1049, 50000}, {"Diglett", 5, 1050, 3000}, {"Dugtrio", 35, 1051, 15000}, {"Meowth", 12, 1052, 3000}, {"Persian", 25, 1053, 50000}, {"Psyduck", 12, 1054, 3000}, {"Golduck", 55, 1055, 200000}, {"Mankey", 10, 1056, 3000}, {"Primeape", 45, 1057, 50000}, {"Growlithe", 16, 1058, 3000}, {"Arcanine", 70, 1059, 500000}, {"Poliwag", 5, 1060, 500}, {"Poliwhirl", 20, 1061, 3000}, {"Poliwrath", 60, 1062, 100000}, {"Abra", 12, 1063, 3000}, {"Kadabra", 40, 1064, 15000}, {"Alakazam", 70, 1065, 200000}, {"Machop", 16, 1066, 3000}, {"Machoke", 38, 1067, 15000}, {"Machamp", 70, 1068, 200000}, {"Bellsprout", 5, 1069, 500}, {"Weepinbell", 18, 1070, 3000}, {"Victreebel", 50, 1071, 50000}, {"Tentacool", 12, 1072, 3000}, {"Tentacruel", 70, 1073, 200000}, {"Geodude", 15, 1074, 3000}, {"Graveler", 40, 1075, 15000}, {"Golem", 70, 1076, 200000}, {"Ponyta", 15, 1077, 3000}, {"Rapidash", 55, 1078, 50000}, {"Slowpoke", 12, 1079, 3000}, {"Slowbro", 45, 1080, 15000}, {"Magnemite", 15, 1081, 3000}, {"Magneton", 38, 1082, 15000}, {"Farfetch'd", 35, 1083, 50000}, {"Doduo", 12, 1084, 3000}, {"Dodrio", 42, 1085, 15000}, {"Seel", 14, 1086, 3000}, {"Dewgong", 55, 1087, 15000}, {"Grimer", 12, 1088, 3000}, {"Muk", 30, 1089, 50000}, {"Shellder", 5, 1090, 3000}, {"Cloyster", 65, 1091, 100000}, {"Gastly", 14, 1092, 3000}, {"Haunter", 40, 1093, 15000}, {"Gengar", 70, 1094, 200000}, {"Onix", 50, 1095, 50000}, {"Drowzee", 18, 1096, 3000}, {"Hypno", 50, 1097, 50000}, {"Krabby", 5, 1098, 3000}, {"Kingler", 35, 1099, 15000}, {"Voltorb", 14, 1100, 3000}, {"Electrode", 38, 1101, 15000}, {"Exeggcute", 8, 1102, 3000}, {"Exeggutor", 48, 1103, 50000}, {"Cubone", 18, 1104, 3000}, {"Marowak", 45, 1105, 50000}, {"Hitmonlee", 60, 1106, 500000}, {"Hitmonchan", 60, 1107, 500000}, {"Lickitung", 45, 1108, 500000}, {"Koffing", 15, 1109, 3000}, {"Weezing", 30, 1110, 15000}, {"Rhyhorn", 35, 1111, 3000}, {"Rhydon", 65, 1112, 200000}, {"Chansey", 50, 1113, 500000}, {"Tangela", 35, 1114, 50000}, {"Kangaskhan", 65, 1115, 500000}, {"Horsea", 5, 1116, 3000}, {"Seadra", 40, 1117, 15000}, {"Goldeen", 10, 1118, 3000}, {"Seaking", 25, 1119, 15000}, {"Staryu", 15, 1120, 3000}, {"Starmie", 38, 1121, 15000}, {"Mr. Mime", 45, 1122, 500000}, {"Scyther", 60, 1123, 650000}, {"Jynx", 55, 1124, 500000}, {"Electabuzz", 60, 1125, 500000}, {"Magmar", 60, 1126, 500000}, {"Pinsir", 42, 1127, 200000}, {"Tauros", 40, 1128, 50000}, {"Magikarp", 1, 1129, 500}, {"Gyarados", 75, 1130, 500000}, {"Lapras", 65, 1131, 500000}, {"Ditto", 40, 1132, 350000}, {"Eevee", 20, 1133, 250000}, {"Vaporeon", 55, 1134, 300000}, {"Jolteon", 55, 1135, 300000}, {"Flareon", 55, 1136, 300000}, {"Porygon", 45, 1137, 250000}, {"Omanyte", 20, 1138, 50000}, {"Omastar", 70, 1139, 200000}, {"Kabuto", 20, 1140, 50000}, {"Kabutops", 70, 1141, 200000}, {"Aerodactyl", 85, 1142, 1000000}, {"Snorlax", 85, 1143, 650000}, {"Articuno", 100, 1144, 100000}, {"Zapdos", 100, 1145, 1000000}, {"Moltres", 100, 1146, 1000000}, {"Dratini", 15, 1147, 50000}, {"Dragonair", 45, 1148, 500000}, {"Dragonite", 85, 1149, 650000}, {"Mewtwo", 100, 1150, 1000000}, {"Mew", 100, 1151, 1000000}, -- fix {"Lucario", 90, 1152, 650000}, {"Riolu", 60, 1152, 65000}, -------------------old Shiny--------- {"Shiny Venusaur", 75, 10030, 300000}, {"Shiny Charizard", 75, 10060, 300000}, {"Shiny Blastoise", 75, 10090, 300000}, {"Shiny Butterfree", 30, 10120, 50000}, {"Shiny Beedrill", 30, 10150, 50000}, {"Shiny Pidgeot", 60, 10180, 200000}, {"Shiny Rattata", 3, 10190, 50000}, {"Shiny Raticate", 20, 10200, 70000}, {"Shiny Fearow", 50, 10220, 100000}, {"Shiny Raichu", 50, 10260, 100000}, {"Shiny Nidoking", 65, 10340, 100000}, {"Shiny Zubat", 5, 10410, 50000}, {"Shiny Golbat", 30, 10420, 70000}, {"Shiny Oddish", 5, 10430, 50000}, {"Shiny Vileplume", 50, 10450, 100000}, {"Shiny Paras", 5, 10460, 50000}, {"Shiny Parasect", 40, 10470, 70000}, {"Shiny Venonat", 14, 10480, 50000}, {"Shiny Venomoth", 40, 10490, 200000}, {"Shiny Growlithe", 16, 10580, 100000}, {"Shiny Arcanine", 70, 10590, 500000}, {"Shiny Abra", 12, 10630, 200000}, {"Shiny Alakazam", 70, 10650, 500000}, {"Shiny Tentacool", 12, 10720, 50000}, {"Shiny Tentacruel", 70, 10730, 200000}, {"Shiny Golem", 70, 10760, 200000}, {"Shiny Farfetch'd", 35, 10830, 300000}, {"Shiny Grimer", 12, 10880, 50000}, {"Shiny Muk", 30, 10890, 200000}, {"Shiny Gengar", 70, 10940, 500000}, {"Shiny Onix", 50, 10950, 500000}, {"Shiny Hypno", 50, 10970, 100000}, {"Shiny Krabby", 5, 10980, 50000}, {"Shiny Kingler", 35, 10990, 70000}, {"Shiny Voltorb", 14, 11000, 50000}, {"Shiny Electrode", 38, 11010, 70000}, {"Shiny Cubone", 18, 11040, 50000}, {"Shiny Marowak", 45, 11050, 100000}, {"Shiny Hitmonlee", 60, 11060, 200000}, {"Shiny Hitmonchan", 60, 11070, 200000}, {"Shiny Tangela", 35, 11140, 300000}, {"Shiny Horsea", 5, 11160, 50000}, {"Shiny Seadra", 40, 11170, 70000}, {"Shiny Scyther", 60, 11230, 750000}, {"Shiny Jynx", 55, 11240, 500000}, {"Shiny Electabuzz", 60, 11250, 500000}, {"Shiny Pinsir", 42, 11270, 100000}, {"Shiny Magikarp", 1, 11290, 50000}, {"Shiny Gyarados", 75, 11300, 500000}, {"Shiny Vaporeon", 55, 11340, 50000}, {"Shiny Jolteon", 55, 11350, 50000}, {"Shiny Flareon", 55, 11360, 50000}, {"Shiny Snorlax", 85, 11430, 200000}, {"Shiny Dratini", 15, 11470, 50000}, {"Shiny Dragonair", 45, 11480, 100000}, {"Shiny Dragonite", 85, 11490, 300000}, ---------------old johto----------- {"Chikorita", 18, 1152, 10000}, {"Bayleef", 38, 1153, 15000}, {"Meganium", 75, 1154, 200000}, {"Cyndaquil", 18, 1155, 10000}, {"Quilava", 38, 1156, 15000}, {"Typhlosion", 75, 1157, 200000}, {"Totodile", 18, 1158, 10000}, {"Croconaw", 38, 1159, 15000}, {"Feraligatr", 75, 1160, 200000}, {"Sentret", 3, 1161, 3000}, {"Furret", 28, 1162, 15000}, {"Hoothoot", 3, 1163, 10000}, {"Noctowl", 38, 1164, 100000}, {"Ledyba", 12, 1165, 3000}, {"Ledian", 30, 1166, 15000}, {"Spinarak", 15, 1167, 3000}, {"Ariados", 42, 1168, 50000}, {"Crobat", 70, 1169, 500000}, {"Chinchou", 14, 1170, 3000}, {"Lanturn", 38, 1171, 100000}, {"Pichu", 3, 1172, 10000}, {"Cleffa", 3, 1173, 10000}, {"Igglybuff", 3, 1174, 10000}, {"Togepi", 10, 1175, 50000}, {"Togetic", 45, 1176, 500000}, {"Natu", 15, 1177, 15000}, {"Xatu", 45, 1178, 200000}, {"Mareep", 12, 1179, 10000}, {"Flaaffy", 30, 1180, 15000}, {"Ampharos", 65, 1181, 200000}, {"Bellossom", 50, 1182, 50000}, {"Marill", 14, 1183, 10000}, {"Azumarill", 28, 1184, 100000}, {"Sudowoodo", 46, 1185, 500000}, {"Politoed", 60, 1186, 100000}, {"Hoppip", 10, 1187, 500}, {"Skiploom", 20, 1188, 10000}, {"Jumpluff", 30, 1189, 50000}, {"Aipom", 10, 1190, 150000}, {"Sunkern", 3, 1191, 500}, {"Sunflora", 50, 1192, 50000}, {"Yanma", 32, 1193, 50000}, {"Wooper", 18, 1194, 10000}, {"Quagsire", 55, 1195, 100000}, {"Espeon", 55, 1196, 100000}, {"Umbreon", 55, 1197, 100000}, {"Murkrow", 35, 1198, 50000}, {"Slowking", 60, 1199, 200000}, {"Misdreavus", 47, 1200, 1000000}, {"Unown", 15, 1201, 1000000}, {"Wobbuffet", 42, 1202, 1000000}, {"Girafarig", 42, 1203, 500000}, {"Pineco", 18, 1204, 3000}, {"Forretress", 55, 1205, 100000}, {"Dunsparce", 35, 1206, 15000}, {"Gligar", 30, 1207, 15000}, {"Steelix", 75, 1208, 650000}, {"Snubbull", 20, 1209, 10000}, {"Granbull", 42, 1210, 50000}, {"Qwilfish", 16, 1211, 100000}, {"Scizor", 75, 1212, 1000000}, {"Shuckle", 10, 1213, 3000}, {"Heracross", 60, 1214, 500000}, {"Sneasel", 50, 1215, 15000}, {"Teddiursa", 20, 1216, 500000}, {"Ursaring", 70, 1217, 650000}, {"Slugma", 18, 1218, 3000}, {"Magcargo", 40, 1219, 100000}, {"Swinub", 12, 1220, 3000}, {"Piloswine", 70, 1221, 100000}, {"Corsola", 42, 1222, 50000}, {"Remoraid", 14, 1223, 3000}, {"Octillery", 38, 1224, 100000}, {"Delibird", 25, 1225, 15000}, {"Mantine", 50, 1226, 500000}, {"Skarmory", 70, 1227, 500000}, {"Houndour", 18, 1228, 10000}, {"Houndoom", 70, 1229, 200000}, {"Kingdra", 75, 1230, 500000}, {"Phanpy", 12, 1231, 10000}, {"Donphan", 45, 1232, 200000}, {"Porygon2", 60, 1233, 350000}, {"Stantler", 35, 1234, 50000}, {"Smeargle", 28, 1235, 350000}, {"Tyrogue", 15, 1236, 200000}, {"Hitmontop", 60, 1237, 500000}, {"Smoochum", 3, 1238, 15000}, {"Elekid", 3, 1239, 15000}, {"Magby", 3, 1240, 15000}, {"Miltank", 32, 1241, 500000}, {"Blissey", 70, 1242, 650000}, {"Raikou", 100, 1243, 1000000}, {"Entei", 100, 1244, 1000000}, {"Suicune", 100, 1245, 1000000}, {"Larvitar", 10, 1246, 50000}, {"Pupitar", 50, 1247, 500000}, {"Tyranitar", 90, 1248}, 650000, {"Lugia", 100, 1249, 1000000}, {"Ho-oh", 100, 1250, 1000000}, {"Celebi", 100, 1251, 1000000}, {"Shiny Hitmontop", 100, 11520, 600000}, {"Shiny Mr. Mime", 45, 11521, 600000}, --alterado v1.9 {"Shiny Ninetales", 65, 11522, 500000}, {"Shiny Ariados", 42, 11523, 100000}, {"Shiny Magneton", 38, 11524, 100000}, {"Shiny Espeon", 55, 11525, 50000}, {"Shiny Politoed", 60, 11526, 100000}, {"Shiny Umbreon", 55, 11527, 100000}, {"Shiny Stantler", 35, 11528, 100000}, {"Shiny Dodrio", 42, 11529, 100000}, {"Shiny Rhydon", 65, 11530, 500000}, } ------------------------------------------Look system------------------------------------------ lookClans = { [1] = {"a Volcanic Spark", "a Volcanic Flame","a Volcanic Firetamer","a Volcanic Pyromancer","a Volcanic Master"}, [2] = {"a Seavell Drop", "a Seavell Icelake","a Seavell Waterfall","a Seavell Frost","a Seavell Master"}, [3] = {"an Orebound Sand", "an Orebound Rock","an Orebound Solid","an Orebound Hardskin","an Orebound Hero"}, [4] = {"a Wingeon Cloud", "a Wingeon Wind","a Wingeon Sky","a Wingeon Falcon","a Wingeon Dragon"}, [5] = {"a Malefic Troublemaker", "a Malefic Venomancer","a Malefic Spectre","a Malefic Nightwalker","a Malefic Master"}, [6] = {"a Gardestrike Fist", "a Gardestrike Tamer","a Gardestrike Fighter","a Gardestrike DeathHand","a Gardestrike Champion"}, [7] = {"a Psycraft Mind", "a Psycraft Brain","a Psycraft Scholar","a Psycraft Telepath","a Psycraft Medium"}, [8] = {"a Naturia Seed", "a Naturia Sprout","a Naturia Webhead","a Naturia Woodtrunk","a Naturia Keeper"}, [9] = {"a Raibolt Shock", "a Raibolt Watt","a Raibolt Electrician","a Raibolt Overcharged","a Raibolt Legend"}, } youAre = { [2] = "Tutor", [3] = "Senior Tutor", [4] = "Game Master", [5] = "Sub", [6] = "Game Master", [15] = "Owner of the game" } movestable = { ["Bulbasaur"] = {move1 = {name = "Tackle", level = 20, cd = 15}, move2 = {name = "Razor Leaf", level = 20, cd = 10}, move3 = {name = "Vine Whip", level = 20, cd = 20}, move4 = {name = "Headbutt", level = 20, cd = 15}, move5 = {name = "Leech Seed", level = 22, cd = 20}, move6 = {name = "Solar Beam", level = 30, cd = 60}, move7 = {name = "Sleep Powder", level = 28, cd = 60}, move8 = {name = "Stun Spore", level = 26, cd = 45}, move9 = {name = "Poison Powder", level = 24, cd = 20}, }, ["Ivysaur"] = {move1 = {name = "Tackle", level = 40, cd = 15}, move2 = {name = "Razor Leaf", level = 40, cd = 10}, move3 = {name = "Vine Whip", level = 40, cd = 20}, move4 = {name = "Headbutt", level = 40, cd = 15}, move5 = {name = "Leech Seed", level = 40, cd = 30}, move6 = {name = "Bullet Seed", level = 45, cd = 35}, move7 = {name = "Solar Beam", level = 50, cd = 60}, move8 = {name = "Sleep Powder", level = 44, cd = 60}, move9 = {name = "Stun Spore", level = 40, cd = 45}, move10 = {name = "Poison Powder", level = 40, cd = 20}, }, ["Venusaur"] = {move1 = {name = "Tackle", level = 80, cd = 15}, move2 = {name = "Razor Leaf", level = 80, cd = 10}, move3 = {name = "Vine Whip", level = 80, cd = 20}, move4 = {name = "Headbutt", level = 80, cd = 15}, move5 = {name = "Leech Seed", level = 80, cd = 20}, move6 = {name = "Bullet Seed", level = 80, cd = 35}, move7 = {name = "Solar Beam", level = 80, cd = 60}, move8 = {name = "Giga Drain", level = 85, cd = 60}, move9 = {name = "Sleep Powder", level = 80, cd = 60}, move10 = {name = "Poison Powder", level = 80, cd = 20}, move11 = {name = "Leaf Storm", level = 90, cd = 80}, }, ["Charmander"] = {move1 = {name = "Scratch", level = 20, cd = 15}, move2 = {name = "Ember", level = 20, cd = 10}, move3 = {name = "Flamethrower", level = 20, cd = 20}, move4 = {name = "Fireball", level = 24, cd = 25}, move5 = {name = "Fire Fang", level = 22, cd = 20}, move6 = {name = "Fire Blast", level = 30, cd = 60}, move7 = {name = "Rage", level = 30, cd = 40}, }, ["Charmeleon"] = {move1 = {name = "Scratch", level = 40, cd = 15}, move2 = {name = "Ember", level = 40, cd = 10}, move3 = {name = "Flamethrower", level = 40, cd = 20}, move4 = {name = "Fireball", level = 40, cd = 25}, move5 = {name = "Fire Fang", level = 40, cd = 20}, move6 = {name = "Flame Burst", level = 45, cd = 35}, move7 = {name = "Fire Blast", level = 50, cd = 60}, move8 = {name = "Rage", level = 40, cd = 40}, }, ["Charizard"] = {move1 = {name = "Scratch", level = 80, cd = 15}, move2 = {name = "Ember", level = 80, cd = 10}, move3 = {name = "Flamethrower", level = 80, cd = 20}, move4 = {name = "Fireball", level = 80, cd = 25}, move5 = {name = "Fire Fang", level = 80, cd = 20}, move6 = {name = "Flame Burst", level = 85, cd = 35}, move7 = {name = "Fire Blast", level = 90, cd = 60}, move8 = {name = "Wing Attack", level = 83, cd = 30}, move9 = {name = "Air Slash", level = 85, cd = 35}, move10 = {name = "Magma Storm", level = 90, cd = 80}, move11 = {name = "Scary Face", level = 82, cd = 40}, move12 = {name = "Rage", level = 80, cd = 40}, }, ["Squirtle"] = {move1 = {name = "Headbutt", level = 20, cd = 15}, move2 = {name = "Bubbles", level = 20, cd = 10}, move3 = {name = "Water Gun", level = 20, cd = 20}, move4 = {name = "Waterball", level = 24, cd = 25}, move5 = {name = "Aqua Tail", level = 22, cd = 20}, move6 = {name = "Hydro Cannon", level = 30, cd = 60}, move7 = {name = "Harden", level = 28, cd = 40}, }, ["Wartortle"] = {move1 = {name = "Headbutt", level = 40, cd = 15}, move2 = {name = "Bubbles", level = 40, cd = 10}, move3 = {name = "Water Gun", level = 40, cd = 20}, move4 = {name = "Waterball", level = 40, cd = 25}, move5 = {name = "Aqua Tail", level = 40, cd = 20}, move6 = {name = "Brine", level = 45, cd = 35}, move7 = {name = "Hydro Cannon", level = 50, cd = 60}, move8 = {name = "Harden", level = 40, cd = 40}, }, ["Blastoise"] = {move1 = {name = "Headbutt", level = 80, cd = 15}, move2 = {name = "Bubbles", level = 80, cd = 10}, move3 = {name = "Water Gun", level = 80, cd = 20}, move4 = {name = "Waterball", level = 80, cd = 25}, move5 = {name = "Water Pulse", level = 80, cd = 20}, move6 = {name = "Brine", level = 80, cd = 35}, move7 = {name = "Hydro Cannon", level = 80, cd = 60}, move8 = {name = "Skull Bash", level = 85, cd = 35}, move9 = {name = "Hydropump", level = 90, cd = 80}, move10 = {name = "Harden", level = 80, cd = 40}, }, ["Caterpie"] = {move1 = {name = "Headbutt", level = 1, cd = 15}, move2 = {name = "String Shot", level = 1, cd = 5}, move3 = {name = "Bug Bite", level = 1, cd = 10}, }, ["Metapod"] = {move1 = {name = "String Shot", level = 10, cd = 10}, move2 = {name = "Headbutt", level = 10, cd = 15}, move3 = {name = "Harden", level = 10, cd = 20}, move4 = {name = "Bug Bite", level = 10, cd = 10}, }, ["Butterfree"] = {move1 = {name = "Super Sonic", level = 30, cd = 30}, move2 = {name = "Silver Wind", level = 30, cd = 15}, move3 = {name = "Whirlwind", level = 32, cd = 25}, move4 = {name = "Confusion", level = 34, cd = 30}, move5 = {name = "Psybeam", level = 36, cd = 10}, move6 = {name = "Air Cutter", level = 38, cd = 25}, move7 = {name = "Sleep Powder", level = 30, cd = 60}, move8 = {name = "Safeguard", level = 40, cd = 40}, move9 = {name = "Poison Powder", level = 30, cd = 20}, }, ["Weedle"] = {move1 = {name = "Horn Attack", level = 1, cd = 22}, move2 = {name = "String Shot", level = 1, cd = 10}, move3 = {name = "Poison Sting", level = 1, cd = 10}, move4 = {name = "Invisible", level = 1, cd = 1}, }, ["Kakuna"] = {move1 = {name = "String Shot", level = 10, cd = 10}, move2 = {name = "Headbutt", level = 10, cd = 15}, move3 = {name = "Harden", level = 10, cd = 20}, move4 = {name = "Bug Bite", level = 10, cd = 10}, }, ["Beedrill"] = {move1 = {name = "String Shot", level = 30, cd = 15}, move2 = {name = "Poison Jab", level = 30, cd = 15}, move3 = {name = "Poison Sting", level = 30, cd = 10}, move4 = {name = "Fury Cutter", level = 35, cd = 20}, move5 = {name = "Pin Missile", level = 35, cd = 15}, move6 = {name = "Toxic Spikes", level = 32, cd = 25}, move7 = {name = "Rage", level = 30, cd = 30}, move8 = {name = "Strafe", level = 38, cd = 30}, }, ["Pidgey"] = {move1 = {name = "Quick Attack", level = 1, cd = 10}, move2 = {name = "Sand Attack", level = 1, cd = 12}, move3 = {name = "Gust", level = 3, cd = 20}, move4 = {name = "Drill Peck", level = 8, cd = 13}, }, ["Pidgeotto"] = {move1 = {name = "Quick Attack", level = 20, cd = 10}, move2 = {name = "Sand Attack", level = 20, cd = 15}, move3 = {name = "Whirlwind", level = 20, cd = 22}, move4 = {name = "Drill Peck", level = 20, cd = 18}, move5 = {name = "Wing Attack", level = 25, cd = 25}, move6 = {name = "Aeroblast", level = 30, cd = 60}, }, ["Pidgeot"] = {move1 = {name = "Quick Attack", level = 80, cd = 10}, move2 = {name = "Sand Attack", level = 80, cd = 12}, move3 = {name = "Whirlwind", level = 80, cd = 20}, move4 = {name = "Drill Peck", level = 80, cd = 13}, move5 = {name = "Wing Attack", level = 82, cd = 15}, move6 = {name = "Aeroblast", level = 84, cd = 60}, move7 = {name = "Hurricane", level = 90, cd = 40}, move8 = {name = "Agility", level = 80, cd = 40}, move8 = {name = "Roost", level = 85, cd = 80}, }, ["Rattata"] = {move1 = {name = "Quick Attack", level = 1, cd = 15}, move2 = {name = "Bite", level = 1, cd = 15}, move3 = {name = "Scratch", level = 1, cd = 15}, move4 = {name = "Super Fang", level = 12, cd = 45}, }, ["Raticate"] = {move1 = {name = "Quick Attack", level = 30, cd = 10}, move2 = {name = "Bite", level = 30, cd = 10}, move3 = {name = "Scratch", level = 30, cd = 10}, move4 = {name = "Pursuit", level = 30, cd = 10}, move5 = {name = "Super Fang", level = 30, cd = 20}, move6 = {name = "Scary Face", level = 32, cd = 35}, }, ["Spearow"] = {move1 = {name = "Quick Attack", level = 10, cd = 10}, move2 = {name = "Sand Attack", level = 10, cd = 12}, move3 = {name = "Gust", level = 12, cd = 20}, move4 = {name = "Drill Peck", level = 10, cd = 15}, move5 = {name = "Agility", level = 10, cd = 25}, }, ["Fearow"] = {move1 = {name = "Peck", level = 50, cd = 10}, move2 = {name = "Sand Attack", level = 50, cd = 12}, move3 = {name = "Drill Peck", level = 50, cd = 18}, move4 = {name = "Whirlwind", level = 50, cd = 30}, move5 = {name = "Air Cutter", level = 50, cd = 35}, move6 = {name = "Wing Attack", level = 52, cd = 35}, move7 = {name = "Aerial Ace", level = 50, cd = 60}, move8 = {name = "Agility", level = 50, cd = 25}, }, ["Ekans"] = {move1 = {name = "Bite", level = 10, cd = 10}, move2 = {name = "Poison Fang", level = 10, cd = 15}, move3 = {name = "Gunk Shot", level = 12, cd = 15}, move4 = {name = "Acid", level = 15, cd = 20}, move5 = {name = "Fear", level = 20, cd = 40}, }, ["Arbok"] = {move1 = {name = "Bite", level = 40, cd = 10}, move2 = {name = "Poison Fang", level = 40, cd = 15}, move3 = {name = "Gunk Shot", level = 40, cd = 15}, move4 = {name = "Wrap", level = 40, cd = 20}, move5 = {name = "Pin Missile", level = 43, cd = 20}, move6 = {name = "Acid", level = 40, cd = 20}, move7 = {name = "Iron Tail", level = 40, cd = 20}, move8 = {name = "Poison Jab", level = 40, cd = 20}, }, ["Pikachu"] = {move1 = {name = "Mega Kick", level = 40, cd = 40}, move2 = {name = "Thunder Shock", level = 40, cd = 10}, move3 = {name = "Thunder Bolt", level = 40, cd = 20}, move4 = {name = "Thunder Wave", level = 40, cd = 25}, move5 = {name = "Thunder Punch", level = 40, cd = 30}, move6 = {name = "Iron Tail", level = 40, cd = 20}, move7 = {name = "Thunder", level = 50, cd = 60}, move8 = {name = "Electric Storm", level = 55, cd = 80}, move9 = {name = "Agility", level = 50, cd = 40}, }, ["Raichu"] = {move1 = {name = "Mega Kick", level = 80, cd = 30}, move2 = {name = "Thunder Shock", level = 80, cd = 10}, move3 = {name = "Thunder Bolt", level = 80, cd = 20}, move4 = {name = "Thunder Wave", level = 80, cd = 25}, move5 = {name = "Thunder Punch", level = 80, cd = 20}, move6 = {name = "Iron Tail", level = 80, cd = 20}, move7 = {name = "Body Slam", level = 85, cd = 30}, move8 = {name = "Thunder", level = 80, cd = 60}, move9 = {name = "Electric Storm", level = 90, cd = 80}, }, ["Sandshrew"] = {move1 = {name = "Sand Attack", level = 20, cd = 15}, move2 = {name = "Mud Shot", level = 20, cd = 15}, move3 = {name = "Scratch", level = 20, cd = 5}, move4 = {name = "Rollout", level = 25, cd = 30}, move5 = {name = "Bulldoze", level = 30, cd = 50}, }, ["Sandslash"] = {move1 = {name = "Sand Attack", level = 70, cd = 10}, move2 = {name = "Mud Shot", level = 70, cd = 15}, move3 = {name = "Scratch", level = 70, cd = 10}, move4 = {name = "Rollout", level = 70, cd = 25}, move5 = {name = "Bulldoze", level = 70, cd = 50}, move6 = {name = "Fury Cutter", level = 75, cd = 20}, move7 = {name = "Earth Power", level = 73, cd = 50}, move8 = {name = "Earthquake", level = 80, cd = 80}, move9 = {name = "Defense Curl", level = 70, cd = 60}, }, ["Nidoran Female"] = {move1 = {name = "Quick Attack", level = 10, cd = 8}, move2 = {name = "Bite", level = 10, cd = 10}, move3 = {name = "Horn Attack", level = 12, cd = 20}, move4 = {name = "Poison Sting", level = 10, cd = 15}, move5 = {name = "Poison Fang", level = 15, cd = 25}, }, ["Nidorina"] = {move1 = {name = "Quick Attack", level = 30, cd = 8}, move2 = {name = "Horn Attack", level = 30, cd = 20}, move3 = {name = "Poison Jab", level = 30, cd = 20}, move4 = {name = "Earth Power", level = 30, cd = 60}, move5 = {name = "Dig", level = 32, cd = 40}, move6 = {name = "Cross Poison", level = 32, cd = 40}, move7 = {name = "Agility", level = 30, cd = 30}, }, ["Nidoqueen"] = {move1 = {name = "Quick Attack", level = 70, cd = 8}, move2 = {name = "Horn Attack", level = 70, cd = 20}, move3 = {name = "Sand Tomb", level = 70, cd = 35}, move4 = {name = "Poison Jab", level = 70, cd = 20}, move5 = {name = "Earth Power", level = 70, cd = 60}, move6 = {name = "Dig", level = 72, cd = 40}, move7 = {name = "Cross Poison", level = 72, cd = 40}, move8 = {name = "Earthquake", level = 76, cd = 60}, move9 = {name = "Agility", level = 70, cd = 30}, }, ["Nidoran Male"] = {move1 = {name = "Quick Attack", level = 10, cd = 8}, move2 = {name = "Bite", level = 10, cd = 10}, move3 = {name = "Horn Attack", level = 12, cd = 20}, move4 = {name = "Poison Sting", level = 10, cd = 15}, move5 = {name = "Poison Fang", level = 15, cd = 25}, }, ["Nidorino"] = {move1 = {name = "Quick Attack", level = 30, cd = 8}, move2 = {name = "Horn Attack", level = 30, cd = 20}, move3 = {name = "Poison Jab", level = 30, cd = 20}, move4 = {name = "Poison Fang", level = 30, cd = 20}, move5 = {name = "Dig", level = 32, cd = 40}, move6 = {name = "Cross Poison", level = 32, cd = 40}, move7 = {name = "Rage", level = 30, cd = 30}, }, ["Nidoking"] = {move1 = {name = "Quick Attack", level = 70, cd = 8}, move2 = {name = "Horn Attack", level = 70, cd = 20}, move3 = {name = "Poison Jab", level = 70, cd = 20}, move4 = {name = "Poison Fang", level = 70, cd = 20}, move5 = {name = "Dig", level = 72, cd = 40}, move6 = {name = "Sludge Wave", level = 74, cd = 60}, move7 = {name = "Cross Poison", level = 72, cd = 40}, move8 = {name = "Fear", level = 76, cd = 60}, move9 = {name = "Rage", level = 70, cd = 30}, }, ["Clefairy"] = {move1 = {name = "Doubleslap", level = 40, cd = 5}, move2 = {name = "Body Slam", level = 44, cd = 40}, move3 = {name = "Sing", level = 40, cd = 60}, move4 = {name = "Multi-Slap", level = 40, cd = 25}, move5 = {name = "Great Love", level = 47, cd = 60}, move6 = {name = "Healarea", level = 45, cd = 80}, move7 = {name = "Metronome", level = 40, cd = 40}, move8 = {name = "Defense Curl", level = 40, cd = 60}, }, ["Clefable"] = {move1 = {name = "Doubleslap", level = 70, cd = 5}, move2 = {name = "Body Slam", level = 70, cd = 25}, move3 = {name = "Dazzling Gleam", level = 74, cd = 25}, move4 = {name = "Great Love", level = 77, cd = 60}, move5 = {name = "Moonblast", level = 82, cd = 50}, move6 = {name = "Healarea", level = 75, cd = 80}, move7 = {name = "Metronome", level = 70, cd = 40}, move8 = {name = "Defense Curl", level = 70, cd = 60}, }, ["Vulpix"] = {move1 = {name = "Quick Attack", level = 20, cd = 10}, move2 = {name = "Iron Tail", level = 20, cd = 15}, move3 = {name = "Ember", level = 20, cd = 10}, move4 = {name = "Flamethrower", level = 22, cd = 20}, move5 = {name = "Flame Circle", level = 24, cd = 10}, move6 = {name = "Fire Blast", level = 30, cd = 60}, }, ["Ninetales"] = {move1 = {name = "Quick Attack", level = 80, cd = 10}, move2 = {name = "Iron Tail", level = 80, cd = 15}, move3 = {name = "Ember", level = 80, cd = 10}, move4 = {name = "Flamethrower", level = 80, cd = 18}, move5 = {name = "Flame Wheel", level = 80, cd = 25}, move6 = {name = "Fireball", level = 80, cd = 20}, move7 = {name = "Confuse Ray", level = 80, cd = 32}, move8 = {name = "Fire Blast", level = 84, cd = 50}, move9 = {name = "Magma Storm", level = 88, cd = 70}, move10 = {name = "Safeguard", level = 90, cd = 40}, }, ["Jigglypuff"] = {move1 = {name = "Doubleslap", level = 40, cd = 5}, move2 = {name = "Body Slam", level = 44, cd = 40}, move3 = {name = "Sing", level = 40, cd = 25}, move4 = {name = "Hyper Voice", level = 40, cd = 25}, move5 = {name = "Multi-Slap", level = 40, cd = 25}, move6 = {name = "Echoed Voice", level = 45, cd = 20}, move7 = {name = "Softboiled", level = 45, cd = 60}, move8 = {name = "Charm", level = 40, cd = 60}, }, ["Wigglytuff"] = {move1 = {name = "Doubleslap", level = 70, cd = 5}, move2 = {name = "Body Slam", level = 74, cd = 30}, move3 = {name = "Sing", level = 70, cd = 25}, move4 = {name = "Hyper Voice", level = 70, cd = 25}, move5 = {name = "Multi-Slap", level = 70, cd = 20}, move5 = {name = "Rock n'Roll", level = 74, cd = 45}, move6 = {name = "Echoed Voice", level = 75, cd = 15}, move7 = {name = "Softboiled", level = 75, cd = 50}, move8 = {name = "Charm", level = 70, cd = 60}, }, ["Zubat"] = {move1 = {name = "Super Sonic", level = 10, cd = 25}, move2 = {name = "Bite", level = 10, cd = 10}, move3 = {name = "Poison Fang", level = 10, cd = 20}, move4 = {name = "Absorb", level = 12, cd = 15}, move5 = {name = "Toxic", level = 15, cd = 30}, }, ["Golbat"] = {move1 = {name = "Super Sonic", level = 40, cd = 20}, move2 = {name = "Bite", level = 40, cd = 10}, move3 = {name = "Poison Fang", level = 40, cd = 15}, move4 = {name = "Toxic", level = 40, cd = 20}, move5 = {name = "Whirlwind", level = 40, cd = 25}, move6 = {name = "Wing Attack", level = 40, cd = 30}, move7 = {name = "Air Cutter", level = 44, cd = 35}, }, ["Oddish"] = {move1 = {name = "Absorb", level = 7, cd = 20}, move2 = {name = "Acid", level = 1, cd = 15}, move3 = {name = "Leech Seed", level = 1, cd = 20}, move4 = {name = "Sleep Powder", level = 9, cd = 60}, move5 = {name = "Stun Spore", level = 8, cd = 60}, move6 = {name = "Poison Powder", level = 8, cd = 10}, }, ["Gloom"] = {move1 = {name = "Absorb", level = 30, cd = 20}, move2 = {name = "Leech Seed", level = 30, cd = 15}, move3 = {name = "Acid", level = 30, cd = 8}, move4 = {name = "Poison Bomb", level = 33, cd = 30}, move5 = {name = "Poison Gas", level = 37, cd = 50}, move6 = {name = "Sleep Powder", level = 30, cd = 60}, move7 = {name = "Stun Spore", level = 30, cd = 60}, move8 = {name = "Poison Powder", level = 30, cd = 10}, }, ["Vileplume"] = {move1 = {name = "Absorb", level = 50, cd = 20}, move2 = {name = "Leech Seed", level = 50, cd = 15}, move3 = {name = "Acid", level = 50, cd = 8}, move4 = {name = "Poison Bomb", level = 50, cd = 30}, move5 = {name = "Poison Gas", level = 50, cd = 45}, move6 = {name = "Petal Dance", level = 55, cd = 35}, move7 = {name = "Solar Beam", level = 60, cd = 60}, move8 = {name = "Sleep Powder", level = 50, cd = 60}, move9 = {name = "Stun Spore", level = 50, cd = 60}, move10 = {name = "Poison Powder", level = 50, cd = 10}, }, ["Paras"] = {move1 = {name = "Scratch", level = 1, cd = 8}, move2 = {name = "Poison Sting", level = 1, cd = 10}, move3 = {name = "Slash", level = 1, cd = 15}, move4 = {name = "Stun Spore", level = 6, cd = 45}, move5 = {name = "Poison Powder", level = 4, cd = 10}, move6 = {name = "Sleep Powder", level = 8, cd = 60}, }, ["Parasect"] = {move1 = {name = "Absorb", level = 50, cd = 20}, move2 = {name = "Leech Life", level = 55, cd = 15}, move3 = {name = "Poison Sting", level = 50, cd = 10}, move4 = {name = "Slash", level = 50, cd = 20}, move5 = {name = "Poison Bomb", level = 50, cd = 30}, move6 = {name = "Stun Spore", level = 50, cd = 45}, move7 = {name = "Poison Powder", level = 50, cd = 10}, move8 = {name = "Sleep Powder", level = 50, cd = 60}, move9 = {name = "Fury Cutter", level = 56, cd = 30}, move10 = {name = "X-Scissor", level = 58, cd = 22}, }, ["Venonat"] = {move1 = {name = "Super Sonic", level = 20, cd = 30}, move2 = {name = "Psybeam", level = 20, cd = 10}, move3 = {name = "Silver Wind", level = 20, cd = 10}, move4 = {name = "Confusion", level = 20, cd = 35}, move5 = {name = "Psychic", level = 26, cd = 35}, move6 = {name = "Sleep Powder", level = 30, cd = 60}, move7 = {name = "Poison Powder", level = 22, cd = 20}, move8 = {name = "Stun Spore", level = 24, cd = 40}, }, ["Venomoth"] = {move1 = {name = "Super Sonic", level = 50, cd = 35}, move2 = {name = "Psybeam", level = 50, cd = 10}, move3 = {name = "Silver Wind", level = 50, cd = 10}, move4 = {name = "Confusion", level = 56, cd = 35}, move5 = {name = "Psychic", level = 50, cd = 35}, move6 = {name = "Signal Beam", level = 56, cd = 60}, move7 = {name = "Bug Buzz", level = 54, cd = 30}, move8 = {name = "Sleep Powder", level = 50, cd = 60}, move9 = {name = "Poison Powder", level = 50, cd = 20}, }, ["Diglett"] = {move1 = {name = "Sand Attack", level = 10, cd = 20}, move2 = {name = "Slash", level = 10, cd = 10}, move3 = {name = "Mud Shot", level = 10, cd = 15}, move4 = {name = "Mud Slap", level = 12, cd = 25}, move5 = {name = "Earth Power", level = 15, cd = 60}, }, ["Dugtrio"] = {move1 = {name = "Sand Attack", level = 40, cd = 20}, move2 = {name = "Slash", level = 40, cd = 10}, move3 = {name = "Mud Shot", level = 40, cd = 15}, move4 = {name = "Mud Slap", level = 40, cd = 25}, move5 = {name = "Earth Power", level = 40, cd = 60}, move6 = {name = "Dig", level = 42, cd = 40}, move7 = {name = "Earthquake", level = 47, cd = 80}, move8 = {name = "Rage", level = 50, cd = 40}, }, ["Meowth"] = {move1 = {name = "Slash", level = 20, cd = 8}, move2 = {name = "Scratch", level = 20, cd = 8}, move3 = {name = "Bite", level = 20, cd = 12}, move4 = {name = "Night Slash", level = 20, cd = 15}, move5 = {name = "Pay Day", level = 30, cd = 30}, }, ["Persian"] = {move1 = {name = "Slash", level = 50, cd = 8}, move2 = {name = "Scratch", level = 50, cd = 8}, move3 = {name = "Bite", level = 50, cd = 12}, move4 = {name = "Night Slash", level = 50, cd = 15}, move5 = {name = "Pay Day", level = 60, cd = 30}, move6 = {name = "Fear", level = 60, cd = 30}, move7 = {name = "Torment", level = 55, cd = 60}, }, --Ricardorox fix -- ["Lucario"] = {move1 = {name = "Quick Attack", level = 80, cd = 10}, move2 = {name = "Iron Head",level = 80, cd = 10}, move3 = {name = "Close Combat",level = 80, cd = 20}, move4 = {name = "Metal Claw",level = 80, cd = 32}, move5 = {name = "Bullet Punch",level = 80, cd = 32}, move6 = {name = "Bone Rush",level = 80, cd = 35}, --move7 = {name = "Aura Sphere",level = 80, cd = 40}, move8 = {name = "Swords Dance",level = 80, cd = 60}, }, ["Riolu"] = {move1 = {name = "Quick Attack", level = 50, cd = 10}, move2 = {name = "Iron Head",level = 50, cd = 10}, move3 = {name = "Close Combat",level = 50, cd = 20}, move4 = {name = "Metal Claw",level = 50, cd = 32}, move5 = {name = "Bullet Punch",level = 50, cd = 32}, move6 = {name = "Bone Rush",level = 50, cd = 35}, --move7 = {name = "Aura Sphere",level = 80, cd = 40}, move8 = {name = "Swords Dance",level = 50, cd = 60}, }, } movesinfo = { ["Attack"] = {target = true, range = 1, power = 0}, ["Tackle"] = {target = true, range = 1, power = 50, type = "normal"}, ["Razor Leaf"] = {target = true, range = 7, power = 55, type = "grass"}, ["Vine Whip"] = {target = false, power = 45, type = "grass"}, ["Headbutt"] = {target = true, range = 1, power = 70, type = "normal"}, ["Leech Seed"] = {target = true, range = 7, power = 0, type = "grass"}, ["Solar Beam"] = {target = false, power = 120, type = "grass"}, ["Sleep Powder"] = {target = false, power = 0, type = "grass"}, ["Stun Spore"] = {target = false, power = 0, type = "grass"}, ["Poison Powder"] = {target = false, power = 0, type = "poison"}, ["Bullet Seed"] = {target = false, power = 25, type = "grass"}, ["Giga Drain"] = {target = true, range = 7, power = 75, type = "grass"}, ["Leaf Storm"] = {target = false, power = 130, type = "grass"}, ["Scratch"] = {target = true, range = 1, power = 40, type = "normal"}, ["Ember"] = {target = true, range = 7, power = 40, type = "fire"}, ["Flamethrower"] = {target = false, power = 90, type = "fire"}, ["Fireball"] = {target = true, range = 7, power = 75, type = "fire"}, ["Fire Fang"] = {target = true, range = 1, power = 65, type = "fire"}, ["Fire Blast"] = {target = false, power = 110, type = "fire"}, ["Rage"] = {target = false, power = 0, type = "dragon"}, ["Flame Burst"] = {target = false, power = 25, type = "fire"}, ["Wing Attack"] = {target = false, power = 60, type = "flying"}, ["Air Slash"] = {target = false, power = 35, type = "flying"}, ["Magma Storm"] = {target = false, power = 100, type = "fire"}, ["Scary Face"] = {target = false, power = 0, type = "normal"}, ["Bubbles"] = {target = true, range = 7, power = 40, type = "water"}, ["Water Gun"] = {target = false, power = 40, type = "water"}, ["Waterball"] = {target = true, range = 7, power = 75, type = "water"}, ["Aqua Tail"] = {target = true, range = 1, power = 75, type = "water"}, ["Hydro Cannon"] = {target = false, power = 120, type = "water"}, ["Harden"] = {target = false, power = 0, type = "normal"}, ["Brine"] = {target = false, power = 25, type = "water"}, ["Water Pulse"] = {target = false, power = 60, type = "water"}, ["Skull Bash"] = {target = false, power = 130, type = "normal"}, ["Hydropump"] = {target = false, power = 110, type = "water"}, ["String Shot"] = {target = true, range = 7, power = 0, type = "bug"}, ["Bug Bite"] = {target = true, range = 1, power = 60, type = "bug"}, ["Super Sonic"] = {target = true, range = 7, power = 0, type = "normal"}, ["Silver Wind"] = {target = true, range = 7, power = 60, type = "bug"}, ["Whirlwind"] = {target = false, power = 35, type = "flying"}, ["Confusion"] = {target = false, power = 50, type = "psychic"}, ["Psybeam"] = {target = false, power = 65, type = "psychic"}, ["Air Cutter"] = {target = false, power = 60, type = "flying"}, ["Safeguard"] = {target = false, power = 0, type = "normal"}, ["Horn Attack"] = {target = true, range = 1, power = 65, type = "normal"}, ["Poison Sting"] = {target = true, range = 1, power = 15, type = "poison"}, ["Poison Jab"] = {target = true, range = 7, power = 80, type = "poison"}, ["Fury Cutter"] = {target = false, power = 40, type = "bug"}, ["Pin Missile"] = {target = false, power = 25, type = "bug"}, ["Toxic Spikes"] = {target = true, range = 7, power = 70, type = "poison"}, ["Strafe"] = {target = false, power = 0, type = "normal"}, ["Quick Attack"] = {target = true, range = 1, power = 40, type = "normal"}, ["Sand Attack"] = {target = false, power = 0, type = "ground"}, ["Gust"] = {target = false, power = 40, type = "flying"}, ["Drill Peck"] = {target = true, range = 1, power = 80, type = "flying"}, ["Aeroblast"] = {target = false, power = 100, type = "flying"}, ["Hurricane"] = {target = false, power = 110, type = "flying"}, ["Agility"] = {target = false, power = 0, type = "normal"}, ["Roost"] = {target = false, power = 0, type = "flying"}, ["Bite"] = {target = true, range = 1, power = 60, type = "dark"}, ["Super Fang"] = {target = true, range = 1, power = 80, type = "normal"}, ["Pursuit"] = {target = true, range = 7, power = 40, type = "dark"}, ["Peck"] = {target = true, range = 1, power = 35, type = "flying"}, ["Aerial Ace"] = {target = false, power = 60, type = "flying"}, ["Poison Fang"] = {target = true, range = 1, power = 50, type = "poison"}, ["Gunk Shot"] = {target = true, range = 7, power = 120, type = "poison"}, ["Acid"] = {target = true, range = 7, power = 40, type = "poison"}, ["Fear"] = {target = false, power = 0, type = "ghost"}, ["Wrap"] = {target = true, range = 7, power = 15, type = "normal"}, ["Iron Tail"] = {target = true, range = 1, power = 100, type = "steel"}, ["Mega Kick"] = {target = true, range = 1, power = 120, type = "fighting"}, ["Thunder Shock"] = {target = true, range = 7, power = 40, type = "electric"}, ["Thunder Bolt"] = {target = true, range = 7, power = 90, type = "electric"}, ["Thunder Wave"] = {target = false, power = 55, type = "electric"}, ["Thunder Punch"] = {target = true, range = 1, power = 75, type = "electric"}, ["Thunder"] = {target = false, power = 110, type = "electric"}, ["Electric Storm"] = {target = false, power = 130, type = "electric"}, ["Body Slam"] = {target = true, range = 1, power = 85, type = "normal"}, ["Mud Shot"] = {target = true, range = 7, power = 55, type = "ground"}, ["Rollout"] = {target = false, power = 150, type = "rock"}, ["Bulldoze"] = {target = false, power = 60, type = "ground"}, ["Earth Power"] = {target = false, power = 90, type = "ground"}, ["Earthquake"] = {target = false, power = 100, type = "ground"}, ["Defense Curl"] = {target = false, power = 0, type = "normal"}, ["Dig"] = {target = false, power = 90, type = "ground"}, ["Cross Poison"] = {target = false, power = 70, type = "poison"}, ["Sand Tomb"] = {target = false, power = 35, type = "ground"}, ["Sludge Wave"] = {target = false, power = 95, type = "poison"}, ["Doubleslap"] = {target = true, range = 1, power = 15, type = "normal"}, ["Sing"] = {target = false, power = 0, type = "normal"}, ["Multi-Slap"] = {target = false, power = 70, type = "normal"}, ["Great Love"] = {target = false, power = 95, type = "normal"}, ["Healarea"] = {target = false, power = 0, type = "normal"}, ["Metronome"] = {target = false, power = 0, type = "normal"}, ["Dazzling Gleam"] = {target = true, range = 7, power = 80, type = "fairy"}, ["Moonblast"] = {target = false, power = 95, type = "fairy"}, ["Flame Circle"] = {target = false, power = 60, type = "fire"}, ["Flame Wheel"] = {target = false, power = 60, type = "fire"}, ["Confuse Ray"] = {target = true, range = 7, power = 25, type = "ghost"}, ["Hyper Voice"] = {target = false, power = 90, type = "normal"}, ["Echoed Voice"] = {target = false, power = 40, type = "normal"}, ["Softboiled"] = {target = false, power = 0, type = "normal"}, ["Charm"] = {target = false, power = 0, type = "fairy"}, ["Rock n'Roll"] = {target = false, power = 40, type = "normal"}, ["Absorb"] = {target = true, range = 1, power = 20, type = "grass"}, ["Toxic"] = {target = false, power = 55, type = "poison"}, ["Poison Bomb"] = {target = true, range = 7, power = 65, type = "poison"}, ["Poison Gas"] = {target = false, power = 70, type = "poison"}, ["Petal Dance"] = {target = false, power = 25, type = "grass"}, ["Slash"] = {target = true, range = 1, power = 70, type = "normal"}, ["Leech Life"] = {target = true, range = 7, power = 20, type = "bug"}, ["X-Scissor"] = {target = false, power = 80, type = "bug"}, ["Psychic"] = {target = false, power = 90, type = "psychic"}, ["Signal Beam"] = {target = false, power = 75, type = "bug"}, ["Bug Buzz"] = {target = false, power = 90, type = "bug"}, ["Mud Slap"] = {target = true, range = 7, power = 20, type = "ground"}, ["Night Slash"] = {target = false, power = 70, type = "dark"}, ["Pay Day"] = {target = true, range = 7, power = 40, type = "normal"}, ["Torment"] = {target = false, power = 0, type = "dark"}, ["Invisible"] = {target = false, power = 0, type = "ghost"}, --------------------------- • PASSIVES • --------------------------- ["Fury"] = {target = false, power = 0, type = "dragon"}, ["Electric Charge"] = {target = false, power = 0, type = "electric"}, ["Melody"] = {target = false, power = 0, type = "normal"}, ["Lifesteal"] = {target = true, range = 1, power = 5, type = "poison"}, ["Spores Reaction"] = {target = false, power = 0, type = "poison"}, ["Mega Drain"] = {target = false, power = 40, type = "normal"}, } movesnevermiss = {"Giga Drain", "Safeguard"} priceItemsList = { ["essence of fire"] = {price = 0.5}, ["seed"] = {price = 0.5}, ["bug gosme"] = {price = 0.5}, ["band aid"] = {price = 0.5}, ["rubber ball"] = {price = 0.5}, ["bottle of poison"] = {price = 0.5}, ["ghost essence"] = {price = 0.5}, ["dark gem"] = {price = 0.5}, ["piece of steel"] = {price = 0.5}, ["straw"] = {price = 0.5}, ["dragon scale"] = {price = 0.5}, ["screw"] = {price = 0.5}, ["enchanted gem"] = {price = 0.5}, ["earth ball"] = {price = 0.5}, ["small stone"] = {price = 0.5}, ["water gem"] = {price = 0.5}, ["snowball"] = {price = 0.5}, ["Fire Stone"] = {price = 5000}, ["Leaf Stone"] = {price = 5000}, ["Cocoon Stone"] = {price = 5000}, ["Punch Stone"] = {price = 5000}, ["Heart Stone"] = {price = 5000}, ["Feather Stone"] = {price = 5000}, ["Venom Stone"] = {price = 5000}, ["Darkness Stone"] = {price = 5000}, ["Metal Coat"] = {price = 50000}, ["Feather Stone"] = {price = 5000}, ["Crystal Stone"] = {price = 50000}, ["Thunder Stone"] = {price = 5000}, ["Enigma Stone"] = {price = 5000}, ["Earth Stone"] = {price = 5000}, ["Rock Stone"] = {price = 5000}, ["Water Stone"] = {price = 5000}, ["Ice Stone"] = {price = 5000}, ["pinsir horn"] = {price = 102}, ["gyarados tail"] = {price = 800}, ["pot of lava"] = {price = 18}, ["bag of pollem"] = {price = 40}, ["bulb"] = {price = 132}, ["leaves"] = {price = 8.5}, ["nail"] = {price = 10}, ["squirtle hull"] = {price = 132}, ["dragon tooth"] = {price = 610}, ["blue vines"] = {price = 123}, ["mimic clothes"] = {price = 450}, ["scythe"] = {price = 1000}, ["ice bra"] = {price = 1000}, ["electric tail"] = {price = 1000}, ["water pendant"] = {price = 10}, ["pot of moss bug"] = {price = 7.5}, ["bird beak"] = {price = 30}, ["bitten apple"] = {price = 6.5}, ["rat tail"] = {price = 54}, ["tooth"] = {price = 8}, ["electric box"] = {price = 20}, ["sandbag"] = {price = 15}, ["horn"] = {price = 25}, ["comb"] = {price = 100}, ["fox tail"] = {price = 1000}, ["fur"] = {price = 13}, ["bat wing"] = {price = 78}, ["bug antenna"] = {price = 96}, ["bug venom"] = {price = 371}, ["luck medallion"] = {price = 1000}, ["wool ball"] = {price = 69}, ["ruby"] = {price = 100}, ["psyduck mug"] = {price = 129}, ["karate duck"] = {price = 123}, ["punch machine"] = {price = 135}, ["iron bracelet"] = {price = 114}, ["psychic spoon"] = {price = 180}, ["future orb"] = {price = 15.5}, ["belt of champion"] = {price = 1000}, ["stone orb"] = {price = 16.5}, ["slow tail"] = {price = 225}, ["magnet"] = {price = 90}, ["farfetch'd stick"] = {price = 300}, ["feather"] = {price = 7.5}, ["ice orb"] = {price = 32.5}, ["gosme"] = {price = 78}, ["locksmith of shell"] = {price = 24}, ["traces of ghost"] = {price = 180}, ["onix tail"] = {price = 371}, ["linearly guided hypnose"] = {price = 410}, ["crab claw"] = {price = 90}, ["bone"] = {price = 123}, ["kick machine"] = {price = 135}, ["tongue"] = {price = 410}, ["venom flute"] = {price = 78}, } pricePokemonsList = { ["Smeargle 9"] = 15000, -- 1.5TD 2 ["Bulbasaur"] = {price = 3000}, ["Smeargle 8"] = 15000, -- 1.5TD 3 ["Ivysaur"] = {price = 8000}, ["Smeargle 7"] = 15000, -- 1.5TD 4 ["Venusaur"] = {price = 18000}, ["Smeargle 6"] = 15000, -- 1.5TD 5 ["Charmander"] = {price = 3000}, ["Smeargle 5"] = 15000, -- 1.5TD ["Bulbasaur"] = {price = 3000}, ["Ivysaur"] = {price = 8000}, ["Venusaur"] = {price = 18000}, ["Charmander"] = {price = 3000}, ["Charmeleon"] = {price = 8000}, ["Charizard"] = {price = 18000}, ["Squirtle"] = {price = 3000}, ["Wartortle"] = {price = 8000}, ["Blastoise"] = {price = 18000}, ["Caterpie"] = {price = 5}, ["Metapod"] = {price = 250}, ["Butterfree"] = {price = 2000}, ["Weedle"] = {price = 5}, ["Kakuna"] = {price = 250}, ["Beedrill"] = {price = 2000}, ["Pidgey"] = {price = 60}, ["Pidgeotto"] = {price = 1500}, ["Pidgeot"] = {price = 11500}, ["Rattata"] = {price = 5}, ["Raticate"] = {price = 2000}, ["Spearow"] = {price = 100}, ["Fearow"] = {price = 5100}, ["Ekans"] = {price = 300}, ["Arbok"] = {price = 3000}, ["Pikachu"] = {price = 8000}, ["Raichu"] = {price = 18000}, ["Sandshrew"] = {price = 1000}, ["Sandslash"] = {price = 11000}, ["Nidoran Female"] = {price = 125}, ["Nidorina"] = {price = 2250}, ["Nidoqueen"] = {price = 12250}, ["Nidoran Male"] = {price = 125}, ["Nidorino"] = {price = 2250}, ["Nidoking"] = {price = 12250}, ["Clefairy"] = {price = 8000}, ["Clefable"] = {price = 18000}, ["Vulpix"] = {price = 1000}, ["Ninetales"] = {price = 11000}, ["Jigglypuff"] = {price = 8000}, ["Wigglytuff"] = {price = 18000}, ["Zubat"] = {price = 120}, ["Golbat"] = {price = 3000}, ["Oddish"] = {price = 80}, ["Gloom"] = {price = 2250}, ["Vileplume"] = {price = 12000}, ["Paras"] = {price = 60}, ["Parasect"] = {price = 7250}, ["Venonat"] = {price = 1500}, ["Venomoth"] = {price = 7250}, ["Diglett"] = {price = 200}, ["Dugtrio"] = {price = 3000}, ["Meowth"] = {price = 300}, ["Persian"] = {price = 3000}, ["Psyduck"] = {price = 1500}, ["Golduck"] = {price = 11500}, ["Mankey"] = {price = 300}, ["Primeape"] = {price = 7250}, ["Growlithe"] = {price = 3500}, ["Arcanine"] = {price = 58500}, ["Poliwag"] = {price = 80}, ["Poliwhirl"] = {price = 3000}, ["Poliwrath"] = {price = 13000}, ["Abra"] = {price = 800}, ["Kadabra"] = {price = 5800}, ["Alakazam"] = {price = 15800}, ["Machop"] = {price = 2000}, ["Machoke"] = {price = 7000}, ["Machamp"] = {price = 17000}, ["Bellsprout"] = {price = 80}, ["Weepinbell"] = {price = 2250}, ["Victreebel"] = {price = 12000}, ["Tentacool"] = {price = 300}, ["Tentacruel"] = {price = 10000}, ["Geodude"] = {price = 300}, ["Graveler"] = {price = 5000}, ["Golem"] = {price = 15000}, ["Ponyta"] = {price = 1500}, ["Rapidash"] = {price = 6500}, ["Slowpoke"] = {price = 400}, ["Slowbro"] = {price = 8000}, ["Magnemite"] = {price = 400}, ["Magneton"] = {price = 5400}, ["Farfetch'd"] = {price = 8000}, ["Doduo"] = {price = 600}, ["Dodrio"] = {price = 5600}, ["Seel"] = {price = 2000}, ["Dewgong"] = {price = 12000}, ["Grimer"] = {price = 300}, ["Muk"] = {price = 11000}, ["Shellder"] = {price = 200}, ["Cloyster"] = {price = 10200}, ["Gastly"] = {price = 3000}, ["Haunter"] = {price = 8000}, ["Gengar"] = {price = 18000}, ["Onix"] = {price = 6000}, ["Drowzee"] = {price = 1000}, ["Hypno"] = {price = 6000}, ["Krabby"] = {price = 200}, ["Kingler"] = {price = 5200}, ["Voltorb"] = {price = 250}, ["Electrode"] = {price = 3000}, ["Exeggcute"] = {price = 200}, ["Exeggutor"] = {price = 10000}, ["Cubone"] = {price = 1000}, ["Marowak"] = {price = 11000}, ["Hitmonlee"] = {price = 500000}, ["Hitmonchan"] = {price = 500000}, ["Lickitung"] = {price = 60000}, ["Koffing"] = {price = 300}, ["Weezing"] = {price = 3000}, ["Rhyhorn"] = {price = 3000}, ["Rhydon"] = {price = 13000}, ["Chansey"] = {price = 40000}, ["Tangela"] = {price = 10000}, ["Kangaskhan"] = {price = 120000}, ["Horsea"] = {price = 200}, ["Seadra"] = {price = 5500}, ["Goldeen"] = {price = 200}, ["Seaking"] = {price = 3000}, ["Staryu"] = {price = 400}, ["Starmie"] = {price = 3000}, ["Mr. Mime"] = {price = 40000}, ["Scyther"] = {price = 120000}, ["Jynx"] = {price = 120000}, ["Electabuzz"] = {price = 120000}, ["Magmar"] = {price = 120000}, ["Pinsir"] = {price = 9000}, ["Tauros"] = {price = 5000}, ["Magikarp"] = {price = 5}, ["Gyarados"] = {price = 55000}, ["Lapras"] = {price = 120000}, ["Eevee"] = {price = 45000}, ["Vaporeon"] = {price = 50000}, ["Jolteon"] = {price = 50000}, ["Flareon"] = {price = 50000}, ["Porygon"] = {price = 60000}, ["Omanyte"] = {price = 20000}, ["Omastar"] = {price = 75000}, ["Kabuto"] = {price = 20000}, ["Kabutops"] = {price = 75000}, ["Aerodactyl"] = {price = 2000000}, ["Snorlax"] = {price = 200000}, ["Dratini"] = {price = 15000}, ["Dragonair"] = {price = 65000}, ["Dragonite"] = {price = 125000}, -- fix ["Lucario"] = {price = 25500}, ["Riolu"] = {price = 18000}, -- Segunda Geração ["Bayleef"] = 4000, ["Meganium"] = 8000, ["Quilava"] = 4000, ["Typhlosion"] = 8000, ["Croconaw"] = 4000, ["Feraligatr"] = 8000, ["Sentret"] = 250, ["Furret"] = 3500, ["Hoothoot"] = 500, ["Noctowl"] = 7000, ["Ledyba"] = 250, ["Ledian"] = 3800, ["Spinarak"] = 250, ["Ariados"] = 4500, ["Crobat"] = 8000, ["Chinchou"] = 700, ["Lanturn"] = 5500, ["Pichu"] = 500, ["Cleffa"] = 500, ["Igglybuff"] = 500, ["Togepi"] = 500, ["Togetic"] = 6000, ["Natu"] = 500, ["Xatu"] = 7000, ["Mareep"] = 300, ["Flaaffy"] = 3200, ["Ampharos"] = 8000, ["Bellossom"] = 7000, ["Marill"] = 3000, ["Azumarill"] = 7000, ["Sudowoodo"] = 10000, ["Politoed"] = 8000, ["Hoppip"] = 80, ["Skiploom"] = 2200, ["Jumpluff"] = 7500, ["Aipom"] = 1500, ["Sunkern"] = 50, ["Sunflora"] = 3400, ["Yanma"] = 3000, ["Wooper"] = 2000, ["Quagsire"] = 6000, ["Espeon"] = 6000, ["Umbreon"] = 6000, ["Murkrow"] = 600, ["Slowking"] = 10000, ["Misdreavus"] = 7500, ["Wobbuffet"] = 15000, ["Girafarig"] = 7500, ["Pineco"] = 300, ["Forretress"] = 6200, ["Dunsparce"] = 2500, ["Gligar"] = 3000, ["Steelix"] = 15000, ["Snubbull"] = 500, ["Granbull"] = 6000, ["Qwilfish"] = 4000, ["Scizor"] = 20000, ["Shuckle"] = 3000, ["Heracross"] = 10000, ["Sneasel"] = 2000, ["Teddiursa"] = 1000, ["Ursaring"] = 10000, ["Slugma"] = 900, ["Magcargo"] = 7000, ["Swinub"] = 700, ["Piloswine"] = 7500, ["Corsola"] = 4000, ["Remoraid"] = 200, ["Octillery"] = 6000, ["Delibird"] = 5000, ["Mantine"] = 12000, ["Skarmory"] = 12000, ["Houndour"] = 800, ["Houndoom"] = 7500, ["kingdra"] = 10000, ["Phanpy"] = 600, ["Donphan"] = 7800, ["Porygon2"] = 8000, ["Stantler"] = 4500, ["Tyrogue"] = 2000, ["Hitmontop"] = 10000, ["Smoochum"] = 450, ["Elekid"] = 600, ["Magby"] = 600, ["Miltank"] = 9000, ["Blissey"] = 10000, ["Larvitar"] = 1000, ["Pupitar"] = 5800, ["Tyranitar"] = 12000, -- Especiais ["Snowman Snorlax"] = 50000, ["Christmas Raichu"] = 20000, -- Megas } Link para o comentário Compartilhar em outros sites More sharing options...
Drakopoulos 219 Postado Novembro 12, 2016 Share Postado Novembro 12, 2016 Troque o seu data\creaturescripts\scripts\player\statsChange.lua por esse: Spoiler local damages = {GROUNDDAMAGE, ELECTRICDAMAGE, ROCKDAMAGE, FLYDAMAGE, BUGDAMAGE, FIGHTINGDAMAGE, DRAGONDAMAGE, POISONDAMAGE, DARKDAMAGE, STEELDAMAGE}local fixdmgs = {PSYCHICDAMAGE, COMBAT_PHYSICALDAMAGE, GRASSDAMAGE, FIREDAMAGE, WATERDAMAGE, ICEDAMAGE, NORMALDAMAGE, GHOSTDAMAGE}local ignored = {POISONEDDAMAGE, BURNEDDAMAGE} --alterado v1.6local cannotkill = {BURNEDDAMAGE, POISONEDDAMAGE}function onStatsChange(cid, attacker, type, combat, value)if isWatchingTv(cid) then return false end -- TV Block--------------------- healarea ---------------------if type == STATSCHANGE_HEALTHGAIN then if cid == attacker then return true end if isSummon(cid) and isSummon(attacker) and canAttackOther(cid, attacker) == "Cant" then return false end if isWild(cid) and isWild(attacker) then -- monstros se curarem return true endreturn trueend--------------------- healarea ---------------------if isWildTrainerNPC(cid) then if not canKillNPC(attacker, cid) then return false endend if isWildTrainerPokemon(cid) then local master = getMasterWildNPCPokemon(cid) local master2 = isSummon(attacker) and getCreatureMaster(attacker) or attacker if not isCreature(master) or not isCreature(master2) then return false end if getPlayerRankNivel(master2) ~= getNPCNivel(master) then return false endendif isSleeping(attacker) then return false endif isBlockSpawn(cid) then return false endif isPlayer(cid) and isSummon(attacker) and canAttackOther(cid, attacker) == "Cant" then return false endif getPlayerStorageValue(cid, 9658783) == 1 then return false endif combat == FLYSYSTEMDAMAGE then return false endif isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TVif (isPlayer(cid) and #getCreatureSummons(cid) >= 1 and not getTileInfo(getThingPos(getCreatureSummons(cid)[1])).protection) or isPlayer(attacker) then return false end -- seguranca do player nao atacarif isGod(cid) then return false end -- god nao morrer o.Oif isWild(cid) and isWild(attacker) then return false end -- monstro nao atacar monstro, mas deixar pokemons do shared team bateremif getTileInfo(getThingPos(cid)).protection then return false end-- duel system e outrosif isSummon(cid) and isSummon(attacker) then local p1, p2 = getCreatureMaster(cid), getCreatureMaster(attacker) if not CanAttackerInDuel(p1, p2) then return false endendif isSummon(attacker) and isPlayer(cid) then return false -- quandotiver pvp colocar storage do pvp aquiendif not (isCreature(attacker)) then return true endlocal raceCombat = typeTable[getElementByCombat(combat)] local spellNameFromAttacker = getPlayerStorageValue(attacker, 21102) -- player morte e ataques if isPlayer(cid) and (#getCreatureSummons(cid) <= 0 or #getCreatureSummons(cid) >= 1 and getTileInfo(getThingPos(getCreatureSummons(cid)[1])).protection) then local color = 180 if (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then value = -(getOffense(attacker) * 100) else if not typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)] then color = 180 else color = typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)].color or 180 end end if value >= getCreatureHealth(cid) then value = getCreatureHealth(cid) end value = math.ceil(value) if (value) >= getCreatureHealth(cid) then doKillPlayer(cid, attacker, (value)) return false end doSendAnimatedText(getThingPosWithDebug(cid), (value * -1), color) doCreatureAddHealth(cid, value) setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante return false end -- player morte e ataquesif not isPlayer(cid) then-- valores do atacante if isPokePassive(cid) and isSummon(attacker) then doSetPokemonAgressiveToPlayer(cid, getCreatureMaster(attacker)) end local myName = doCorrectString(getCreatureName(cid)) if isInArray(specialabilities["evasion"], myName) and isSummon(cid) then local target = cid if getCreatureTarget(getCreatureMaster(cid)) == attacker then if math.random(1, 100) <= passivesChances["Evasion"][myName] then if isCreature(attacker) then --alterado v1.6 doSendMagicEffect(getThingPosWithDebug(target), 211) doSendAnimatedText(getThingPosWithDebug(target), "TOO BAD", 215) doTeleportThing(target, getClosestFreeTile(target, getThingPosWithDebug(attacker)), false) doSendMagicEffect(getThingPosWithDebug(target), 211) doFaceCreature(target, getThingPosWithDebug(attacker)) return false end end end end ---- cor do dano --[[if (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then else raceCombat = typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)] end]] -- alterado raceCombat = typeTable[getPokemonType(attacker).type1] ---- cor do dano local critical, criticalValue = false, 0 local returnDamage = false ------------- Helds if isSummon(cid) then local heldx = getItemAttribute(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "xHeldItem") if heldx then local heldName, heldTier = string.explode(heldx, "|")[1], string.explode(heldx, "|")[2] if heldName == "X-Block" and isSummon(cid) then -- bloquear alguns ataques local chance = heldBlockChance[tonumber(heldTier)] if (math.random(1, 100) <= chance) then doSendAnimatedText(getThingPos(cid), "BLOCKED", 215) end end if heldName == "X-Return" and isSummon(cid) then -- bloquear alguns ataques local chance = heldReturn[tonumber(heldTier)] if (math.random(1, 100) <= chance) then returnDamage = true returnDamageValue = heldReturn[tonumber(heldTier)] end end end end if isSummon(attacker) then local heldx = getItemAttribute(getPlayerSlotItem(getCreatureMaster(attacker), 8).uid, "xHeldItem") if heldx then local heldName, heldTier = string.explode(heldx, "|")[1], string.explode(heldx, "|")[2] if heldName == "X-Critical" then -- dar critico nos ataques local chance = heldCriticalChance[tonumber(heldTier)] if (math.random(1, 100) <= chance) then critical = true criticalValue = math.random(50, 100) end end end end ------------- Helds if isReflect(attacker) then local valueReflected = getPlayerStorageValue(attacker, 21105) if valueReflected > 0 then removeReflect(attacker) value = valueReflected doCreatureAddHealth(cid, -math.floor(value)) doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value), COLOR_GRASS) if isSummon(cid) and getPlayerStorageValue(cid, 637500) == -1 then doSendLifePokeToOTC(getCreatureMaster(cid)) end if value >= getCreatureHealth(cid) then if isSummon(cid) then if isInDuel(getCreatureMaster(cid)) then doRemoveCountPokemon(getCreatureMaster(cid)) end end if getPlayerStorageValue(cid, 637500) == -1 then ---checagem do sharred team doKillWildPoke(attacker, cid) else doRemoveCreature(cid) end return false end return false end end ------------------------------------POTIONS------------------------------------------- if isSummon(cid) then if getPlayerStorageValue(cid, 173) >= 1 then setPlayerStorageValue(cid, 173, -1) --alterado v1.6 doSendAnimatedText(getThingPos(cid), "LOST HEAL", 144) end end local boost_def, boost_attk = (0.7 * getPokemonBoost(cid)) / 100, (0.5 * getPokemonBoost(attacker)) / 100 if(combat == 128 or combat == 1) and getPlayerStorageValue(attacker, 21102) == -1 then -- ataque basico doSendMagicEffect(getThingPos(cid), 3) value = getEffectvineCombat(cid, attacker, value) if value == 0 then return false else value = value * getOffense(attacker) -- buff ataque system local name = doCorrectString(getCreatureName(attacker)) if pokes[name] and pokes[name].level <= 5 and value ~= 0 then value = -math.random(pokes[name].offense, pokes[name].offense+5) end end else -- magia value = getEffectvineSpell(attacker, spellNameFromAttacker, value, cid) -- checagem de efetividades de magia if value == 0 then return false else value = value * (1 + getSpecialAttack(attacker) / 100) end end if getPlayerStorageValue(cid, storages.TASKSYSTEMNOTWOTARGETS) == -1 then -- player tem q matar o poke com o mesmo summon para contar na diaria setPlayerStorageValue(cid, storages.TASKSYSTEMNOTWOTARGETS, attacker) end if spellNameFromAttacker ~= -1 and value == 0 then value = -doForceDanoSpeel(attacker, spellNameFromAttacker) end if value == 0 then value = -getEffectvineCombat(cid, attacker, getOffense(attacker)) end -- rever isto.. colocar dano base do xml local pokeLevel = pokes[getCreatureName(cid)].level if pokeLevel > 70 then percentDef = 100 elseif pokeLevel <= 70 and pokeLevel >= 50 then percentDef = 40 elseif pokeLevel <= 49 then percentDef = 20 end if isSummon(cid) then percentDef = 100 end value = value - (value * (getDefense(cid) / percentDef)) -- buff deff system, defendendo por % -------- boost system value = (value) + (boost_def * (value * -1)) value = (value - getMasterLevel(attacker)) - (boost_attk * (value * -1)) -------- boost system value = math.ceil(value * -1) if value >= getCreatureHealth(cid) then value = getCreatureHealth(cid) end if value < 0 then value = value * -1 end -------- xp por dano if isSummon(attacker) and not isSummon(cid) then addPlayerDano(cid, getCreatureMaster(attacker), value) end -------- xp por dano if critical then -- X-Critical system value = value * 2 + criticalValue doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value) .. "K", COLOR_BURN) else doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value), raceCombat.color) end if returnDamage then local valueToReturn = math.ceil(value * (returnDamageValue / 100)) if valueToReturn > getCreatureHealth(attacker) then valueToReturn = getCreatureHealth(attacker) -1 end if valueToReturn > 1 then value = value - valueToReturn doSendAnimatedText(getThingPos(attacker), (valueToReturn == 0 and "" or valueToReturn), 31) doSendMagicEffect(getThingPos(attacker), 3) doCreatureAddHealth(attacker, -valueToReturn) end end local spellName = getPlayerStorageValue(attacker, 21102) setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante if(isReflect(cid))then -- reflect system igual GBA if spellName ~= -1 then if not isInArray({"Team Claw", "Team Slice"}, spellName) then doSendMagicEffect(getThingPosWithDebug(cid), 135) doSendAnimatedText(getThingPosWithDebug(cid), "REFLECT", COLOR_GRASS) addEvent(docastspell, 100, cid, spellName) if getCreatureName(cid) == "Wobbuffet" then doRemoveCondition(cid, CONDITION_OUTFIT) end setPlayerStorageValue(cid, 21099, -1) --alterado v1.6 setPlayerStorageValue(cid, 21100, 1) setPlayerStorageValue(cid, 21101, attacker) setPlayerStorageValue(cid, 21103, getTableMove(attacker, spellName).f) setPlayerStorageValue(cid, 21104, getCreatureOutfit(attacker).lookType) setPlayerStorageValue(cid, 21105, value) if spellName == "Rollout" then doRolloutReflected(cid, doCorrectString(getCreatureName(attacker))) end return false end end end if getCreatureName(cid) == "Kangaskhan" and math.random(1, 100) < 25 and isMega(cid) then docastspell(cid, "Groundshock", 0, 0) end if value >= getCreatureHealth(cid) then if isSummon(cid) then if isInArray({"Aggron", "Sudowoodo", "Mega Aggron"}, getCreatureName(cid)) then doCreatureAddHealth(cid, -(getCreatureHealth(cid)-1)) setPlayerStorageValue(cid, 9658783, 1) -- nao velar dano getSturdy(cid) if isSummon(cid) then doSendLifePokeToOTC(getCreatureMaster(cid)) end return false end end if getPlayerStorageValue(cid, 637500) == -1 then ---checagem do sharred team doKillWildPoke(attacker, cid) else doRemoveCreature(cid) end return false end --------------Passiva Lifesteal Clobat------------ if isInArray({"crobat", "shiny crobat"}, getCreatureName(attacker):lower())and (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then doCreatureAddHealth(attacker, math.floor(value)) doSendAnimatedText(getThingPos(attacker), "+ "..math.floor(value), 30) end -------------------------------------------- doCreatureAddHealth(cid, -value) doCastPassive(cid) if not isSummon(cid) and not isMega(cid) then -- virar mega checkChenceToMega(cid) end if isSummon(cid) and cid == getCreatureSummons(getCreatureMaster(cid))[1] then -- otclient life doSendLifePokeToOTC(getCreatureMaster(cid)) -- otclient life endend return falseendfunction getMasterLevel(cid) if isSummon(cid) then return getPlayerLevel(getCreatureMaster(cid)) end return 0endfunction getSturdy(cid) local function doKillWildPokeWhiteSecuirty(cid) if not isCreature(cid) then return true end if isSummon(cid) then if isInDuel(getCreatureMaster(cid)) then doRemoveCountPokemon(getCreatureMaster(cid)) end end doKillWildPoke(cid, cid) end local outfit = 2121 if isMega(cid) then outfit = 1865 elseif getCreatureName(cid) == "Sudowoodo" then outfit = 2122 end doSetCreatureOutfit(cid, {lookType = outfit}, -1) addEvent(doKillWildPokeWhiteSecuirty, 6000, cid)end E o data\lib\106-main functions.lua por esse: Spoiler --// Edicioes DarkXPoke \\- farwayPos = {x = 2, y = 1, z = 15}function isBlockSpawn(cid) return getCreatureSkullType(cid) == 6endfunction doRemoveBlockInArea(cid) if not isBlockSpawn(cid) then return true end local rangeX, rangeY, temPlayer = 5, 5, false local spectators = getSpectators(getCreaturePosition(cid), rangeX, rangeY, false) if spectators then for _, spectator in ipairs(spectators) do if isPlayer(spectator) then temPlayer = true break end end end if not temPlayer then if not isPokePassive(cid) then setPokemonPassive(cid, false) end doCreatureSetSkullType(cid, 0) endendfunction doSendUpdatesOnlineToADM() local player = getPlayerByNameWildcard("Tyrion") if player == nil then return true end doGetPlayersOnToADM(player)endfunction doGetPlayersOnToADM(cid) local players = getPlayersOnline() local str = "online/" if #players > 0 then for _, pid in ipairs(players) do str = str .. getCreatureName(pid) .. "," .. getPlayerLevel(pid) .. "/" end end doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_PLAYER_SHOW_ONLINE, str) return strendfunction getExpByMoreDano(cid)if not isCreature(cid) then return "" endlocal listPlayers = ""local life = getCreatureMaxHealth(cid)local str = getPlayerStorageValue(cid, storages.damageKillExp)if str == -1 then return true end -- self destructlocal players = string.explode(str, "|") local strEnd, mairDano = "", 0 if players ~= nil then for i = 1, #players do local name = string.explode(players[i], "/")[1] local dano = string.explode(players[i], "/")[2] listPlayers = listPlayers .. name .. "/" .. (dano * 100 / life) .. "|" end end return listPlayersendfunction addPlayerDano(cid, attacker, newDano)if not isCreature(cid) then return true endif not isCreature(attacker) then return true endlocal playerName = getCreatureName(attacker)local str = getPlayerStorageValue(cid, storages.damageKillExp)if str == -1 then setPlayerStorageValue(cid, storages.damageKillExp, playerName .. "/" .. newDano .. "|") return trueend local players = string.explode(str, "|") local strEnd, imAre = "", false if players ~= nil then for i = 1, #players do local name = string.explode(players[i], "/")[1] local dano = string.explode(players[i], "/")[2] if name == playerName then strEnd = strEnd .. name .. "/" .. dano + newDano .. "|" imAre = true else strEnd = strEnd .. name .. "/" .. dano .. "|" end end if not imAre then strEnd = strEnd .. playerName .. "/" .. newDano .. "|" end setPlayerStorageValue(cid, storages.damageKillExp, strEnd) end endfunction removeSpellInXML(name, spell)local path = "data/monster/pokes/geracao 1/"..name..".xml"local tpw = io.type(io.open(path))if not tpw then path = "data/monster/pokes/geracao 2/"..name..".xml" tpw = io.type(io.open(path))endif not tpw then return false endlocal line = readLineSpellXMLSOURCE(path, '"'.. spell ..'"')if line == 0 then return false end -- nao achou a spellremoveSpellFromXMLSOURCE(path, line, "-->")local admNAME = "[ADM] One"doReloadInfo(RELOAD_MONSTERS, getPlayerByName(admNAME))return trueendfunction removeSpellFromXMLSOURCE(filename, linha, texto) local hFile = io.open(filename, "r") --Reading. local lines = {} local restOfFile local lineCt = 1 for line in hFile:lines() do if(lineCt == linha) then --Is this the line to modify? lines[#lines + 1] = "<!-- Magina nao pertence a esse pokemon " .. line .. " " .. texto --Modify line by appending a string to the end. restOfFile = hFile:read("*a") break else lineCt = lineCt + 1 lines[#lines + 1] = line end end hFile:close() hFile = io.open(filename, "w") --Write the file. for i, line in ipairs(lines) do hFile:write(line, "\n") end hFile:write(restOfFile) hFile:close()endfunction readLineSpellXMLSOURCE(filename, texto) local hFile = io.open(filename, "r") --Reading. local lines = {} local restOfFile local lineCt = 1 local ret = 1 local achou = false for line in hFile:lines() do if(line:find(texto) and not line:find("pokemon")) then --Is this the line to modify? ret = ret achou = true break else ret = ret + 1 end end hFile:close() if not achou then return 0 end return retendfunction isTwoGerenetion(name)local path = "data/monster/pokes/geracao 2/"..name..".xml"local tpw = io.type(io.open(path))if not tpw thenreturn falseelsereturn trueendendfunction setPokemonGhost(cid)if not isCreature(cid) then return true end if isInArray(pokesGhosts, doCorrectString(getCreatureName(cid))) then doCreatureSetSkullType(cid, 5) end if isSummon(cid) then local item = getPlayerSlotItem(getCreatureMaster(cid), 8) if getItemAttribute(item.uid, "yHeldItem") and getItemAttribute(item.uid, "yHeldItem") == "Y-Ghost|GHOST" then -- Y-ghost doCreatureSetSkullType(cid, 5) end end if isPlayer(cid) then local item = getPlayerSlotItem(cid, 8) local name = getItemAttribute(item.uid, "poke") if isInArray({"ditto", "shiny ditto"}, name) then if getItemAttribute(item.uid, "copyName") then name = getItemAttribute(item.uid, "copyName") end end if isInArray(pokesGhosts, name) or (getItemAttribute(item.uid, "yHeldItem") and getItemAttribute(item.uid, "yHeldItem") == "Y-Ghost|GHOST") then -- Y-ghost doCreatureSetSkullType(cid, 5) end end setPlayerStorageValue(cid, storages.isPokemonGhost, 1)endfunction isPokeGhost(cid)if not isCreature(cid) then return true end if isInArray(pokesGhosts, doCorrectString(getCreatureName(cid))) then return true end return falseend------ Funcoes de efetividadesfunction doSendParticleAura(cid, color)if not isCreature(cid) then return true end if getCreatureOutfit(cid).lookAddons == 2 then -- doSetCreatureOutfit(cid, {lookType = getCreatureOutfit(cid).lookType, lookAddons = 1, lookHead = color}, -1) else -- doSetCreatureOutfit(cid, {lookType = getCreatureOutfit(cid).lookType, lookAddons = 2, lookHead = color}, -1) end --addEvent(doSendParticleAura, 365, cid, color)endfunction playerAddExp(cid, exp) doPlayerAddExp(cid, exp) doSendAnimatedText(getThingPos(cid), exp, 215)endfunction getTableMove(name, moveName) local x = movestable[doCorrectString(name)] if not x then return "" end local z = "\n" local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12} for i = 1, #tables do if tables[i].name == moveName then return tables[i] end endend function getMoveForce(name, moveName) local x = movestable[doCorrectString(name)] if not x then return "" end local z = "\n" local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12} for i = 1, #tables do if tables[i].name == moveName then return tables[i].f end endend function retireShinyName(str) if string.find(str, "Shiny") then return str:match("Shiny (.*)") end return strend function doPassives(cid) endfunction isReflect(cid) return getPlayerStorageValue(cid, storages.reflect) >= 1endfunction removeReflect(cid) if not isCreature(cid) then return true end if getPlayerStorageValue(cid, storages.reflect) >= 1 then -- reflect system setPlayerStorageValue(cid, storages.reflect, getPlayerStorageValue(cid, storages.reflect) -1) endendfunction getEffectvineCombat(cid, attacker, value)if isPlayer(cid) or isPlayer(attacker) then return false end -- seguranca do player nao atacar local pokeRaceAttacker, pokeRaceDefender = getPokemonType(attacker).type1, getPokemonType(cid).type1 if isInArray(typeTable[pokeRaceAttacker].super, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].super, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa value = value * 1.3 elseif isInArray(typeTable[pokeRaceAttacker].weak, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].weak, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa value = value elseif isInArray(pokesGhosts, getCreatureName(cid)) then value = 0 end if getCreatureName(cid) == "Venusaur" and value ~= 0 and isMega(cid) and isInArray({"ice", "fire"}, pokeRaceAttacker)then -- Passiva thick fat value = value / 2 end return valueendfunction getEffectvineSpell(attacker, spellNameFromAttacker, value, cid) -- printar os elementos if(spellNameFromAttacker ~= -1) then -- checagem de efetividades local name = getCreatureName(attacker) -- reflect system if isMega(attacker) then name = getPlayerStorageValue(attacker, storages.isMega) end local spellRace, pokeElement1, pokeElement2 = getMoveType(name, spellNameFromAttacker), getPokemonType(cid).type1, getPokemonType(cid).type2 if not typeTable[spellRace] then local remover = removeSpellInXML(doCorrectString(name), spellNameFromAttacker) if remover then print("Magia: " .. spellNameFromAttacker .. " removida do XML: " .. doCorrectString(name) .. ".xml") end return 0 end local multiplier = 1 if isInArray(typeTable[spellRace].super, pokeElement1) then multiplier = multiplier + 1 end if pokeElement2 and isInArray(typeTable[spellRace].super, pokeElement2) then multiplier = multiplier + 1 end if isInArray(typeTable[spellRace].effective, pokeElement1) then multiplier = multiplier + 0.6 end if pokeElement2 and isInArray(typeTable[spellRace].effective, pokeElement2) then multiplier = multiplier + 0.6 end if isInArray(typeTable[spellRace].norm, pokeElement1) then multiplier = multiplier + 0.2 end if pokeElement2 and isInArray(typeTable[spellRace].norm, pokeElement2) then multiplier = multiplier + 0.2 end if isInArray(typeTable[spellRace].inef, pokeElement1) then multiplier = multiplier - 0.2 end if pokeElement2 and isInArray(typeTable[spellRace].inef, pokeElement2) then multiplier = multiplier - 0.2 end if isInArray(typeTable[spellRace].weak, pokeElement1) then multiplier = multiplier - 0.3 end if pokeElement2 and isInArray(typeTable[spellRace].weak, pokeElement2) then multiplier = multiplier - 0.3 end if isInArray(typeTable[spellRace].non, pokeElement1) then multiplier = multiplier * 0 end if pokeElement2 and isInArray(typeTable[spellRace].non, pokeElement2) then multiplier = multiplier * 0 end if multiplier == 1.5 and poketype2 == "no type" then multiplier = 2 elseif multiplier == 0.75 and poketype2 == "no type" then multiplier = 0.5 elseif multiplier == 1.25 then multiplier = 1 end value = value * multiplier if getCreatureName(cid) == "Venusaur" and value ~= 0 and isMega(cid) and isInArray({"ice", "fire"}, spellRace)then -- Passiva thick fat value = value / 2 end end setPlayerStorageValue(attacker, 21102, -1) return valueendfunction getMetronomeName(spellNameFromAttacker)local spells = {["Shadow Storm"] = "Gengar", ["Electric Storm"] = "Electabuzz", ["Magma Storm"] = "Magmar", ["Blizzard"] = "Jynx", ["Meteor Mash"] = "Metagross", ["Leaf Storm"] = "Venusaur", ["Hydropump"] = "Blastoise", ["Falling Rocks"] = "Golem"} return spells[spellNameFromAttacker]endfunction getMoveType(name, moveName) local x = movestable[doCorrectString(name)] if not x then return "" end local z = "\n" local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12} for i = 1, #tables do if tables[i].name == moveName then return tables[i].t end end return trueend function isGod(cid)if isPlayer(cid) then if getPlayerGroupId(cid) >= 6 then return true end return falseendendfunction isADM(cid)if isPlayer(cid) then if getPlayerGroupId(cid) >= 15 then return true end return falseendendfunction doJumpCreature(cid) if not isCreature(cid) then return true end local pos = getThingPos(cid) local corpse = doCreateItem(17173, 1, pos) addEvent(doRemoveItemFromPos, 100, pos, 17173, 1)endfunction doKillPlayer(cid, attacker, hit) if not isCreature(cid) then return true end demountPokemon(cid) local myName, attackerName = getCreatureName(cid), getCreatureName(attacker) -- doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_PLAYER_DEAD_WINDOW, "morreu|" .. doCorrectString(attackerName) .. "|" .. hit .. "|" .. tostring(getPortraitClientID(attackerName)) .. "|") if canWalkOnPos(getThingPos(cid), false, true, true, true, true) then if getPlayerSex(cid) == 1 then local corpse = doCreateItem(3058, 1, getThingPos(cid)) doDecayItem(corpse) doItemSetAttribute(corpse, "iname", "\nYou recognize ".. myName ..". He was killed by a ".. attackerName .."") elseif getPlayerSex(cid) == 0 then local corpse = doCreateItem(3065, 1, getThingPos(cid)) doDecayItem(corpse) doItemSetAttribute(corpse, "iname", "\nYou recognize ".. myName ..". She was killed by a ".. attackerName .."") end endreturn falseendfunction doRemoveCreatureWithS(cid)if not isCreature(cid) then return true end doRemoveCreature(cid)endfunction doKillPlayerPokemon(cid) if isShredTEAM(cid) then -- sherdder team doRemoveCreature(cid) return true end local deathtexts = {"Oh no! POKENAME, come back!", "Come back, POKENAME!", "That's enough, POKENAME!", "You did well, POKENAME!", "You need to rest, POKENAME!", "Nice job, POKENAME!", "POKENAME, you are too hurt!"} local master = getCreatureMaster(cid) local thisball = getPlayerSlotItem(master, 8) local ballName = getItemAttribute(thisball.uid, "poke") if not isCreature(cid) or not isCreature(master) then return true end if #getCreatureSummons(master) > 1 then BackTeam(master, getCreatureSummons(master)) end doSendMagicEffect(getThingPos(cid), pokeballs[getPokeballType(thisball.itemid)].effect) -- rever isso aqui doTransformItem(thisball.uid, pokeballs[getPokeballType(thisball.itemid)].off) local say = deathtexts[math.random(#deathtexts)] say = string.gsub(say, "POKENAME", getCreatureName(cid)) doCreatureSay(master, say, TALKTYPE_ORANGE_1) doItemSetAttribute(thisball.uid, "hpToDraw", 0) endfunction getPokemonType(cid)if isPlayer(cid) then return false end -- seguranca do player nao atacar local name = doCorrectString(getCreatureName(cid)) if not pokes[name] then return print("getPokemonType(cid): O pokemon " .. name .. " nao tem um tipo efetivo.") end local types = {} types.type1 = pokes[name].type types.type2 = pokes[name].type2 return typesendfunction getElementByCombat(combat) local element = "normal" for a, b in pairs(typeTable) do if(b.damageID == combat)then element = a break end end return elementend------ Funcoes de efetividades ----------function getPokemonOutfitToSkill(pokeName) if flys[pokeName] then return flys[pokeName][1] elseif rides[pokeName] then return rides[pokeName][1] else return surfs[pokeName].lookType endendfunction getPokemonSpeedToSkill(pokeName) if flys[pokeName] then return flys[pokeName][2] elseif rides[pokeName] then return rides[pokeName][2] else return surfs[pokeName].speed endendfunction getPokemonSkills(pokeName) local str = "" for a, b in pairs(specialabilities) do for i = 1, #b do if(b[i] == pokeName) then str = str .. (str == "" and "" or ", ") .. a end end end return strendfunction demountPokemon(cid, kill)if not isCreature(cid) then return false endif not isRiderOrFlyOrSurf(cid) then return false end doEreasPlayerOrder(cid) if not kill then local ball = getPlayerSlotItem(cid, 8) doTransformItem(ball.uid, pokeballs[getPokeballType(ball.itemid)].off) endend--// Edicioes DarkXPoke \\--function isUsingPotion(pokemon) if getPlayerStorageValue(pokemon, storages.potion) and getPlayerStorageValue(pokemon, storages.potion) >= 1 then return true else return false endendfunction isNumberPair(number) return number % 2 == 0 and true or falseendfunction getCombatColor(typeAtk, pokemon) local pokeName = getCreatureName(pokemon) local pokeType1 = getPokemonType1(pokeName) local pokeType2 = getPokemonType2(pokeName) if COMBAT_COLORS[typeAtk] == 180 then if COMBAT_TARGET_COLOR[pokeType1] ~= 180 then return COMBAT_TARGET_COLOR[pokeType1] elseif pokeType2 and COMBAT_TARGET_COLOR[pokeType2] ~= 180 then return COMBAT_TARGET_COLOR[pokeType2] else return 180 end else return COMBAT_COLORS[typeAtk] endendfunction getCreatureDirectionToTarget(cid, target) if not isCreature(cid) then return true end if not isCreature(target) then return getCreatureLookDir(cid) end local dirs = { [NORTHEAST] = {NORTH, EAST}, [sOUTHEAST] = {SOUTH, EAST}, [NORTHWEST] = {NORTH, WEST}, [sOUTHWEST] = {SOUTH, WEST} } local direction = getDirectionTo(getThingPos(cid), getThingPos(target), false) if direction <= 3 then return direction else local xdistance = math.abs(getThingPos(cid).x - getThingPos(target).x) local ydistance = math.abs(getThingPos(cid).y - getThingPos(target).y) if xdistance > ydistance then return dirs[direction][2] elseif ydistance > xdistance then return dirs[direction][1] elseif isInArray(dirs[direction], getCreatureLookDir(cid)) then return getCreatureLookDir(cid) else return dirs[direction][math.random(1, 2)] end endendfunction getPlayerFightModeOffense(cid) return fightMode[getPlayerStorageValue(cid, storages.fightMode)].offenseendfunction getPlayerFightModeDefense(cid) return fightMode[getPlayerStorageValue(cid, storages.fightMode)].defenseendfunction doOTCSendPokemonHealth(cid) local ball = getPlayerSlotItem(cid, CONST_SLOT_FEET) local pokemon = getCreatureSummons(cid) if not ball.uid or ball.uid <= 1 then return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, "0|0") end if #pokemon >= 1 then return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getCreatureHealth(pokemon[1]).."|"..getCreatureMaxHealth(pokemon[1])) end return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getBallHealth(cid, ball).."|"..getBallMaxHealth(cid, ball))endfunction portraitSendLifeOTC(cid, ball)if not isCreature(cid) then return true end if ball.uid and ball.uid ~= 0 then return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getBallHealth(cid, ball).."|"..getBallMaxHealth(cid, ball)) else return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, "0|0") endendfunction doTransformPokeballIcon(cid, item, count, toContainer, fromContainer, fromPos, toPos) ----------------- Icon system ----------------- if toPos.x ~= 65535 then -- jogando no chao if isContainer(item.uid) then local bag = item.uid for i = 1, #getPokeballsInContainer(bag) do local ballNow = getPokeballsInContainer(bag)[i] local ids = getPokeballs_ITEMS_ID_InContainer(bag)[i] if getItemAttributeWithSecurity(ballNow, "unique") == 'true' then return true end if not getItemAttribute(ballNow, "reverseIcon") then -- bug fix doItemSetAttribute(ballNow, "reverseIcon", "poke") end if isPokeballOn(ids) then doTransformItem(ballNow, pokeballs[getItemAttributeWithSecurity(ballNow, "reverseIcon")].on) elseif isPokeballOff(ids) then doTransformItem(ballNow, pokeballs[getItemAttributeWithSecurity(ballNow, "reverseIcon")].off) end doItemSetAttribute(ballNow, "ehDoChao", true) end elseif isPokeball(item.itemid) then if getItemAttributeWithSecurity(item.uid, "unique") == 'true' then return true end if not getItemAttribute(item.uid, "reverseIcon") then -- bug fix doItemSetAttribute(item.uid, "reverseIcon", "poke") end local pokeNamesBall = "" if not pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"] then print("Icon bugou: main function.lua [524]") return true end if isPokeballOn(item) then doTransformItem(item.uid, pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"].on) elseif isPokeballOff(item) then doTransformItem(item.uid, pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"].off) end doItemSetAttribute(item.uid, "ehDoChao", true) end else if isContainer(item.uid) then local bag = item.uid for i = 1, #getPokeballsInContainer(bag) do local ballNow = getPokeballsInContainer(bag)[i] local pokeName = string.lower(getItemAttributeWithSecurity(ballNow, "poke")) local ids = getPokeballs_ITEMS_ID_InContainer(bag)[i] if isPokeballOn(ids) then doTransformItem(ballNow, pokeballs[pokeName].on) elseif isPokeballOff(ids) then doTransformItem(ballNow, pokeballs[pokeName].off) end doItemSetAttribute(ballNow, "ehDoChao", false) end elseif isPokeball(item.itemid) then local pokeName = string.lower(getItemAttributeWithSecurity(item.uid, "poke")) if isPokeballOn(item) then doTransformItem(item.uid, pokeballs[pokeName].on) elseif isPokeballOff(item) then doTransformItem(item.uid, pokeballs[pokeName].off) end end end ----------------- Icon system ----------------- endfunction doSetAttributesBallsByPokeName(cid, ball, name)name = doCorrectString(name)local bTypeName = getItemAttribute(ball, "ball")if string.find(name, "Shiny") then bTypeName = "shiny" .. bTypeNameend doItemSetAttribute(ball, "poke", name)doItemSetAttribute(ball, "ballEffe", bTypeName)doItemSetAttribute(ball, "hpToDraw", 0)doItemSetAttribute(ball, "Icon", name:lower())doItemSetAttribute(ball, "reverseIcon", bTypeName)doItemSetAttribute(ball, "pokeDeath", false)doItemSetAttribute(ball, "initialKit", true)if not pokes[name] then print("Pokemon nao existe: " .. name) return trueendlocal pokeLifeMax = pokes[name].life local masterLevel = getPlayerLevel(cid)local lifePercentByLevel = 2 * masterLevel + (pokes[name].vitality * masterLevel) if(pokes[name].level < 60) then lifePercentByLevel = pokes[name].vitality * masterLevel * ( masterLevel > 60 and 1.5 or 1 ) endlocal life = pokeLifeMax + lifePercentByLevelsetBallHealth(ball, life, life)endfunction getPokeballName(ball) return getItemAttribute(ball.uid, "poke")end function getPokeName(cid)if not isCreature(cid) then return "" end return getPlayerStorageValue(cid, 510) or getCreatureName(cid)endfunction isFight(cid) if getCreatureCondition(cid, CONDITION_INFIGHT) then return true endreturn falseendfunction getBallEffect(ball) return pokeballs2[getItemAttribute(ball.uid, "ballEffe")].eff or 188end function getBallType(ball) return getItemAttribute(ball.uid, "ballEffe") or "poke"end function setBallHealth(ball, health, maxHealth) doItemSetAttribute(ball, "hpNow", health) doItemSetAttribute(ball, "hpMax", maxHealth)endfunction getBallHealth(cid, ball) for a, b in pairs (pokeballs) do if ball.itemid == b.off then return 0 end end if not getItemAttribute(ball.uid, "hpNow") then doSetAttributesBallsByPokeName(cid, ball.uid, getItemAttribute(ball.uid, "poke")) end local healthNow = getItemAttribute(ball.uid, "hpNow") return math.floor(healthNow)endfunction getBallMaxHealthUnique(cid, ball) if not getItemAttribute(ball, "hpMax") then doSetAttributesBallsByPokeName(cid, ball, getItemAttribute(ball, "poke")) end local healthNow = getItemAttribute(ball, "hpMax") return math.floor(healthNow)endfunction getBallMaxHealth(cid, ball) if not getItemAttribute(ball.uid, "hpMax") then doSetAttributesBallsByPokeName(cid, ball.uid, getItemAttribute(ball.uid, "poke")) end local healthNow = getItemAttribute(ball.uid, "hpMax") return math.floor(healthNow)endfunction doSetPokeballLifeStatus(item, health, maxHealth) doItemSetAttribute(item.uid, "hpNow", health) doItemSetAttribute(item.uid, "hpMax", maxHealth)endfunction doSendLifePokeToOTC(cid) local ball = getPlayerSlotItem(cid, 8) local pk = getCreatureSummons(cid) if #pk <= 0 then return true end if ball.uid ~= 0 then doSetPokeballLifeStatus(ball, getCreatureHealth(pk[1]), getCreatureMaxHealth(pk[1])) doOTCSendPokemonHealth(cid) endend------------------------------------------ Skill Bar OTCfunction doOTCSendPlayerSkills(cid) local str = {} table.insert(str, getPlayerClan(cid)) table.insert(str, "|"..getPlayerCasinoCoins(cid)) table.insert(str, "|"..getPlayerKantoCatches(cid).."|"..getPlayerTotalCatches(cid)) table.insert(str, "|"..getPlayerWins(cid).."|"..getPlayerLoses(cid).."|"..getPlayerOfficialWins(cid).."|"..getPlayerOfficialLoses(cid).."|"..getPlayerPVPScore(cid)) table.insert(str, "|"..getPlayerBadgeOfLeader(cid, "Brock")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Misty")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Surge")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Erika")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Sabrina")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Koga")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Blaine")) table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Giovanni")) return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_SKILL_BAR, table.concat(str))end------------------------------------------ Clanfunction setPlayerClans(cid, name) return setPlayerStorageValue(cid, storages.playerClan, string.lower(name)) and doOTCSendPlayerSkills(cid)endfunction getPlayerClan(cid) return getPlayerStorageValue(cid, storages.playerClan) == -1 and "Pokemon Trainer" or getPlayerStorageValue(cid, storages.playerClan)endfunction setPlayerClanRank(cid, value) return setPlayerStorageValue(cid, storages.playerClanRank, value)endfunction getPlayerClanRank(cid) return getPlayerStorageValue(cid, storages.playerClanRank) == -1 and 1 or getPlayerStorageValue(cid, storages.playerClanRank)end------------------------------------------ Casinofunction doPlayerAddInCasinoCoins(cid, value) return setPlayerStorageValue(cid, storages.playerCasinoCoins, getPlayerCasinoCoins(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerCasinoCoins(cid) return getPlayerStorageValue(cid, storages.playerCasinoCoins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerCasinoCoins)end------------------------------------------ Catchesfunction doPlayerAddInKantoCatchs(cid, value) return setPlayerStorageValue(cid, storages.playerKantoCatches, getPlayerKantoCatches(cid) + value)endfunction getPlayerKantoCatches(cid) return getPlayerStorageValue(cid, storages.playerKantoCatches) == -1 and 0 or getPlayerStorageValue(cid, storages.playerKantoCatches)endfunction doPlayerAddInTotalCatchs(cid, value) return setPlayerStorageValue(cid, storages.playerTotalCatches, getPlayerTotalCatches(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerTotalCatches(cid) return getPlayerStorageValue(cid, storages.playerTotalCatches) == -1 and 0 or getPlayerStorageValue(cid, storages.playerTotalCatches)end------------------------------------------ Duels and PVPfunction doPlayerAddInWins(cid, value) return setPlayerStorageValue(cid, storages.playerWins, getPlayerWins(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerWins(cid) return getPlayerStorageValue(cid, storages.playerWins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerWins)endfunction doPlayerAddInLoses(cid, value) return setPlayerStorageValue(cid, storages.playerLoses, getPlayerLoses(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerLoses(cid) return getPlayerStorageValue(cid, storages.playerLoses) == -1 and 0 or getPlayerStorageValue(cid, storages.playerLoses)endfunction doPlayerAddInOfficialWins(cid, value) return setPlayerStorageValue(cid, storages.playerOfficialWins, getPlayerOfficialWins(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerOfficialWins(cid) return getPlayerStorageValue(cid, storages.playerOfficialWins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerOfficialWins)endfunction doPlayerAddInOfficialLoses(cid, value) return setPlayerStorageValue(cid, storages.playerOfficialLoses, getPlayerOfficialLoses(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerOfficialLoses(cid) return getPlayerStorageValue(cid, storages.playerOfficialLoses) == -1 and 0 or getPlayerStorageValue(cid, storages.playerOfficialLoses)endfunction doPlayerAddInPVPScore(cid, value) return setPlayerStorageValue(cid, storages.playerPVPScore, getPlayerPVPScore(cid) + value) and doOTCSendPlayerSkills(cid)endfunction getPlayerPVPScore(cid) return getPlayerStorageValue(cid, storages.playerPVPScore) == -1 and 0 or getPlayerStorageValue(cid, storages.playerPVPScore)end------------------------------------------ Badgesfunction doPlayerAddBadgeOfLeader(cid, leader) return setPlayerStorageValue(cid, storages.gynLeaders[leader], 1)endfunction getPlayerBadgeOfLeader(cid, leader) return getPlayerStorageValue(cid, storages.gynLeaders[leader]) == -1 and 0 or getPlayerStorageValue(cid, storages.gynLeaders[leader])endfunction getPokeUniqueStorToCatch(poke) return pokeballs[string.lower(poke)].onendfunction getPokeUniqueStorToDex(poke) return pokeballs[string.lower(poke)].offendfunction isWild(cid) if not isCreature(cid) then return false end if not isSummon(cid) and isMonster(cid) then return true end return falseendfunction getPokeDistanceToTeleport(cid) if not isCreature(cid) then return true end if not isSummon(cid) then return true end local owner = getCreatureMaster(cid) if getThingPos(cid).z ~= getThingPos(owner).z or math.abs(getThingPos(owner).x - getThingPos(cid).x) > 7 or math.abs(getThingPos(owner).y - getThingPos(cid).y) > 5 then doTeleportThing(cid, getThingPos(owner), false) doSendMagicEffect(getThingPos(cid), 10) setMoveSummon(owner, true) end addEvent(getPokeDistanceToTeleport, 10, cid)endfunction setMoveSummon(cid, canMove)if not isCreature(cid) then return true endreturn canMove == true and setPlayerStorageValue(cid, 500, -1) or setPlayerStorageValue(cid, 500, 1) end function getPokeballs_ITEMS_ID_InContainer(container) -- Function By Kydrai if not isContainer(container) then return {} end local items = {} if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getPokeballsInContainer(item.uid) for i=0, #itemsbag do table.insert(items, itemsbag[i]) end elseif isPokeball(item.itemid) then table.insert(items, item) end end endreturn itemsendfunction getBallNickName(ball) return getItemAttribute(ball.uid, "nick") or 0endfunction doCreatureSetNick(cid, nick) local nid = getCreatureName(cid) local master = getCreatureMaster(cid) local newPoke = doCreateMonster(nid, farwayPos) local oldPos = getThingPos(cid) doRemoveCreature(cid) setCreatureName(newPoke, nick, nick) doTeleportThing(newPoke, oldPos, false) doConvinceCreature(master, newPoke) registerCreatureEvent(newPoke, "SummonDeath") getPokeDistanceToTeleport(newPoke) end--------------------- Icon system ---------------------function doTransformBallsInIcons(cid) setPlayerStorageValue(cid, storages.iconSys, 1) local bag = getPlayerSlotItem(cid, 3).uid for i = 1, #getPokeballsInContainer(bag) do local ballNow = getPokeballsInContainer(bag)[i] local pokeName = string.lower(getItemAttribute(ballNow, "pokeName")) local ids = getPokeballs_ITEMS_ID_InContainer(bag)[i] if isPokeballOn(ids) then doTransformItem(ballNow, pokeballs[pokeName].on) elseif isPokeballOff(ids) then doTransformItem(ballNow, pokeballs[pokeName].off) end end local legs = getPlayerSlotItem(cid, 8) if legs.uid > 0 then local pokeName = string.lower(getItemAttribute(legs.uid, "pokeName")) if isPokeballOn(legs) then doTransformItem(legs.uid, pokeballs[pokeName].on) elseif isPokeballOff(legs) then doTransformItem(legs.uid, pokeballs[pokeName].off) end end local arrow = getPlayerSlotItem(cid, 10) if arrow.uid > 0 then if not getItemAttribute(arrow.uid, "pokeName") then return true end local pokeName = string.lower(getItemAttribute(arrow.uid, "pokeName")) if isPokeballOn(arrow) then doTransformItem(arrow.uid, pokeballs[pokeName].on) elseif isPokeballOff(arrow) then doTransformItem(arrow.uid, pokeballs[pokeName].off) end end endfunction doTransformIconsInBalls(cid) setPlayerStorageValue(cid, storages.iconSys, -1) local bag = getPlayerSlotItem(cid, 3).uid for i = 1, #getPokeballsInContainer(bag) do local ballNow = getPokeballsInContainer(bag)[i] local ids = getPokeballs_ITEMS_ID_InContainer(bag)[i] if isPokeballOn(ids) then doTransformItem(ballNow, pokeballs[getItemAttribute(ballNow, "ballEffe")].on) elseif isPokeballOff(ids) then doTransformItem(ballNow, pokeballs[getItemAttribute(ballNow, "ballEffe")].off) end end local legs = getPlayerSlotItem(cid, 8) if legs.uid > 0 then if isPokeballOn(legs) then doTransformItem(legs.uid, pokeballs[getItemAttribute(legs.uid, "ballEffe")].on) elseif isPokeballOff(legs) then doTransformItem(legs.uid, pokeballs[getItemAttribute(legs.uid, "ballEffe")].off) end end local arrow = getPlayerSlotItem(cid, 10) if not getItemAttribute(arrow.uid, "pokeName") then return true end if arrow.uid > 0 then if isPokeballOn(arrow) then doTransformItem(arrow.uid, pokeballs[getItemAttribute(arrow.uid, "ballEffe")].on) elseif isPokeballOff(arrow) then doTransformItem(arrow.uid, pokeballs[getItemAttribute(arrow.uid, "ballEffe")].off) end end endfunction isItemPokeball(item) --alterado v1.9 \/if not item then return false endfor a, b in pairs (pokeballs) do if b.on == item or b.off == item or b.use == item then return true endendreturn falseendfunction isPokeball(item)return isItemPokeball(item)end function getItensUniquesInContainer(container) --alterado v1.6if not isContainer(container) then return {} endlocal items = {}if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getItensUniquesInContainer(item.uid) for i=0, #itemsbag do table.insert(items, itemsbag[i]) end elseif getItemAttribute(item.uid, "unique") or getItemAttribute(item.uid, "torneio") then table.insert(items, item) end endendreturn itemsendfunction getPokeballsInContainer(container) -- Function By Kydrai if not isContainer(container) then return {} end local items = {} if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getPokeballsInContainer(item.uid) for i=0, #itemsbag do table.insert(items, itemsbag[i]) end elseif isPokeball(item.itemid) then table.insert(items, item.uid) end end endreturn itemsendfunction isWaterTile(id)return tonumber(id) and id >= 4608 and id <= 4613 --alterado v1.9endfunction isVenomTile(id)return tonumber(id) and (id >= 4691 and id <= 4712 or id >= 4713 and id <= 4736 or id >= 4749 and id <= 4755 or id >= 4876 and id <= 4882) --alterado v1.9endfunction isUseIconSystem(cid) if tonumber(getPlayerStorageValueWithSecurity(cid, storages.iconSys)) and getPlayerStorageValueWithSecurity(cid, storages.iconSys) == 1 then return true end return false endfunction getPlayerStorageValueWithSecurity(cid, stor) if not isCreature(cid) then return true end return getPlayerStorageValue(cid, stor) endfunction getItemAttributeWithSecurity(item, attr) if not item == 0 or item == nil then return true end return getItemAttribute(item, attr) or 0endfunction unLock(ball) if not ball or ball <= 0 then return false endif getItemAttribute(ball, "lock") and getItemAttribute(ball, "lock") > 0 then local vipTime = getItemAttribute(ball, "lock") local timeNow = os.time() local days = math.ceil((vipTime - timeNow)/(24 * 60 * 60)) if days <= 0 then doItemEraseAttribute(ball, "lock") doItemEraseAttribute(ball, "unique") return true endendreturn falseendfunction getBallsAttributes(item)local t = {"pokeName", "pokeNick", "health", "maxHealth", "ballEffe", "copyName", "boost", "happy", "description", "transBegin", "transLeft", "transTurn", "transOutfit", "transName", "trans", "light", "blink", "move1", "move2", "move3", "move4", "move5", "move6", "move7", "move8", "move9", "move10", "move11", "move12", "ballorder", "hands", "aura", "burn", "burndmg", "poison", "poisondmg", "confuse", "sleep", "miss", "missSpell", "missEff", "fear", "fearSkill", "silence", "silenceEff", "stun", "stunEff", "stunSpell", "paralyze", "paralyzeEff", "slow", "slowEff", "leech", "leechdmg", "Buff1", "Buff2", "Buff3", "Buff1skill","Buff2skill", "Buff3skill", "control", "unique", "task", "lock", "torneio"} local ret = {}for a = 1, #t doif getItemAttribute(item, t[a]) == "hands" thenreturnendret[t[a]] = getItemAttribute(item, t[a]) or falseendreturn retend--------------------- Icon system ------------------------ balls \/function isPokeballOn(ball) for a, b in pairs(pokeballs) do if b.on == ball.itemid then return true end endreturn falseendfunction isPokeballOff(ball) for a, b in pairs(pokeballs) do if b.off == ball.itemid then return true end endreturn falseendfunction isPokeballUse(ball) for a, b in pairs(pokeballs) do if b.use == ball.itemid then return true end endreturn falseend---- PDA functionsfunction isPlayerSummon(cid, uid)return getCreatureMaster(uid) == cid --alterado v1.9endfunction isSummon(sid)return isCreature(sid) and getCreatureMaster(sid) ~= sid and isPlayer(getCreatureMaster(sid)) --alterado v1.9end function getPlayerDesc(cid, thing, TV)if (not isCreature(cid) or not isCreature(thing)) and not TV then return "" endlocal pos = getThingPos(thing)local ocup = youAre[getPlayerGroupId(thing)]local rank = (getPlayerStorageValue(thing, 86228) <= 0) and "Treinador Pokemon" or lookClans[getPlayerStorageValue(thing, 86228)][getPlayerStorageValue(thing, 862281)]local name = thing == cid and "Yourself" or getCreatureName(thing) local art = thing == cid and "You are" or (getPlayerSex(thing) == 0 and "She is" or "He is") local str = {}table.insert(str, "You are looking"..name..". "..art.." ")if youAre[getPlayerGroupId(thing)] then table.insert(str, (ocup).." and "..rank.." from ".. getTownName(getPlayerTown(thing))..".") else table.insert(str, (rank).." from ".. getTownName(getPlayerTown(thing))..".")endif getPlayerGuildId(thing) > 0 then table.insert(str, " "..art.." "..getPlayerGuildRank(thing).." do "..getPlayerGuildName(thing)..".")endif TV then table.insert(str, " "..art.." watching TV.")endtable.insert(str, ((isPlayer(cid) and youAre[getPlayerGroupId(cid)]) and "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]" or "")) return table.concat(str) endfunction ehNPC(cid) --alterado v1.9return isCreature(cid) and not isPlayer(cid) and not isSummon(cid) and not isMonster(cid)endfunction ehMonstro(cid) --alterado v1.9return cid and cid >= AUTOID_MONSTERS and cid < AUTOID_NPCSendfunction isPosEqual(pos1, pos2) if pos1.x == pos2.x and pos1.y == pos2.y and pos1.z == pos2.z then return true end return falseendfunction isPosInArray(array, pos)if not next(array) then return false endfor i = 1, #array do if isPosEqual(pos, array[i]) then return true endendreturn falseendfunction canWalkOnPos(pos, creature, pz, water, sqm, proj)if not pos then return false endif not pos.x then return false endif getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid <= 1 and sqm then return false endif getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 919 then return false endif isInArray({4820, 4821, 4822, 4823, 4824, 4825}, getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid) and water then return false endif getTopCreature(pos).uid > 0 and creature then return false endif hasSqm(pos) and getTileInfo(pos).protection and pz then return false end local n = not proj and 3 or 2 --alterado v1.6 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and i ~= 253 and not isCreature(tile.uid) then --edited if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return trueendfunction isWalkable(pos, creature, proj, pz, water)-- by Nord if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end if isWaterTile(getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid) and water then return false end if getTopCreature(pos).uid > 0 and creature then return false end if getTileInfo(pos).protection and pz then return false, true end local n = not proj and 3 or 2 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return trueendconds = {["Slow"] = 3890,["Confusion"] = 3891, ["Burn"] = 3892,["Poison"] = 3893,["Fear"] = 3894,["Stun"] = 3895,["Paralyze"] = 3896, ["Leech"] = 3897,["Buff1"] = 3898,["Buff2"] = 3899,["Buff3"] = 3900,["Miss"] = 32659, ["Silence"] = 32698, ["Sleep"] = 98271,}function isSilence(cid) if not isCreature(cid) then return false end if getPlayerStorageValue(cid, conds["Silence"]) >= 0 then return true endreturn falseendfunction isParalyze(cid) if not isCreature(cid) then return false end if getPlayerStorageValue(cid, conds["Paralyze"]) >= 0 then return true endreturn falseend function isSleeping(cid) if not isCreature(cid) then return false end if getPlayerStorageValue(cid, conds["Sleep"]) >= 0 then return true endreturn falseendfunction doRegainSpeed(cid) --alterado v1.9 \/if not isCreature(cid) then return true end local speed = playerSpeed if isMonster(cid) then speed = getCreatureBaseSpeed(cid) elseif isPlayer(cid) and isInArray({4, 5, 6, 15}, getPlayerGroupId(cid)) then speed = 200 * getPlayerGroupId(cid) end doChangeSpeed(cid, -getCreatureSpeed(cid)) if getCreatureCondition(cid, CONDITION_PARALYZE) == true then doRemoveCondition(cid, CONDITION_PARALYZE) addEvent(doAddCondition, 10, cid, paralizeArea2) end if ehMonstro(cid) and pokes[getCreatureName(cid)] then speed = pokes[getCreatureName(cid)].agility end if isADM(cid) then speed = 15000 end doChangeSpeed(cid, speed)return speedendfunction doPlayerAddExp_2(cid, exp)if not isCreature(cid) then return true end doPlayerAddExp(cid, exp) doSendAnimatedText(getThingPos(cid), exp, 215)endfunction doWalkAgain(cid) if not isCreature(cid) then return true end if getCreatureTarget(cid) >= 1 then setMoveSummon(master, true) return true end local master = getCreatureMaster(cid) local pox, poy = getPlayerStorageValue(cid, 505), getPlayerStorageValue(cid, 506) if pox == -1 and poy == -1 then addEvent(doWalkAgain, 200, cid) return true end if getThingPos(master).x ~= pox or getThingPos(master).y ~= poy then setMoveSummon(master, true) end addEvent(doWalkAgain, 200, cid)endfunction doMovePokeToPos(cid, pos)if not isCreature(cid) then return true end doMoveCreatureToPos(cid, pos)endfunction getSpeed(cid) if not isCreature(cid) then return 0 endreturn tonumber(getPlayerStorageValue(cid, 1003))endfunction isGhost(cid) endfunction isGhostPokemon(cid) if not isCreature(cid) then return false end local ghosts = {"Gastly", "Haunter", "Gengar", "Shiny Gengar", "Misdreavus", "Shiny Abra"}return isInArray(ghosts, getCreatureName(cid))endfunction updateGhostWalk(cid) if not isCreature(cid) then return false end local pos = getThingPos(cid) pos.x = pos.x + 1 pos.y = pos.y + 1 local ret = getThingPos(cid) doTeleportThing(cid, pos, false) doTeleportThing(cid, ret, false)return trueend--- funcsfunction getTopCorpse(position)local pos = positionfor n = 1, 255 do pos.stackpos = n local item = getTileThingByPos(pos) if (string.find(getItemNameById(item.itemid), "fainted") or string.find(getItemNameById(item.itemid), "defeated ")) then return getTileThingByPos(pos) endendreturn nullendfunction doCorrectPokemonName(poke)return doCorrectString(poke)endfunction doCorrectString(str)local name = str:explode(" ") --alterado v1.9local final = {}for _, s in ipairs(name) do table.insert(final, s:sub(1, 1):upper()..s:sub(2, #s):lower())endreturn table.concat(final, (name[2] and " " or ""))end ---------------------------------------- Order (N\E3o mexer) ----------------------------------------function getPokemonName(cid) return getCreatureName(cid)endfunction isRiderOrFlyOrSurf(cid) if getPlayerStorageValue(cid, orderTalks["surf"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["ride"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["fly"].storage) == 1 then return true end return falseendfunction doEreasPlayerOrder(cid) setPlayerStorageValue(cid, orderTalks["surf"].storage, -1) setPlayerStorageValue(cid, orderTalks["ride"].storage, -1) setPlayerStorageValue(cid, orderTalks["fly"].storage, -1)endfunction isRider(cid) if getPlayerStorageValue(cid, orderTalks["ride"].storage) == 1 then return true end return falseendfunction isFly(cid) if getPlayerStorageValue(cid, orderTalks["fly"].storage) == 1 then return true end return falseendfunction isSurf(cid) if getPlayerStorageValue(cid, orderTalks["surf"].storage) == 1 then return true end return falseendfunction isUsingOrder(cid) if getPlayerStorageValue(cid, orderTalks["headbutt"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["dig"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["cut"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["rock"].storage) == 1 then return true end return falseendfunction doEreaseUsingOrder(cid) setPlayerStorageValue(cid, orderTalks["dig"].storage, -1) setPlayerStorageValue(cid, orderTalks["cut"].storage, -1) setPlayerStorageValue(cid, orderTalks["rock"].storage, -1) setPlayerStorageValue(cid, orderTalks["headbutt"].storage, -1)endfunction doSendMsg(cid, msg) if not isPlayer(cid) then return true end doPlayerSendTextMessage(cid, 27, msg)endfunction doCopyPokemon(cid, copy, eff) local item = getPlayerSlotItem(getCreatureMaster(cid), 8) local sid = getCreatureMaster(cid) local pos, dir = getThingPos(cid), getPlayerLookDir(cid) local blockToDitto = {"Shiny Snorlax", "Unown", "Shiny Abra", "Castform", "Smeargle", "Articuno", "Moltres", "Zapdos", "suicune", "Raikou", "Entei", "Minun And Plusle", "Metagross", "Magmortar", "Milotic", "Tangrowth", "Rhyperior", "Dusknoir", "Slaking", "Salamence", "Electivire", "Kecleon", "Rotom", "Froslass","Ancient Alakazam", "Ancient Dragonite", "Ancient Kingdra", "Ancient Meganium", "Ancient Scyther", "Hungry Snorlax", "Aviator Pidgeot", "Banshee Misdreavus", "Bone Marowak", "Boxer Hitmonchan", "Brave Blastoise", "Brave Charizard", "Brave Nidoking", "Brave Nidoqueen", "Brave Noctowl", "Brave Venusaur", "Brute Farfetch'd", "Brute Rhydon", "Brute Ursaring", "Capoeira Hitmontop", "Charged Raichu", "Dark Crobat", "Dragon Machamp", "Elder Arcanine", "Elder Blastoise", "Elder Charizard", "Elder Dragonite", "Elder Electabuzz", "Elder Gengar", "Elder Jynx", "Elder Marowak", "Elder Muk", "Elder Pidgeot", "Elder Pinsir", "Elder Raichu", "Elder Tangela", "Elder Tentacruel", "Elder Tyranitar", "Elder Venusaur", "Enigmatic Girafarig", "Enraged Typhlosion", "Evil Cloyster", "Freezing Dewgong", "Furios Ampharos", "Furios Mantine", "Furios Murkrow", "Furious Sandslash", "Furious Scyther", "Hard Golem", "Heavy Piloswine", "Iron Steelix", "Lava Magmar", "Magnet Electabuzz", "Master Abra", "Master Alakazam", "Master Stantler", "Metal Scizor", "Metal Skarmory", "Milch-Miltank", "Moon Clefable", "Octopus Octillery", "Psy Jynx", "Roll Donphan", "Singer Wigglytuff", "Taekwondo Hitmonlee", "Tribal Feraligatr", "Tribal Scyther", "Tribal Xatu", "Undefted Machamp", "War Farfetch'd", "War Granbull", "War Gyarados", "War Heracross", "Wardog Arcanine", "furious ampharos", "Mew", "Mewtwo", "Moltres", "Zapdos", "Articuno", "Lugia", "Suicune", "Celebi", "Ancient Dragonair", "Milky Miltank", "Ho-Oh"} if isInArray(blockToDitto, copy) then doSendMsg(sid, "Impossivel copiar este pokemon.") return true end if isInDuel(sid) then doSendMsg(sid, "Você não pode transformar seu ditto estando duelo.") return true end local nick = retireShinyName(getItemAttribute(item.uid, "poke")) if getItemAttribute(item.uid, "poke") == "Ditto" and isShinyName(copy) then doSendMsg(sid, "So um Shiny Ditto pode se transformar em pokemons do tipo Shiny.") return true end ---------------------------- Sistema pokes de clan -------------------------------------- local shinysClan = { ["Shiny Fearow"] = {4, "Wingeon"}, ["Shiny Flareon"] = {1, "Volcanic"}, ["Shiny Vaporeon"] = {2, "Seavel"}, ["Shiny Jolteon"] = {9, "Raibolt"}, ["Shiny Hypno"] = {7, "Psycraft"}, ["Shiny Golem"] = {3, "Orebound"}, ["Shiny Vileplume"] = {8, "Naturia"}, ["Shiny Nidoking"] = {5, "Malefic"}, ["Shiny Hitmontop"] = {6, "Gardestrike"}, --alterado v1.4 } if shinysClan[copy] and getPlayerGroupId(sid) < 4 then --alterado v1.9 \/ if getPlayerClanNum(sid) ~= shinysClan[copy][1] then doPlayerSendCancel(sid, "You need be a member of the clan "..shinysClan[copy][2].." to use this pokemon!") return true elseif getPlayerClanRank(sid) ~= 5 and getPlayerGroupId(sid) < 4 then doPlayerSendCancel(sid, "You need be atleast rank 5 to use this pokemon!") return true end end -------------------------------------------------------------------------------------- if getItemAttribute(item.uid, "nick") then nick = getItemAttribute(item.uid, "nick") end if getItemAttribute(item.uid, "copyName") == copy then doSendMsg(sid, "Seu ditto já é uma copia do " .. copy) return true end if not pokes[copy] then doSendMsg(cid, "Isso não é um pokemon.") return true end doPlayerSay(sid, nick..", copie o "..retireShinyName(copy)..".") local heath_toDrawPercent = getCreatureMaxHealth(cid) - getCreatureHealth(cid) doRemoveCreature(cid) local poke = doCreateMonsterNick(sid, copy, nick, pos, true) doTeleportThing(poke, pos) setPlayerStorageValue(poke, 510, copy) doCreatureSetLookDir(poke, dir) doItemSetAttribute(item.uid, "copyName", copy) doSendPlayerExtendedOpcode(sid, opcodes.OPCODE_BATTLE_POKEMON, tostring(poke)) doUpdateMoves(sid) getPokeDistanceToTeleport(poke) adjustStatus(poke, item.uid, true, heath_toDrawPercent, true) setPokemonGhost(poke) if eff then doSendMagicEffect(pos, 184) end -- doOTCSendPokemonHealth(sid)endfunction round(num, idp) return tonumber(string.format("%." .. (idp or 0) .. "f", num))endfunction doGoPokemonInOrder(cid, item, goMsg) if getPlayerSlotItem(cid, 8).uid ~= item.uid then return true end item = getPlayerSlotItem(cid, 8) if item.uid == 0 then return true end local name = getItemAttribute(item.uid, "poke") local nick = name if isInArray({"Ditto", "shiny ditto"}, name:lower()) then name = getItemAttribute(item.uid, "copyName") end local effe = pokeballs[getPokeballType(item.itemid)].effect if getItemAttribute(item.uid, "nick") then nick = getItemAttribute(item.uid, "nick") end pokeSourceCode = doCreateMonsterNick(cid, name, retireShinyName(nick), getThingPos(cid), true) if not pokeSourceCode then doSendMsg(cid, "Erro. Comunique esse codigo ao GM. [31121994]") return true end local poke = getCreatureSummons(cid)[1] doTeleportThing(poke, farWayPos) doTeleportThing(poke, getThingPos(cid)) doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_BATTLE_POKEMON, tostring(poke)) setPlayerStorageValue(poke, 510, name) doCreatureSetLookDir(poke, getPlayerLookDir(cid)) getPokeDistanceToTeleport(poke) setMoveSummon(cid, true) doUpdateMoves(cid) doUpdateCooldowns(cid)--doItemEraseAttribute(item.uid, "healthChanged") adjustStatus(poke, item.uid, true, true, true) setPokemonGhost(poke) if getCreatureSkullType(cid) == 5 then doCreatureSetSkullType(cid, 0) end -- setCreatureMaxHealth(poke, getBallMaxHealth(cid, item)) -- local lifeToDraw = tonumber(getItemAttribute(item.uid, "hpToDraw")) -- doCreatureAddHealth(poke, -lifeToDraw) -- doItemSetAttribute(item.uid, "healthChanged", getCreatureName(cid)) --doOTCSendPokemonHealth(cid)endfunction doUp(cid, summon, move) local pokeName = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke") local ditto = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "copyName") if ditto and ditto ~= "" then pokeName = ditto end local outfit = getPokemonOutfitToSkill(pokeName) local speed = getPokemonSpeedToSkill(pokeName) local life = getCreatureMaxHealth(summon) - getCreatureHealth(summon) doSetItemAttribute(getPlayerSlotItem(cid, 8).uid, "hpToDraw", life) addEvent(doRemoveCreature, 10, summon) doSetCreatureOutfit(cid, {lookType = outfit + 351}, -1) doChangeSpeed(cid, -getCreatureSpeed(cid)) doChangeSpeed(cid, speed) if #getCreatureSummons(cid) > 1 and getPlayerStorageValue(cid, 212124) <= 0 then --alterado v1.6 if getPlayerStorageValue(cid, 637501) == -2 or getPlayerStorageValue(cid, 637501) >= 1 then BackTeam(cid) end end if move == "ride" then setPlayerStorageValue(cid, orderTalks["ride"].storage, 1) elseif move == "fly" then setPlayerStorageValue(cid, orderTalks["fly"].storage, 1) end setPokemonGhost(cid) doPlayerSendCancel(cid, '12//,hide') --alterado v1.7 endfunction getCylinderTiles(pos, cilinderSize) -- By SmiXlocal position = poslocal c = cilinderSizelocal pos = {}for i=-c, c do for j=-c, c do local posEffect = {x=position.x+i,y=position.y+j,z=position.z} table.insert(pos, posEffect) endend return posendfunction recheck(sid, skill, pos) if not isCreature(sid) or not isCreature(getCreatureMaster(sid)) then return end if not isUsingOrder(sid) then return true end local cid = getCreatureMaster(sid) if skill == "cut" then local item = getTileItemById(pos, 2767) if not item or item.uid <= 0 then return true end doCreatureSay(sid, "CUT!", TALKTYPE_MONSTER) doSendMagicEffect(getThingPos(item.uid), EFFECT_CUT) doTransformItem(item.uid, 6216) local function growRock() doTransformItem(getTileItemById(pos, 6216).uid, 2767) end addEvent(growRock, tempoPraVoltarAoNormal * 1000) elseif skill == "rock" then local item = getTileItemById(pos, 1285) if not item or item.uid <= 0 then return true end doCreatureSay(sid, "ROCK SMASH!", TALKTYPE_MONSTER) doSendMagicEffect(getThingPos(item.uid), EFFECT_DIG) doTransformItem(item.uid, 3610) local function growRock() doTransformItem(getTileItemById(pos, 3610).uid, 1285) end addEvent(growRock, tempoPraVoltarAoNormal * 1000) elseif skill == "headbutt" then --alterado v1.6 local item = getTileItemById(pos, 2707) --id do item arvore normal if not item or item.uid <= 0 then return true end local master = getCreatureMaster(sid) local array = {} local lvl = {25, 40, 60, 80, 1000} --lvls for i = 1, #lvl do if getPlayerLevel(master) <= lvl[i] then array = headbutt[lvl[i]] break end end local rand = array[math.random(#array)] for j = 1, rand[2] do local poke = doCreateMonster(rand[1] , getClosestFreeTile(sid, pos)) end doCreatureSay(sid, "HEADBUTT!", TALKTYPE_MONSTER) doSendMagicEffect(getThingPos(item.uid), EFFECT_DIG) doTransformItem(item.uid, 2702) --id do item arvore quebrada local function growHead() doTransformItem(getTileItemById(pos, 2702).uid, 2707) --id do item arvore quebrada, arvore normal end addEvent(growHead, choose(5, 8, 10, 15) * 60 * 1000) --o tempo pra arvore voltar ao normal varia de 5~30minend doEreaseUsingOrder(sid) endfunction choose(...) -- by mock local arg = {...} return arg[math.random(1,#arg)]endfunction getFreeTile(pos) if canWalkOnPos(pos, true, false, false, false, false) then return pos end local tmp for dir = 0, 7 do tmp = getPosByDir(pos, dir) if canWalkOnPos(tmp, true, false, false, false, false) then return tmp end end return farWayPosend------------------------ marcar a pos do spawn do poke e retornar elafunction doMarkedSpawnPos(cid)local pos = getThingPos(cid) setPlayerStorageValue(cid, storages.markedPosPoke, "x = "..pos.x..", y = "..pos.y..", z = "..pos.z..";")endfunction doMarkedPos(cid, pos) setPlayerStorageValue(cid, storages.markedPosPoke, "x = "..pos.x..", y = "..pos.y..", z = "..pos.z..";")endfunction isInPartyAndSharedExperience(cid) if isInParty(cid) and isPartyEnabledExp(cid) then return true end return falseendfunction getMarkedSpawnPos(cid) local l = {} local pos = getPlayerStorageValue(cid, storages.markedPosPoke) local strPos = "x = (.-), y = (.-), z = (.-);" for a, b, c in pos:gmatch(strPos) do l = {x = tonumber(a), y = tonumber(b), z = tonumber©} end return lendfunction doComparePositions(position, positionEx)return position.x == positionEx.x and position.y == positionEx.y and position.z == positionEx.zend------------------------ marcar a pos do spawn do poke e retornar elafunction doPlayerAddPoke(cid, pokeName, ball, unique) local ballid = pokeballs[ball] local send = false if not ballid then return print("doPlayerAddPoke: Nao foi encontrada a pokebola: "..ball) end if isUseIconSystem(cid) then id = pokeballs[string.lower(pokeName)].on else id = ballid.on end if (getPlayerFreeCap(cid) <= 1 and not isInArray({5, 6}, getPlayerGroupId(cid))) or not hasSpaceInContainer(getPlayerSlotItem(cid, 3).uid) then item = doCreateItemEx(id) send = true else item = addItemInFreeBag(getPlayerSlotItem(cid, 3).uid, id, 1) end doItemSetAttribute(item, "health", getPokemonHealth(pokeName)) doItemSetAttribute(item, "maxHealth", getPokemonHealth(pokeName)) doItemSetAttribute(item, "pokeName", doCorrectString(pokeName)) doItemSetAttribute(item, "ballEffe", ball) if send then doPlayerSendMailByName(getCreatureName(cid), item, 1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você já está segurando seis pokebolas, o seu novo pokemon foi enviado para o CP.") endendfunction hasSpaceInContainer(container) --alterado v1.6if not isContainer(container) then return false endif getContainerSize(container) < getContainerCap(container) then return true endfor slot = 0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then if hasSpaceInContainer(item.uid) then return true end endendreturn falseendfunction doSendEffect(cid, effe)if not isCreature(cid) then return true end doSendMagicEffect(getThingPos(cid), effe) endfunction doSendEffectAndText(cid, effe, text, color)if not isCreature(cid) then return true endif not color then color = 215 end doSendEffect(cid, effe) if text and text ~= "" then doSendAnimatedText(getThingPos(cid), text, color) endendfunction setCreatureVisibility(cid, vis) if not isCreature(cid) then return true end if vis then doAddCondition(cid, invisiblecondition) else doRemoveCondition(cid, CONDITION_INVISIBLE) endendfunction setCreatureHick(cid, secs, i)if not isCreature(cid) then return true end i = i +1 local pos2 = getThingPos(cid) pos2.x = pos2.x + math.random(1, 4) pos2.y = pos2.y + math.random(1, 4) if(i < secs) then local pos = getPosByDir(pos2, math.random(0, 7)) local master = getCreatureMaster(cid) if(isPlayer(master)) then setMoveSummon(master, false) end doAddCondition(cid, bebo) doMovePokeToPos(cid, pos) pos = getThingPos(cid) pos.y = pos.y -1 doSendMagicEffect(pos, 31) addEvent(setCreatureHick, 1000, cid, secs, i) else doRemoveCondition(cid, CONDITION_DRUNK) endendfunction doRemoveConditionWithSecurity(cid, cond)if not isCreature(cid) then return true end doRemoveCondition(cid, cond)endfunction doCanAttackOther(cid, target)setPlayerStorageValue(cid, storages.teamRed, 1)setPlayerStorageValue(target, storages.teamBlue, 1)endfunction isInDuel(cid)if not isCreature(cid) then return false end if getPlayerStorageValue(cid, storages.isInDuel) == 1 then return true end return falseend-------------- pokedexfunction getPokemonVitalityD(name) if not pokes[name] then return false end return pokes[name].vitalityendfunction getPokemonAttackD(name) if not pokes[name] then return false end return pokes[name].offenseendfunction getPokemonDefenseD(name) if not pokes[name] then return false end return pokes[name].defenseendfunction getPokemonSpAttackD(name) if not pokes[name] then return false end return pokes[name].specialattackendfunction getPokemonLevelD(name) if not pokes[name] then return false end if pokes[name].level <= 1 then return 5 end return pokes[name].levelendfunction getPokemonPortraitD(name) if not pokes[name] then return false end return pokes[name].portraitendfunction getPokemonType1D(name) if not pokes[name] then return "normal" end return pokes[name].typeendfunction getPokemonType2D(name) if not pokes[name] or not pokes[name].type2 then return false end return pokes[name].type2endfunction getPokemonHealthD(name) if not pokes[name] then return false end return getMonsterInfo(name).healthMaxendfunction getPokemonExperienceD(name) if not pokes[name] then return false end return getMonsterInfo(name).experienceendfunction getPokemonCatchedStorage(name) if not pokes[name] then return false end return getMonsterInfo(name).lookCorpseendfunction getPokemonCorpse(name) if not pokes[name] then return false end return getMonsterInfo(name).lookCorpseend Link para o comentário Compartilhar em outros sites More sharing options...
Josegvb 87 Postado Novembro 12, 2016 Autor Share Postado Novembro 12, 2016 @Drakopoulos mesma coisa irmao u.u troquei td certinho mas o msm bug continua, primer hit nao bate mas os siguentes sim. usei a versao 3 pra testar e la enquanto tiver apenas 1 bixo ele funfa certo mas se aparescer 2 buga e tambem apos usar uma skill buga igual q a versao 1 q eu tenho mas com minha versao nao buga se aparescer os 2 bixos.. Spoiler if (value * -1) >= getCreatureHealth(cid) then value = getCreatureHealth(cid) * -1 end if (value * -1) >= getCreatureHealth(cid) then doKillPlayer(cid, attacker, (value * -1)) end doSendAnimatedText(getThingPosWithDebug(cid), (value), color) doCreatureAddHealth(cid, value) setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante return false end Link para o comentário Compartilhar em outros sites More sharing options...
Josegvb 87 Postado Novembro 14, 2016 Autor Share Postado Novembro 14, 2016 acho q nao consegueu ne? @Drakopoulos como eu ja disse, é um bug bem critico, provavelmente seja na sources o erro... esse sistema de dano tem q ser refeito, para comprovar se for as sources poderia postar seu executavel pra eu testar Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados