Ir para conteúdo

[Encerrado] [Pokemon] Dúvidas? - Pda


lucashgas

Posts Recomendados

@Brunno

 

Olha eu n tenho sertesa disso mais vai em data/lib configuration.lua e abre ele

 

Procure por:

pokemonMaxLevelAbovePlayer

 

La vai estar 10, esse 10 e o limite do lv do pokemon para o seu lv, ai vc pode almentar o limite(ex:se vc coloca 20, vc poderar usar seu pokemon ate 20 lv acima do lv do player).

 

espero ter ajudado :D

Editado por lucasf1
Link para o comentário
Compartilhar em outros sites

Galera não sei se alguem já postou mas...

 

Queria pedir um sistema de quest que der um item, e ao clicar no bau o player é teleportado para o cp.

 

Já procurei muito e não achei se alguem min enviar dou. rep+ =D.

Link para o comentário
Compartilhar em outros sites

@FlamesAdmin

 

o meu n tem cdbar n eu tiro pela slot msm mais ele sai normal e n mostra nenhum bug

 

@StyloMaldoso

 

aquele que ele postou ta incompleto tava faltando umas coisas no goback.lua

 

olha ai coloquei tudp certp msm assim n pega

 

goback.lua

 

local 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 = 140, type = GHOSTDAMAGE} --outfit ghost

},

 

["Shiny Hitmonchan"] = {

--aconcelho trocar a outfit do shiny hitmonchan pela do elite hitmonchan do PO...

[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 = 140, type = GHOSTDAMAGE} --outfit ghost

}

}

function onUse(cid, item, frompos, item2, topos)

 

if exhaustion.get(cid, 6666) and exhaustion.get(cid, 6666) > 0 then return true end

 

local owner = getItemAttribute(item.uid, "firstpoke")

 

if owner and owner ~= getCreatureName(cid) then

doPlayerSendCancel(cid, "This pokemon belongs to "..owner..", it is his first pokemon. Please, give it back to him.")

return true

end

 

if getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 17001) >= 1 or getPlayerStorageValue(cid, 63215) >= 1 then

return true

end

 

local btype = getPokeballType(item.itemid)

 

local effect = pokeballs[btype].effect

if not effect then

effect = 21

end

 

if item.itemid == pokeballs[btype].use then

 

if getPlayerStorageValue(cid, 990) == 1 then -- GYM

doPlayerSendCancel(cid, "You can't return your pokemon during gym battles.")

return true

end

 

if #getCreatureSummons(cid) <= 0 then

if isInArray(pokeballs[btype].all, item.itemid) then

local pk = getCreatureSummons(cid)[1]

local pb = getPlayerSlotItem(cid, 8).uid

local look = getItemAttribute(pb,"addon")

if not look then

doSetItemAttribute(pb,"addon",0)

return false

end

if look > 0 then

doSetCreatureOutfit(pk, {lookType = look}, -1)

return true

end doTransformItem(item.uid, pokeballs[btype].off)

doItemSetAttribute(item.uid, "hp", 0)

doPlayerSendCancel(cid, "This pokemon is fainted.")

return true

end

end

 

local z = getCreatureSummons(cid)[1]

 

if getCreatureCondition(z, CONDITION_INVISIBLE) and not isGhostPokemon(z) then

return true

end

 

doReturnPokemon(cid, z, item, effect)

 

elseif item.itemid == pokeballs[btype].on then

 

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "You must put your pokeball in the correct place!")

return TRUE

end

 

local thishp = getItemAttribute(item.uid, "hp")

 

if thishp <= 0 then

if isInArray(pokeballs[btype].all, item.itemid) then

doTransformItem(item.uid, pokeballs[btype].off)

doItemSetAttribute(item.uid, "hp", 0)

doPlayerSendCancel(cid, "This pokemon is fainted.")

return true

end

end

 

local pokemon = getItemAttribute(item.uid, "poke")

 

if not pokes[pokemon] then

return true

end

 

local x = pokes[pokemon]

local boosts = getItemAttribute(item.uid, "boost") or 0

 

if getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer < getItemAttribute(item.uid, "level") + boosts then

doPlayerSendCancel(cid, "Your pokemon's level is much higher than yours, you can't use him.")

return true

end

 

doSummonMonster(cid, pokemon)

 

local pk = getCreatureSummons(cid)[1]

if not isCreature(pk) then return true end

------------------------passiva hitmonchan------------------------------

if isSummon(pk) then

--local e = getCreatureMaster(cid)

local nameHIT = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")

local hands = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "hands")

if nameHIT == "Shiny Hitmonchan" or nameHIT == "Hitmonchan" then

if getItemAttribute(getPlayerSlotItem(cid, 8).uid, "hands") then

doSetCreatureOutfit(pk, {lookType = hitmonchans[nameHIT][hands].out}, -1)

else

doPlayerSendTextMessage(cid, 27, "Contact a GameMaster! Error in passive system! Attribute \"hands\" missing")

end

end

end

-------------------------------------------------------------------------

 

if getCreatureName(pk) == "Ditto" then

 

local left = getItemAttribute(item.uid, "transLeft")

local name = getItemAttribute(item.uid, "transName")

 

if left and left > 0 then

setPlayerStorageValue(pk, 1010, name)

doSetCreatureOutfit(pk, {lookType = getItemAttribute(item.uid, "transOutfit")}, -1)

addEvent(deTransform, left * 1000, pk, getItemAttribute(item.uid, "transTurn"))

doItemSetAttribute(item.uid, "transBegin", os.clock())

else

setPlayerStorageValue(pk, 1010, "Ditto")

end

end

 

if isGhostPokemon(pk) then doTeleportThing(pk, getPosByDir(getThingPos(cid), math.random(0, 7)), false) end

 

doCreatureSetLookDir(pk, 2)

 

adjustStatus(pk, item.uid, true, false, true)

doAddPokemonInOwnList(cid, pokemon)

 

doTransformItem(item.uid, item.itemid+1)

 

local pokename = getItemAttribute(item.uid, "nick") or getCreatureName(pk)

 

local mgo = gobackmsgs[math.random(1, #gobackmsgs)].go:gsub("doka", pokename)

doCreatureSay(cid, mgo, TALKTYPE_SAY)

 

doSendMagicEffect(getCreaturePosition(pk), effect)

 

else

 

doPlayerSendCancel(cid, "This pokemon is fainted.")

 

end

 

if useKpdoDlls then

doUpdateMoves(cid)

end

return true

end

 

 

@Kurobisu

 

pq num usa um website do nibelins com o xampp ai n vai fica precisando usar bau pra pegar pokemon. o ruim e q n vai da pra ver as senhas dos players

Editado por shadow2012
Link para o comentário
Compartilhar em outros sites

@cacaiu Crie uma pasta Chamada Quest no Seuserver/data/actions

 

 

function onUse (cid,item,frompos,item2,topos)

pos = {x=1059, y=904, z=7}

pos2 = getPlayerPosition(cid)

 

UID_DO_BAU = 6153

STORAGE_VALUE = 6153

ID_DO_PREMIO = 2160

ID_DO_PREMIO2 = 193

 

if getPlayerLevel(cid) >= 86 then

if item.uid == UID_DO_BAU then

queststatus = getPlayerStorageValue(cid,STORAGE_VALUE)

if queststatus == -1 then

doTeleportThing(cid,pos)

doPlayerSendTextMessage(cid,22,"Parabens.") -- Msg que ira aparecer

doPlayerAddItem(cid,ID_DO_PREMIO,4)

doPlayerAddItem(cid,ID_DO_PREMIO2,1)

setPlayerStorageValue(cid,STORAGE_VALUE,1)

doTeleportThing(cid, pos)

doSendMagicEffect(pos2, CONST_ME_TELEPORT)

else

doPlayerSendTextMessage(cid,22,"Vazio.")

end

end

else

doPlayerSendCancel(cid,'Somente levels 86+ conseguem abrir este bau.')

end

return 1

end

 

 

Depois vá em seuserver/Data/actions/actions e coloque isto

<action itemid="XXX" event="script" value="quest.lua" allowfaruse="1"/>

 

Desculpa se está mal esplicado sou novo nisso.

Link para o comentário
Compartilhar em outros sites

Bom, fiz um sistema de barco bem simples aqui, só que só tem um erro:

 

 

[Error - GlobalEvent Interface]

In a timer event called from:

data/globalevents/scripts/barco.lua:onThink

Description:

(luaDoRemoveItem) Item not found

 

 

Eu não consigo acerta no comando, ele sempre me confunde... o comando é o addEvent:

 

addEvent(doRemoveItem, 120000, pos1, 2642, 1)

 

 

 

doRemoveItem = Função de remover o item

120000 = tempo de delay do addEvent

pos1 = posição que tá o item que eu quero q remova

2642 = id do item que eu quero q remova

1 = nº de items q quero q remova

 

A função tinha q ser assim?

O que tá de errado?

 

Alguém me ajuda???

Link para o comentário
Compartilhar em outros sites

@Brunno

 

Olha eu n tenho sertesa disso mais vai em data/lib configuration.lua e abre ele

 

Procure por:

pokemonMaxLevelAbovePlayer

 

La vai estar 10, esse 10 e o limite do lv do pokemon para o seu lv, ai vc pode almentar o limite(ex:se vc coloca 20, vc poderar usar seu pokemon ate 20 lv acima do lv do player).

 

espero ter ajudado :D

nao e cara mais vlw aii pela ajuda ^^

 

@All

 

mais alguem sabe ou pode ajuda ??

Link para o comentário
Compartilhar em outros sites

@Kurobisu: esse script ae é do Centurion, e se usar esse modo de pegar poke inicial não da pra lutar contra NPC, por que eles falam "You need a pokemons to duel in to gym" +/- isso ae, apesar do script ser muito util presisa colocar pro NPC reconhecer. e explicar como se faz isso por que daria problema com a turma

Você está completamente errado.

Eu acabei de voltar da escola e li seu comentario sobre o sistema, mais você só não percebeu que este erro é por causa que a conta de seu [ADM] está bugada.

Criei uma conta player peguei um dos 6 pokémons e fui ver, batalhei por alguns segundos pois não era eu tão forte assim.

Então é issu, o sistema está perfeito, sua conta que estava bugada.

 

@FlamesAdmin

 

o meu n tem cdbar n eu tiro pela slot msm mais ele sai normal e n mostra nenhum bug

 

@StyloMaldoso

 

aquele que ele postou ta incompleto tava faltando umas coisas no goback.lua

 

olha ai coloquei tudp certp msm assim n pega

 

goback.lua

 

local 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 = 140, type = GHOSTDAMAGE} --outfit ghost

},

 

["Shiny Hitmonchan"] = {

--aconcelho trocar a outfit do shiny hitmonchan pela do elite hitmonchan do PO...

[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 = 140, type = GHOSTDAMAGE} --outfit ghost

}

}

function onUse(cid, item, frompos, item2, topos)

 

if exhaustion.get(cid, 6666) and exhaustion.get(cid, 6666) > 0 then return true end

 

local owner = getItemAttribute(item.uid, "firstpoke")

 

if owner and owner ~= getCreatureName(cid) then

doPlayerSendCancel(cid, "This pokemon belongs to "..owner..", it is his first pokemon. Please, give it back to him.")

return true

end

 

if getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 17001) >= 1 or getPlayerStorageValue(cid, 63215) >= 1 then

return true

end

 

local btype = getPokeballType(item.itemid)

 

local effect = pokeballs[btype].effect

if not effect then

effect = 21

end

 

if item.itemid == pokeballs[btype].use then

 

if getPlayerStorageValue(cid, 990) == 1 then -- GYM

doPlayerSendCancel(cid, "You can't return your pokemon during gym battles.")

return true

end

 

if #getCreatureSummons(cid) <= 0 then

if isInArray(pokeballs[btype].all, item.itemid) then

local pk = getCreatureSummons(cid)[1]

local pb = getPlayerSlotItem(cid, 8).uid

local look = getItemAttribute(pb,"addon")

if not look then

doSetItemAttribute(pb,"addon",0)

return false

end

if look > 0 then

doSetCreatureOutfit(pk, {lookType = look}, -1)

return true

end doTransformItem(item.uid, pokeballs[btype].off)

doItemSetAttribute(item.uid, "hp", 0)

doPlayerSendCancel(cid, "This pokemon is fainted.")

return true

end

end

 

local z = getCreatureSummons(cid)[1]

 

if getCreatureCondition(z, CONDITION_INVISIBLE) and not isGhostPokemon(z) then

return true

end

 

doReturnPokemon(cid, z, item, effect)

 

elseif item.itemid == pokeballs[btype].on then

 

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "You must put your pokeball in the correct place!")

return TRUE

end

 

local thishp = getItemAttribute(item.uid, "hp")

 

if thishp <= 0 then

if isInArray(pokeballs[btype].all, item.itemid) then

doTransformItem(item.uid, pokeballs[btype].off)

doItemSetAttribute(item.uid, "hp", 0)

doPlayerSendCancel(cid, "This pokemon is fainted.")

return true

end

end

 

local pokemon = getItemAttribute(item.uid, "poke")

 

if not pokes[pokemon] then

return true

end

 

local x = pokes[pokemon]

local boosts = getItemAttribute(item.uid, "boost") or 0

 

if getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer < getItemAttribute(item.uid, "level") + boosts then

doPlayerSendCancel(cid, "Your pokemon's level is much higher than yours, you can't use him.")

return true

end

 

doSummonMonster(cid, pokemon)

 

local pk = getCreatureSummons(cid)[1]

if not isCreature(pk) then return true end

------------------------passiva hitmonchan------------------------------

if isSummon(pk) then

--local e = getCreatureMaster(cid)

local nameHIT = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")

local hands = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "hands")

if nameHIT == "Shiny Hitmonchan" or nameHIT == "Hitmonchan" then

if getItemAttribute(getPlayerSlotItem(cid, 8).uid, "hands") then

doSetCreatureOutfit(pk, {lookType = hitmonchans[nameHIT][hands].out}, -1)

else

doPlayerSendTextMessage(cid, 27, "Contact a GameMaster! Error in passive system! Attribute \"hands\" missing")

end

end

end

-------------------------------------------------------------------------

 

if getCreatureName(pk) == "Ditto" then

 

local left = getItemAttribute(item.uid, "transLeft")

local name = getItemAttribute(item.uid, "transName")

 

if left and left > 0 then

setPlayerStorageValue(pk, 1010, name)

doSetCreatureOutfit(pk, {lookType = getItemAttribute(item.uid, "transOutfit")}, -1)

addEvent(deTransform, left * 1000, pk, getItemAttribute(item.uid, "transTurn"))

doItemSetAttribute(item.uid, "transBegin", os.clock())

else

setPlayerStorageValue(pk, 1010, "Ditto")

end

end

 

if isGhostPokemon(pk) then doTeleportThing(pk, getPosByDir(getThingPos(cid), math.random(0, 7)), false) end

 

doCreatureSetLookDir(pk, 2)

 

adjustStatus(pk, item.uid, true, false, true)

doAddPokemonInOwnList(cid, pokemon)

 

doTransformItem(item.uid, item.itemid+1)

 

local pokename = getItemAttribute(item.uid, "nick") or getCreatureName(pk)

 

local mgo = gobackmsgs[math.random(1, #gobackmsgs)].go:gsub("doka", pokename)

doCreatureSay(cid, mgo, TALKTYPE_SAY)

 

doSendMagicEffect(getCreaturePosition(pk), effect)

 

else

 

doPlayerSendCancel(cid, "This pokemon is fainted.")

 

end

 

if useKpdoDlls then

doUpdateMoves(cid)

end

return true

end

 

 

@Kurobisu

 

pq num usa um website do nibelins com o xampp ai n vai fica precisando usar bau pra pegar pokemon. o ruim e q n vai da pra ver as senhas dos players

Mano o Website do Nibelins em que se escolhe o pokémon ínicial ta bugadão, fui tentar por e não criar conta só criar seu login e senha mais não o personagem.

Link para o comentário
Compartilhar em outros sites

@FlamesAdmin

 

vai em data/lib/configuration.lua procura por nurseHealsPokemonOut = true no lugar de true coloca false.

 

@Brunno

 

Mude essa parte do Goback.lua:

 


local x = pokes[pokemon]
local boosts = getItemAttribute(item.uid, "boost") or 0

if getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer < getItemAttribute(item.uid, "level") + boosts then
doPlayerSendCancel(cid, "Your pokemon's level is much higher than yours, you can't use him.")
return true
end

 

 

por essa:

 

local x = pokes[pokemon]

if getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer < getItemAttribute(item.uid, "level") then
doPlayerSendCancel(cid, "Your pokemon's level is much higher than yours, you can't use him.")
return true
end

 

A outra alterção era pra remover o level requerido pra usar um pokemon sleep.png

Cansado demais

 

 

@Taiger

 

Sobre o fishing, vai em data/action/script/tools/fishing.lua e procura por:

local chance = 10 + getPlayerSkillLevel(cid, 6) / 2.5

 

10 seria aonde você teria que alterar pra diminuir a chance de pesca.

Editado por AsMinaPira
Link para o comentário
Compartilhar em outros sites

Bom, fiz um sistema de barco bem simples aqui, só que só tem um erro:

 

 

[Error - GlobalEvent Interface]

In a timer event called from:

data/globalevents/scripts/barco.lua:onThink

Description:

(luaDoRemoveItem) Item not found

 

 

Eu não consigo acerta no comando, ele sempre me confunde... o comando é o addEvent:

 

addEvent(doRemoveItem, 120000, pos1, 2642, 1)

 

 

 

doRemoveItem = Função de remover o item

120000 = tempo de delay do addEvent

pos1 = posição que tá o item que eu quero q remova

2642 = id do item que eu quero q remova

1 = nº de items q quero q remova

 

A função tinha q ser assim?

O que tá de errado?

 

Alguém me ajuda???

 

 

 

Alguém pode me ajuda nisso?

Link para o comentário
Compartilhar em outros sites

StyloMaldoso

 

arrumei oq tava errado no goback.lua e agora o poke com addon n sai da ball e acontece o seguinte erro:

 

 

[17/07/2012 17:41:10] [Error - Action Interface]

[17/07/2012 17:41:10] data/actions/scripts/goback.lua:onUse

[17/07/2012 17:41:10] Description:

[17/07/2012 17:41:10] (luaSetCreatureOutfit) Creature not found

 

 

goback.lua

 

function onUse(cid, item, frompos, item2, topos)

 

local owner = getItemAttribute(item.uid, "firstpoke")

 

if owner and owner ~= getCreatureName(cid) then

doPlayerSendCancel(cid, "This pokemon belongs to "..owner..", it is his first pokemon. Please, give it back to him.")

return true

end

 

if getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 17001) >= 1 or getPlayerStorageValue(cid, 63215) >= 1 then

return true

end

 

local btype = getPokeballType(item.itemid)

 

local effect = pokeballs[btype].effect

if not effect then

effect = 21

end

 

if item.itemid == pokeballs[btype].use then

 

if getPlayerStorageValue(cid, 990) == 1 then -- GYM

doPlayerSendCancel(cid, "You can't return your pokemon during gym battles.")

return true

end

 

if #getCreatureSummons(cid) <= 0 then

if isInArray(pokeballs[btype].all, item.itemid) then

doTransformItem(item.uid, pokeballs[btype].off)

doItemSetAttribute(item.uid, "hp", 0)

doPlayerSendCancel(cid, "This pokemon is fainted.")

return true

end

end

 

local z = getCreatureSummons(cid)[1]

 

if getCreatureCondition(z, CONDITION_INVISIBLE) and not isGhostPokemon(z) then

return true

end

 

doReturnPokemon(cid, z, item, effect)

 

elseif item.itemid == pokeballs[btype].on then

 

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "You must put your pokeball in the correct place!")

return TRUE

end

 

local thishp = getItemAttribute(item.uid, "hp")

 

if thishp <= 0 then

if isInArray(pokeballs[btype].all, item.itemid) then

doTransformItem(item.uid, pokeballs[btype].off)

doItemSetAttribute(item.uid, "hp", 0)

doPlayerSendCancel(cid, "This pokemon is fainted.")

return true

end

end

 

local pk = getCreatureSummons(cid)[1]

local pb = getPlayerSlotItem(cid, 8).uid

local look = getItemAttribute(pb,"addon")

if not look then

doSetItemAttribute(pb,"addon",0)

return false

end

if look > 0 then

doSetCreatureOutfit(pk, {lookType = look}, -1)

return true

end

 

local pokemon = getItemAttribute(item.uid, "poke")

 

if not pokes[pokemon] then

return true

end

 

local x = pokes[pokemon]

local boosts = getItemAttribute(item.uid, "boost") or 0

 

if getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer < getItemAttribute(item.uid, "level") + boosts then

doPlayerSendCancel(cid, "Your pokemon's level is much higher than yours, you can't use him.")

return true

end

 

doSummonMonster(cid, pokemon)

 

local pk = getCreatureSummons(cid)[1]

if not isCreature(pk) then return true end

 

if getCreatureName(pk) == "Ditto" then

 

local left = getItemAttribute(item.uid, "transLeft")

local name = getItemAttribute(item.uid, "transName")

 

if left and left > 0 then

setPlayerStorageValue(pk, 1010, name)

doSetCreatureOutfit(pk, {lookType = getItemAttribute(item.uid, "transOutfit")}, -1)

addEvent(deTransform, left * 1000, pk, getItemAttribute(item.uid, "transTurn"))

doItemSetAttribute(item.uid, "transBegin", os.clock())

else

setPlayerStorageValue(pk, 1010, "Ditto")

end

end

 

if isGhostPokemon(pk) then doTeleportThing(pk, getPosByDir(getThingPos(cid), math.random(0, 7)), false) end

 

doCreatureSetLookDir(pk, 2)

 

adjustStatus(pk, item.uid, true, false, true)

doAddPokemonInOwnList(cid, pokemon)

 

doTransformItem(item.uid, item.itemid+1)

 

local pokename = getItemAttribute(item.uid, "nick") or getCreatureName(pk)

 

local mgo = gobackmsgs[math.random(1, #gobackmsgs)].go:gsub("doka", pokename)

doCreatureSay(cid, mgo, TALKTYPE_SAY)

 

doSendMagicEffect(getCreaturePosition(pk), effect)

 

local pk = getCreatureSummons(cid)[1]

local pb = getPlayerSlotItem(cid, 8).uid

local look = getItemAttribute(pb,"addon")

if not look then

doSetItemAttribute(pb,"addon",0)

return false

end

if look > 0 then

doSetCreatureOutfit(pk, {lookType = look}, -1)

return true

end

 

else

 

doPlayerSendCancel(cid, "This pokemon is fainted.")

 

end

return true

end

 

Link para o comentário
Compartilhar em outros sites

@notle2012: vai no configuration.lua na pasta data/lib/configuration.lua e procura por:

 

@ALL

fiquei um tempo sem mexer no otserver alguém sabe me dizer na onde configuro

os corpo dos pokemon johto pra jogar ball

pq aqui ta desconfigurado só da pra jogar ball nos pokemon kanto

 

Aqui é onde se edita isso, da uma olhada e vê se é isso que você procura

 

pokecatches = {

["Bulbasaur"] = {chance = 21, corpse = 5969},

["Ivysaur"] = {chance = 73, corpse = 5982},

 

aonde ta escrito corpses = 5969}, --- o 5969 é o ID do corpse, depois vai no data/monsters/pokes e seleciona o poke, vai ter escrito corpses no XML, deve estar igual ao do configuration.

 

a parte de chance = 21, é a chançe de catch do pokemon.

se tiver tudo cérto com o corpse e xml vai dar pra capturar normalmente.

 

@ALL: alguem ae sabe por pra quando falar "hi" na nurse em vez déla responder pra all, éla diga sua frase na janéla de "NPCs" ?

REP+ ae

 

Alguem ajuda nisso ae ?

REP+

Editado por Jhonsy
Link para o comentário
Compartilhar em outros sites

@ALL

fiquei um tempo sem mexer no otserver alguém sabe me dizer na onde configuro

os corpo dos pokemon johto pra jogar ball

pq aqui ta desconfigurado só da pra jogar ball nos pokemon kanto

Presta bem atenção.

Vai em ( data\lib\configuration.lua )

Procure por:

pokecatches = {

Abaixo terá um monte de coisa tipo issu:

["Bulbasaur"] = {chance = 500, corpse = 5969},

Selecione até o fim e ponha esse aqui, que ja está configurado por mim.

 

 

pokecatches = {

["Bulbasaur"] = {chance = 500, corpse = 5969},

["Ivysaur"] = {chance = 1200, corpse = 5982},

["Venusaur"] = {chance = 5000, corpse = 5962},

["Charmander"] = {chance = 400, corpse = 5983},

["Charmeleon"] = {chance = 1200, corpse = 5981},

["Charizard"] = {chance = 5000, corpse = 6005},

["Squirtle"] = {chance = 400, corpse = 6008},

["Wartortle"] = {chance = 1200, corpse = 5978},

["Blastoise"] = {chance = 5000, corpse = 5999},

["Caterpie"] = {chance = 5, corpse = 5971},

["Metapod"] = {chance = 50, corpse = 5970},

["Butterfree"] = {chance = 400, corpse = 5985},

["Weedle"] = {chance = 6, corpse = 5964},

["Kakuna"] = {chance = 60, corpse = 6000},

["Beedrill"] = {chance = 400, corpse = 5990},

["Pidgey"] = {chance = 10, corpse = 5961},

["Pidgeotto"] = {chance = 100, corpse = 5966},

["Pidgeot"] = {chance = 3500, corpse = 6020},

["Rattata"] = {chance = 4, corpse = 5974},

["Raticate"] = {chance = 300, corpse = 6007},

["Spearow"] = {chance = 9, corpse = 5968},

["Fearow"] = {chance = 600, corpse = 5992},

["Ekans"] = {chance = 80, corpse = 5979},

["Arbok"] = {chance = 250, corpse = 5984},

["Pikachu"] = {chance = 500, corpse = 6001},

["Raichu"] = {chance = 2100, corpse = 5996},

["Sandshrew"] = {chance = 130, corpse = 5988},

["Sandslash"] = {chance = 600, corpse = 6041},

["Nidoran Female"] = {chance = 13, corpse = 6013},

["Nidorina"] = {chance = 300, corpse = 6014},

["Nidoqueen"] = {chance = 1500, corpse = 3004},

["Nidoran Male"] = {chance = 12, corpse = 6015},

["Nidorino"] = {chance = 300, corpse = 6019},

["Nidoking"] = {chance = 1500, corpse = 5995},

["Clefairy"] = {chance = 400, corpse = 2968},

["Clefable"] = {chance = 900, corpse = 6006},

["Vulpix"] = {chance = 120, corpse = 6003},

["Ninetales"] = {chance = 2200, corpse = 6040},

["Jigglypuff"] = {chance = 400, corpse = 6011},

["Wigglytuff"] = {chance = 1250, corpse = 6012},

["Zubat"] = {chance = 19, corpse = 5989},

["Golbat"] = {chance = 400, corpse = 6053},

["Oddish"] = {chance = 10, corpse = 3008},

["Gloom"] = {chance = 100, corpse = 6017},

["Vileplume"] = {chance = 900, corpse = 6025},

["Paras"] = {chance = 20, corpse = 3007},

["Parasect"] = {chance = 1400, corpse = 6027},

["Venonat"] = {chance = 100, corpse = 5997},

["Venomoth"] = {chance = 600, corpse = 2925},

["Diglett"] = {chance = 60, corpse = 6023},

["Dugtrio"] = {chance = 500, corpse = 6024},

["Meowth"] = {chance = 80, corpse = 6034},

["Persian"] = {chance = 500, corpse = 6009},

["Psyduck"] = {chance = 80, corpse = 6029},

["Golduck"] = {chance = 700, corpse = 6028},

["Mankey"] = {chance = 70, corpse = 6035},

["Primeape"] = {chance = 750, corpse = 6032},

["Growlithe"] = {chance = 83, corpse = 6036},

["Arcanine"] = {chance = 5000, corpse = 6031},

["Poliwag"] = {chance = 10, corpse = 6042},

["Poliwhirl"] = {chance = 400, corpse = 6054},

["Poliwrath"] = {chance = 3200, corpse = 6033},

["Abra"] = {chance = 60, corpse = 2905},

["Kadabra"] = {chance = 400, corpse = 6060},

["Alakazam"] = {chance = 4000, corpse = 6057},

["Machop"] = {chance = 80, corpse = 6045},

["Machoke"] = {chance = 700, corpse = 4251},

["Machamp"] = {chance = 4000, corpse = 6048},

["Bellsprout"] = {chance = 12, corpse = 2806},

["Weepinbell"] = {chance = 80, corpse = 2928},

["Victreebel"] = {chance = 800, corpse = 6332},

["Tentacool"] = {chance = 18, corpse = 2961},

["Tentacruel"] = {chance = 4000, corpse = 6037},

["Geodude"] = {chance = 80, corpse = 6071},

["Graveler"] = {chance = 333, corpse = 6516},

["Golem"] = {chance = 3500, corpse = 6043},

["Ponyta"] = {chance = 80, corpse = 5975},

["Rapidash"] = {chance = 1500, corpse = 4323},

["Slowpoke"] = {chance = 70, corpse = 2926},

["Slowbro"] = {chance = 400, corpse = 5986},

["Magnemite"] = {chance = 80, corpse = 6056},

["Magneton"] = {chance = 350, corpse = 6076},

["Farfetch'd"] = {chance = 500, corpse = 2836},

["Doduo"] = {chance = 70, corpse = 2842},

["Dodrio"] = {chance = 400, corpse = 6047},

["Seel"] = {chance = 80, corpse = 6030},

["Dewgong"] = {chance = 1200, corpse = 6038},

["Grimer"] = {chance = 30, corpse = 6055},

["Muk"] = {chance = 300, corpse = 2845},

["Shellder"] = {chance = 60, corpse = 2837},

["Cloyster"] = {chance = 1300, corpse = 2932},

["Gastly"] = {chance = 250, corpse = 5993},

["Haunter"] = {chance = 800, corpse = 6004},

["Gengar"] = {chance = 3550, corpse = 6336},

["Onix"] = {chance = 900, corpse = 2990},

["Drowzee"] = {chance = 80, corpse = 6026},

["Hypno"] = {chance = 2000, corpse = 6046},

["Krabby"] = {chance = 14, corpse = 6039},

["Kingler"] = {chance = 400, corpse = 6340},

["Voltorb"] = {chance = 80, corpse = 6049},

["Electrode"] = {chance = 400, corpse = 6051},

["Exeggcute"] = {chance = 18, corpse = 2982},

["Exeggutor"] = {chance = 500, corpse = 3005},

["Cubone"] = {chance = 80, corpse = 6050},

["Marowak"] = {chance = 500, corpse = 6072},

["Hitmonlee"] = {chance = 400, corpse = 6067},

["Hitmonchan"] = {chance = 400, corpse = 5977},

["Lickitung"] = {chance = 1200, corpse = 2953},

["Koffing"] = {chance = 70, corpse = 2936},

["Weezing"] = {chance = 350, corpse = 6306},

["Rhyhorn"] = {chance = 80, corpse = 3035},

["Rhydon"] = {chance = 3000, corpse = 2858},

["Chansey"] = {chance = 2000, corpse = 6010},

["Tangela"] = {chance = 400, corpse = 5976},

["Kangaskhan"] = {chance = 2200, corpse = 6073},

["Horsea"] = {chance = 16, corpse = 2973},

["Seadra"] = {chance = 500, corpse = 2872},

["Goldeen"] = {chance = 10, corpse = 2970},

["Seaking"] = {chance = 300, corpse = 3038},

["Staryu"] = {chance = 60, corpse = 5987},

["Starmie"] = {chance = 500, corpse = 7320},

["Mr. Mime"] = {chance = 1500, corpse = 6069},

["Scyther"] = {chance = 2500, corpse = 3002},

["Jynx"] = {chance = 2400, corpse = 5765},

["Electabuzz"] = {chance = 5600, corpse = 6065},

["Magmar"] = {chance = 5600, corpse = 7283},

["Pinsir"] = {chance = 400, corpse = 7282},

["Tauros"] = {chance = 300, corpse = 6302},

["Magikarp"] = {chance = 2, corpse = 2818},

["Gyarados"] = {chance = 3500, corpse = 6331},

["Lapras"] = {chance = 4500, corpse = 6018},

["Ditto"] = {chance = 60, corpse = 2817},

["Eevee"] = {chance = 1200, corpse = 6364},

["Vaporeon"] = {chance = 98, corpse = 5960},

["Jolteon"] = {chance = 94, corpse = 6044},

["Flareon"] = {chance = 100, corpse = 6059},

["Porygon"] = {chance = 63, corpse = 5963},

["Omanyte"] = {chance = 900, corpse = 5998},

["Omastar"] = {chance = 900, corpse = 5994},

["Kabuto"] = {chance = 900, corpse = 5972},

["Kabutops"] = {chance = 900, corpse = 6345},

["Aerodactyl"] = {chance = 15000, corpse = 6338},

["Snorlax"] = {chance = 6500, corpse = 6016},

["Articuno"] = {chance = 800, corpse = 7256},

["Zapdos"] = {chance = 800, corpse = 6074},

["Moltres"] = {chance = 800, corpse = 7330},

["Dratini"] = {chance = 1000, corpse = 2879},

["Dragonair"] = {chance = 5000, corpse = 6002},

["Dragonite"] = {chance = 4000, corpse = 4295},

["Mewtwo"] = {chance = 500, corpse = 5973},

["Mew"] = {chance = 500, corpse = 2939},

------------Shiny Catch-----------

 

["Shiny Bulbasaur"] = {chance = 100, corpse = 12420},

["Shiny Ivysaur"] = {chance = 100, corpse = 12421},

["Shiny Venusaur"] = {chance = 800, corpse = 12422},

["Shiny Charmander"] = {chance = 100, corpse = 12423},

["Shiny Charmeleon"] = {chance = 100, corpse = 12424},

["Shiny Charizard"] = {chance = 800, corpse = 12425},

["Shiny Squirtle"] = {chance = 100, corpse = 12426},

["Shiny Wartortle"] = {chance = 100, corpse = 12427},

["Shiny Blastoise"] = {chance = 800, corpse = 12428},

["Shiny Caterpie"] = {chance = 20, corpse = 12429},

["Shiny Metapod"] = {chance = 60, corpse = 12430},

["Shiny Butterfree"] = {chance = 400, corpse = 12431},

["Shiny Weedle"] = {chance = 20, corpse = 12432},

["Shiny Kakuna"] = {chance = 60, corpse = 12433},

["Shiny Beedrill"] = {chance = 250, corpse = 12434},

["Shiny Pidgey"] = {chance = 20, corpse = 12435},

["Shiny Pidgeotto"] = {chance = 60, corpse = 12436},

["Shiny Pidgeot"] = {chance = 800, corpse = 12437},

["Shiny Rattata"] = {chance = 20, corpse = 12438},

["Shiny Raticate"] = {chance = 60, corpse = 12439},

["Shiny Spearow"] = {chance = 20, corpse = 12440},

["Shiny Fearow"] = {chance = 800, corpse = 12441},

["Shiny Ekans"] = {chance = 20, corpse = 12442},

["Shiny Arbok"] = {chance = 350, corpse = 12443},

["Shiny Pikachu"] = {chance = 80, corpse = 12444},

["Shiny Raichu"] = {chance = 800, corpse = 12445},

["Shiny Sandshrew"] = {chance = 40, corpse = 12446},

["Shiny Sandslash"] = {chance = 800, corpse = 12447},

["Shiny Nidoran Female"] = {chance = 20, corpse = 12448},

["Shiny Nidorina"] = {chance = 80, corpse = 12449},

["Shiny Nidoqueen"] = {chance = 800, corpse = 12450},

["Shiny Nidoran Male"] = {chance = 20, corpse = 12451},

["Shiny Nidorino"] = {chance = 80, corpse = 12452},

["Shiny Nidoking"] = {chance = 800, corpse = 12453},

["Shiny Clefairy"] = {chance = 40, corpse = 12454},

["Shiny Clefable"] = {chance = 500, corpse = 12455},

["Shiny Vulpix"] = {chance = 40, corpse = 12456},

["Shiny Ninetales"] = {chance = 800, corpse = 12457},

["Shiny Jigglypuff"] = {chance = 40, corpse = 12458},

["Shiny Wigglytuff"] = {chance = 800, corpse = 12459},

["Shiny Zubat"] = {chance = 50, corpse = 12460},

["Shiny Golbat"] = {chance = 200, corpse = 12461},

["Shiny Oddish"] = {chance = 20, corpse = 12462},

["Shiny Gloom"] = {chance = 70, corpse = 12463},

["Shiny Vileplume"] = {chance = 800, corpse = 12464},

["Shiny Paras"] = {chance = 20, corpse = 12465},

["Shiny Parasect"] = {chance = 200, corpse = 12466},

["Shiny Venonat"] = {chance = 60, corpse = 12467},

["Shiny Venomoth"] = {chance = 500, corpse = 12468},

["Shiny Diglett"] = {chance = 20, corpse = 12469},

["Shiny Dugtrio"] = {chance = 400, corpse = 12470},

["Shiny Meowth"] = {chance = 20, corpse = 12471},

["Shiny Persian"] = {chance = 150, corpse = 12472},

["Shiny Psyduck"] = {chance = 20, corpse = 12473},

["Shiny Golduck"] = {chance = 400, corpse = 12474},

["Shiny Mankey"] = {chance = 20, corpse = 12475},

["Shiny Primeape"] = {chance = 500, corpse = 12476},

["Shiny Growlithe"] = {chance = 30, corpse = 12477},

["Shiny Arcanine"] = {chance = 800, corpse = 12478},

["Shiny Poliwag"] = {chance = 20, corpse = 12479},

["Shiny Poliwhirl"] = {chance = 80, corpse = 12480},

["Shiny Poliwrath"] = {chance = 800, corpse = 12481},

["Shiny Abra"] = {chance = 20, corpse = 12482},

["Shiny Kadabra"] = {chance = 150, corpse = 12483},

["Shiny Alakazam"] = {chance = 800, corpse = 12484},

["Shiny Machop"] = {chance = 20, corpse = 12485},

["Shiny Machoke"] = {chance = 80, corpse = 12486},

["Shiny Machamp"] = {chance = 800, corpse = 12487},

["Shiny Bellsprout"] = {chance = 20, corpse = 12488},

["Shiny Weepinbell"] = {chance = 80, corpse = 12489},

["Shiny Victreebel"] = {chance = 550, corpse = 12490},

["Shiny Tentacool"] = {chance = 20, corpse = 12491},

["Shiny Tentacruel"] = {chance = 800, corpse = 12492},

["Shiny Geodude"] = {chance = 20, corpse = 12493},

["Shiny Graveler"] = {chance = 100, corpse = 12494},

["Shiny Golem"] = {chance = 800, corpse = 12495},

["Shiny Ponyta"] = {chance = 40, corpse = 12496},

["Shiny Rapidash"] = {chance = 800, corpse = 12497},

["Shiny Slowpoke"] = {chance = 40, corpse = 12498},

["Shiny Slowbro"] = {chance = 500, corpse = 12499},

["Shiny Magnemite"] = {chance = 20, corpse = 12500},

["Shiny Magneton"] = {chance = 400, corpse = 12501},

["Shiny Farfetch'd"] = {chance = 600, corpse = 12502},

["Shiny Doduo"] = {chance = 60, corpse = 12503},

["Shiny Dodrio"] = {chance = 600, corpse = 12504},

["Shiny Seel"] = {chance = 20, corpse = 12505},

["Shiny Dewgong"] = {chance = 800, corpse = 12506},

["Shiny Grimer"] = {chance = 40, corpse = 12507},

["Shiny Muk"] = {chance = 600, corpse = 12508},

["Shiny Shellder"] = {chance = 20, corpse = 12509},

["Shiny Cloyster"] = {chance = 800, corpse = 12510},

["Shiny Gastly"] = {chance = 30, corpse = 12511},

["Shiny Haunter"] = {chance = 200, corpse = 12512},

["Shiny Gengar"] = {chance = 800, corpse = 12513},

["Shiny Onix"] = {chance = 500, corpse = 12514},

["Shiny Drowzee"] = {chance = 40, corpse = 12515},

["Shiny Hypno"] = {chance = 800, corpse = 12516},

["Shiny Krabby"] = {chance = 40, corpse = 12517},

["Shiny Kingler"] = {chance = 100, corpse = 12518},

["Shiny Voltorb"] = {chance = 40, corpse = 12519},

["Shiny Electrode"] = {chance = 400, corpse = 12520},

["Shiny Exeggcute"] = {chance = 40, corpse = 12521},

["Shiny Exeggutor"] = {chance = 700, corpse = 12523},

["Shiny Cubone"] = {chance = 60, corpse = 12524},

["Shiny Marowak"] = {chance = 800, corpse = 12525},

["Shiny Hitmonlee"] = {chance = 160, corpse = 12526},

["Shiny Hitmonchan"] = {chance = 160, corpse = 12527},

["Shiny Lickitung"] = {chance = 800, corpse = 12528},

["Shiny Koffing"] = {chance = 40, corpse = 12529},

["Shiny Weezing"] = {chance = 800, corpse = 12530},

["Shiny Rhyhorn"] = {chance = 60, corpse = 12531},

["Shiny Rhydon"] = {chance = 800, corpse = 12532},

["Shiny Chansey"] = {chance = 800, corpse = 12533},

["Shiny Tangela"] = {chance = 800, corpse = 12534},

["Shiny Kangaskhan"] = {chance = 800, corpse = 12535},

["Shiny Horsea"] = {chance = 40, corpse = 12536},

["Shiny Seadra"] = {chance = 300, corpse = 12537},

["Shiny Goldeen"] = {chance = 30, corpse = 12538},

["Shiny Seaking"] = {chance = 200, corpse = 12539},

["Shiny Staryu"] = {chance = 40, corpse = 12540},

["Shiny Starmie"] = {chance = 500, corpse = 12541},

["Shiny Mr. Mime"] = {chance = 800, corpse = 12542},

["Shiny Scyther"] = {chance = 800, corpse = 12543},

["Shiny Jynx"] = {chance = 800, corpse = 12544},

["Shiny Electabuzz"] = {chance = 800, corpse = 12545},

["Shiny Magmar"] = {chance = 800, corpse = 12546},

["Shiny Pinsir"] = {chance = 800, corpse = 12547},

["Shiny Tauros"] = {chance = 600, corpse = 12548},

["Shiny Magikarp"] = {chance = 20, corpse = 12549},

["Shiny Gyarados"] = {chance = 8500, corpse = 12550},

["Shiny Lapras"] = {chance = 800, corpse = 12551},

["Shiny Ditto"] = {chance = 60, corpse = 12552},

["Shiny Eevee"] = {chance = 100, corpse = 12553},

["Shiny Vaporeon"] = {chance = 98, corpse = 12554},

["Shiny Jolteon"] = {chance = 94, corpse = 12555},

["Shiny Flareon"] = {chance = 100, corpse = 12556},

["Shiny Porygon"] = {chance = 63, corpse = 12557},

["Shiny Omanyte"] = {chance = 43, corpse = 12558},

["Shiny Omastar"] = {chance = 182, corpse = 12559},

["Shiny Kabuto"] = {chance = 49, corpse = 12560},

["Shiny Kabutops"] = {chance = 202, corpse = 12561},

["Shiny Aerodactyl"] = {chance = 252, corpse = 12562},

["Shiny Snorlax"] = {chance = 10145, corpse = 1051},

["Shiny Articuno"] = {chance = 297, corpse = 12564},

["Shiny Zapdos"] = {chance = 297, corpse = 12565},

["Shiny Moltres"] = {chance = 297, corpse = 12566},

["Shiny Dratini"] = {chance = 200, corpse = 12567},

["Shiny Dragonair"] = {chance = 500, corpse = 12568},

["Shiny Dragonite"] = {chance = 10880, corpse = 12569},

["Shiny Mewtwo"] = {chance = 297, corpse = 12570},

["Shiny Mew"] = {chance = 252, corpse = 12571},

-------------Johto Catch----------

["Chikorita"] = {chance = 20, corpse = 8949},

["Bayleef"] = {chance = 64, corpse = 8943},

["Meganium"] = {chance = 226, corpse = 9872},

["Cyndaquil"] = {chance = 20, corpse = 8956},

["Quilava"] = {chance = 71, corpse = 9920},

["Typhlosion"] = {chance = 226, corpse = 10521},

["Totodile"] = {chance = 22, corpse = 10520},

["Croconaw"] = {chance = 76, corpse = 8955},

["Feraligatr"] = {chance = 226, corpse = 8967},

["Sentret"] = {chance = 6, corpse = 9935},

["Furret"] = {chance = 30, corpse = 9009},

["Hoothoot"] = {chance = 6, corpse = 9774},

["Noctowl"] = {chance = 67, corpse = 9879},

["Ledyba"] = {chance = 12, corpse = 9829},

["Ledian"] = {chance = 52, corpse = 9824},

["Spinarak"] = {chance = 14, corpse = 9965},

["Ariados"] = {chance = 75, corpse = 8941},

["Crobat"] = {chance = 185, corpse = 8953},

["Chinchou"] = {chance = 13, corpse = 8950},

["Lanturn"] = {chance = 72, corpse = 9803},

["Pichu"] = {chance = 5, corpse = 9882},

["Cleffa"] = {chance = 5, corpse = 8951},

["Iglybuff"] = {chance = 4, corpse = 9783},

["Togepi"] = {chance = 9, corpse = 10518},

["Togetic"] = {chance = 83, corpse = 10519},

["Natu"] = {chance = 14, corpse = 9877},

["Xatu"] = {chance = 78, corpse = 8937},

["Mareep"] = {chance = 11, corpse = 9869},

["Flaaffy"] = {chance = 44, corpse = 8968},

["Ampharos"] = {chance = 158, corpse = 8939},

["Bellossom"] = {chance = 115, corpse = 8946},

["Marill"] = {chance = 13, corpse = 9871},

["Azumarill"] = {chance = 48, corpse = 8942},

["Sudowoodo"] = {chance = 88, corpse = 10005},

["Politoed"] = {chance = 153, corpse = 9915},

["Hoppip"] = {chance = 9, corpse = 9775},

["Skiploom"] = {chance = 25, corpse = 9937},

["Jumpluff"] = {chance = 52, corpse = 9801},

["Aipom"] = {chance = 9, corpse = 8938},

["Sunkern"] = {chance = 5, corpse = 10015},

["Sunflora"] = {chance = 100, corpse = 10008},

["Yanma"] = {chance = 51, corpse = 8935},

["Wooper"] = {chance = 17, corpse = 10603},

["Quagsire"] = {chance = 130, corpse = 9919},

["Espeon"] = {chance = 92, corpse = 8966},

["Umbreon"] = {chance = 98, corpse = 10525},

["Murkrow"] = {chance = 60, corpse = 9876},

["Slowking"] = {chance = 93, corpse = 9938},

["Misdreavus"] = {chance = 102, corpse = 9875},

["Wobbuffet"] = {chance = 81, corpse = 10539},

["Girafarig"] = {chance = 81, corpse = 9081},

["Pineco"] = {chance = 18, corpse = 9914},

["Forretress"] = {chance = 132, corpse = 8969},

["Dunsparce"] = {chance = 57, corpse = 8960},

["Gligar"] = {chance = 44, corpse = 9083},

["Steelix"] = {chance = 224, corpse = 10003},

["Snubbull"] = {chance = 21, corpse = 9964},

["Granbull"] = {chance = 84, corpse = 9107},

["Qwilfish"] = {chance = 16, corpse = 9921},

["Scizor"] = {chance = 200, corpse = 9925},

["Shuckle"] = {chance = 12, corpse = 9924},

["Heracross"] = {chance = 145, corpse = 9654},

["Sneasel"] = {chance = 99, corpse = 9963},

["Teddiursa"] = {chance = 20, corpse = 10508},

["Ursaring"] = {chance = 212, corpse = 10538},

["Slugma"] = {chance = 17, corpse = 9960},

["Magcargo"] = {chance = 108, corpse = 9867},

["Swinub"] = {chance = 12, corpse = 10171},

["Piloswine"] = {chance = 205, corpse = 9913},

["Corsola"] = {chance = 76, corpse = 8952},

["Remoraid"] = {chance = 11, corpse = 9923},

["Octillery"] = {chance = 58, corpse = 9880},

["Delibird"] = {chance = 38, corpse = 8957},

["Mantine"] = {chance = 108, corpse = 9868},

["Skarmory"] = {chance = 160, corpse = 9936},

["Houndour"] = {chance = 18, corpse = 9781},

["Houndoom"] = {chance = 182, corpse = 9780},

["Kingdra"] = {chance = 181, corpse = 9802},

["Phanpy"] = {chance = 12, corpse = 9881},

["Donphan"] = {chance = 95, corpse = 8958},

["Porygon2"] = {chance = 112, corpse = 9916},

["Stantler"] = {chance = 54, corpse = 10002},

["Smeargle"] = {chance = 38, corpse = 9961},

["Tyrogue"] = {chance = 13, corpse = 10524},

["Hitmontop"] = {chance = 160, corpse = 9658},

["Smoochum"] = {chance = 6, corpse = 9962},

["Elekid"] = {chance = 5, corpse = 8964},

["Magby"] = {chance = 6, corpse = 9831},

["Miltank"] = {chance = 53, corpse = 9873},

["Blissey"] = {chance = 212, corpse = 8947},

["Raikou"] = {chance = 294, corpse = 9922},

["Entei"] = {chance = 297, corpse = 8965},

["Suicune"] = {chance = 297, corpse = 10007},

["Larvitar"] = {chance = 10, corpse = 9823},

["Pupitar"] = {chance = 121, corpse = 9917},

["Tyranitar"] = {chance = 269, corpse = 10522},

["Lugia"] = {chance = 297, corpse = 9830},

["Ho-oh"] = {chance = 297, corpse = 9660},

["Celebi"] = {chance = 199, corpse = 8948},

}

 

 

Caso não funcione daí será porque seu spr e dat está mal configurado.

Link para o comentário
Compartilhar em outros sites

@Notle2012

 

o seu Problema ta no xml do pokemon que ta com o id do corpse errado, os id dos corpses do arquivo data/lib/configuration.lua estão certos, então é só pegar o id lá e trocar no xml do pokemon em data/monsters/pokes/geracao 2.

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...