Ir para conteúdo

My Cuarto Aporte :d


jhon44370

Posts Recomendados

here I'll give you a script q maybe you have your server online pokemon but lacks config made me take the delicacy set to you: D

 

go to your server / / data / / script

and copy this:

 

 

local evo = {

 

["Abra"] = "kadabra",

["Kadabra"] = "alakazam",

["Drowzee"] = "hypno",

["Slowpoke"] = "slowbro",

["Psyduck"] = "golduck",

[""] = "",

[""] = "",

[""] = "",

[""] = "",

[""] = "",

[""] = "",

[""] = "",

 

}

 

local pokeballs = {

[2531] = {"Pokeball"},

[2557] = {"Superball"},

[2524] = {"Greatball"},

[2525] = {"Ultraball"},

[2523] = {"Masterball"},

}

 

function onUse(cid, item, fromPosition, itemEx, toPosition)

if isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then

local monster = getCreatureName(itemEx.uid)

if evo[monster] then

local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid)

doRemoveCreature(itemEx.uid)

doRemoveItem(item.uid)

local summon = doCreateMonster(evo[monster], toPosition)

doConvinceCreature(cid, summon)

local balls = pokeballs[getPlayerSlotItem(cid,8).itemid]

doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "name", ""..evo[monster].." "..balls[1])

doCreatureAddHealth(summon, health-maxHealth)

doSendMagicEffect(getThingPos(summon), 18)

return TRUE

end

end

return FALSE

end

 

then he placed the name of psic

 

then go to actions and place xml:

 

<action itemid="5903" event="script" allowfaruse="10" value="stones/psic.lua"/>

 

if you want to name him psychotic stone items are to be open with xml and blog of notes and look for the id 5903 and changed its name

 

and it can evolve their pokes psychotic

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...