creio que para um pokemon evoluir para 2 vc precisa colocar nessa parte dos scripts:
configuration.lua
spcevo = {
["Poliwhirl"] = {[1] = {level = 1, evolution = "Poliwrath", count = 1, stoneid = 11442, stoneid2 = 11446},
[2] = {level = 1, evolution = "Politoed", count = 1, stoneid = 11442, stoneid2 = 12244}},
["Gloom"] = {[1] = {level = 1, evolution = "Vileplume", count = 2, stoneid = 11441, stoneid2 = 0},
[2] = {level = 1, evolution = "Bellossom", count = 1, stoneid = 11441, stoneid2 = 12242}},
}
e tb evolution.lua
if isInArray(specialevo, getPokemonName(item2.uid)) then
if getPokemonName(item2.uid) == "Poliwhirl" then
local evolution = 0
local theevo = ""
if item.itemid == water then
if getPlayerItemCount(cid, king) >= 1 then
evolution = king
theevo = "Politoed"
elseif getPlayerItemCount(cid, punch) >= 1 then
evolution = punch
theevo = "Poliwrath"
else
doPlayerSendCancel(cid, "You need a water stone and a punch stone (Poliwrath) or a King's Rock (Politoed) to evolve this pokemon.")
return true
end
minlevel = pokes[theevo].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, punch) >= 1 and getPlayerItemCount(cid, king) >= 1 then
doPlayerSendCancel(cid, "Please, use your Punch Stone to evolve this pokemon to a Poliwrath, or a King's Rock to a Politoed.")
return true
end
doEvolvePokemon(cid, item2, theevo, evolution, water)
elseif item.itemid == punch then
minlevel = pokes["Poliwrath"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, water) <= 0 then
doPlayerSendCancel(cid, "You need at least one Punch Stone and one Water Stone to evolve this pokemon.")
return true
end
local theevo = "Poliwrath"
doEvolvePokemon(cid, item2, theevo, water, punch)
elseif item.itemid == king then
minlevel = pokes["Politoed"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, water) <= 0 then
doPlayerSendCancel(cid, "You need at least one Punch Stone and one King's Rock to evolve this pokemon.")
return true
end
local theevo = "Politoed"
doEvolvePokemon(cid, item2, theevo, water, king)
end
ambos na pasta lib
o evolution é mais complicado, mas se vc ler um pouco ele vc consegue fazer ;p
boa sorte ae









info
Grupo: Campones
Registrado: 27/09/12
Posts: 46
Reputação: +1
Como colocar para um pokémon evoluir para 2?
Olá,eu estou usando atualmente o pda sem level do slicer e estou adicionando os pokémons da 3° geração.Porém vários pokémons evoluem para 2 como por exemplo: Quero colocar para o Nincada evoluir pra Ninjask e pro Shedinja,quero colocar pro kirlia evolui para o gadevoir e o gallade e assim por diante.
Ficaria muito agradecido se vocês aqui do XTibia puderem me ajudar.
Como fazer evolução por sexo?
Eu também queria colocar evolução por sexo no meu server,tipo: O Combee Fêmea evoluir para o Vespiquen e o Combee macho não evoluir.Se puderem me ajudar eu ficaria muito grato.
Como colocar Berry System?
Também queria um sistema de berry no meu server desse jeito: Você usa um item em uma determinada árvore ai vai uma determinada berry para o seu inventário que cura um determinado tipo de HP.Se puderem me ajudar ficaria muito feliz!