Ir para conteúdo

[Encerrado] Exp Que O Pokemon Ganha


valcimar12

Posts Recomendados

Duas duvidas por favor, me ajudem:

 

1-Gostaria de saber como faz pra diminuir o exp que o Pokémon ganha pra subir de lvl.

 

2-E como que tira a evolução por lvl, pra que ele só posa evoluir através de Stones!

 

Obs.: já procurei nas duvidas sanadas, e já pesquisei no Google, já pesquisei no fórum + não consegui encontra...

 

De já obrigado!!!

Link para o comentário
Compartilhar em outros sites

Nos passe por spoiler aqui o script do LevelSystem e do EvolutionSystem se tiver! Procure nas pastas creaturescripts, ou movements se não souber onde procurar!

Link para o comentário
Compartilhar em outros sites

o inicio ai o:

 

 

useKpdoDlls = false -- 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 nurse

accountManagerOutfit = {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 aleatoria

reloadHighscoresWhenUsingPc = true -- talvez dê lag, lembrando que tem uma opção no config.lua que indica o intervalo do update das highscores

backupPos = {x = 10, y = 10, z = 10} -- alguma pos para criar monstros quando tentar sair do fly/ride/surf em lugares que não são muito espaçosos

hideSummonsLevel = false

hideWildsLevel = false

pokemonMaxLevelAbovePlayer = 10

pokemonsCanEvolveByLevel = true

nurseHealsPokemonOut = true

maximumBoost = 50

boost_rate = 9.9

catchMakesPokemonHappier = true

dittoCopiesStatusToo = true

dittoBonus = 0.45

wildBeforeNames = false

hideBoost = true

showBoostSeparated = true

canFishWhileSurfingOrFlying = false

allEvolutionsCanBeInduzedByStone = true

evolutionByStoneRequireLevel = false

PlayerSpeed = 500

playerExperienceRate = 0.7

attackRate = 1

specialoffenseRate = 3.55

levelFactor = 1.4

defenseRate = 0.7

playerDamageReduction = 0.32

summonReduction = 6

generalSpecialAttackReduction = 0.8

summonSpecialDamageReduction = 1

vitReductionForWild = 0.8 -- 1 means that nothing will change, 0.5 means that wild pokemon hp will drop by half

speedRate = 1.85

wildEvolveChance = 850

pokemonExpPerLevelRate = 0.5

baseExpRate = 1

generalExpRate = 0.5

HPperVIT = 13

baseNurseryHappiness = 95

baseNurseryHunger = 150

minHappyToEvolve = 10

maxHappyToEvolve = 240

happyLostOnDeath = 0

happyGainedOnEvolution = 240

 

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

Apague essa parte que voce me mando e cole esta

 

 

 

o inicio ai o:

 

useKpdoDlls = false -- 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 nurse

accountManagerOutfit = {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 aleatoria

reloadHighscoresWhenUsingPc = true -- talvez dê lag, lembrando que tem uma opção no config.lua que indica o intervalo do update das highscores

backupPos = {x = 10, y = 10, z = 10} -- alguma pos para criar monstros quando tentar sair do fly/ride/surf em lugares que não são muito espaçosos

hideSummonsLevel = false

hideWildsLevel = false

pokemonMaxLevelAbovePlayer = 10

pokemonsCanEvolveByLevel = true

nurseHealsPokemonOut = true

maximumBoost = 50

boost_rate = 9.9

catchMakesPokemonHappier = true

dittoCopiesStatusToo = true

dittoBonus = 0.45

wildBeforeNames = false

hideBoost = true

showBoostSeparated = true

canFishWhileSurfingOrFlying = false

allEvolutionsCanBeInduzedByStone = true

evolutionByStoneRequireLevel = false

PlayerSpeed = 500

playerExperienceRate = 0.7

attackRate = 1

specialoffenseRate = 3.55

levelFactor = 1.4

defenseRate = 0.7

playerDamageReduction = 0.32

summonReduction = 6

generalSpecialAttackReduction = 0.8

summonSpecialDamageReduction = 1

vitReductionForWild = 0.8 -- 1 means that nothing will change, 0.5 means that wild pokemon hp will drop by half

speedRate = 1.85

wildEvolveChance = 850

pokemonExpPerLevelRate = 1

baseExpRate = 1

generalExpRate = 1

HPperVIT = 13

baseNurseryHappiness = 95

baseNurseryHunger = 150

minHappyToEvolve = 10

maxHappyToEvolve = 240

happyLostOnDeath = 0

happyGainedOnEvolution = 240

 

 

 

veja se muda alguma coisa

e para fazer spoiler é [.spoiler] conteudo [./spoiler] SEM OS "PONTOS"

para fazer um Code é assim [.CODE] Conteudo [./CODE] mesma coisa sem os "Pontos"

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

olha quando mata o bicho fica assim...

 

matei um Victreebel lvl 5

 

o player ganha 196 de exp

e o pokemon ganha 281

 

quero que o pokemon ganhe menos exp que o player!

 

o Roksas pediu pra eu posta os arquivos LevelSystem e do EvolutionSystem no inicio não avia encontrado arquivos com estes nomes específicos + dei uma fusada e achei assim dentro da pasta:

data\monster\pokes\System achei o arquivo Evolution.xml e o script dele ta aqui:

 

encripte do arquivo data\monster\pokes\System\evolution.xml

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Evolution" nameDescription="" race="electric" experience="0" speed="0" manacost="0">

<health now="1000" max="1000"/>

<look type="100" head="15" body="20" legs="95" feet="113" corpse="0"/>

<targetchange interval="10000" chance="0"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="1"/>

<flag attackable="0"/>

<flag hostile="0"/>

<flag illusionable="1"/>

<flag convinceable="1"/>

<flag pushable="0"/>

<flag canpushitems="0"/>

<flag canpushcreatures="0"/>

<flag targetdistance="1"/>

<flag staticattack="97"/>

<flag runonhealth="0"/>

</flags>

<attacks>

</attacks>

 

<defenses armor="0" defense="0">

</defenses>

<loot>

</loot>

</monster>

 

 

e o arquivo LevelSystem encontrei ele com este nome Level syste.lua (a diferença é que o meu tem um espado que separa a palavra level da palavras system por isso não tinha encontrado) e o arquivo ta neste endereço data\monster\pokes\System

 

o aescript do level syste.lua ta arqui:

 

o script dele ta aqui:

script do arquivo arquivo data\monster\pokes\System\Level syste.lua

function getPokemonStatus(name, multiplier)

local a = pokes[name]

local m = 1

if not a then return false end

if not a.offense then return false end

if multiplier then m = multiplier end

local ret = {}

ret.off = a.offense * m

ret.offense = ret.off

ret.def = a.defense * m

ret.defense = ret.def

ret.agi = a.agility * m

ret.agility = ret.agi

ret.spatk = a.specialattack * m

ret.specialattack = ret.spatk

ret.vit = a.vitality * m

ret.vitality = ret.vit

return ret

end

function getPokemonXMLOutfit(name)

local a = "data/monster/pokes/"..name..".xml"

local b = io.open(a, "a+")

local c = b:read("*all")

b:close()

local d, e = c:find('look type="(.-)"')

c = string.sub(c, d + 11, e - 1)

return tonumber©

end

function doEvolutionOutfit(cid, oldout, outfit)

if not isCreature(cid) then return true end

if getCreatureOutfit(cid).lookType == oldout then

doSetCreatureOutfit(cid, {lookType = outfit}, -1)

else

doSetCreatureOutfit(cid, {lookType = oldout}, -1)

end

end

function doStartEvolution(cid, evolution, seconds)

if not isCreature(cid) then return true end

local a = getPlayerStorageValue(cid, 1007)

local b = getCreatureHealth(cid) / getCreatureMaxHealth(cid)

local d = getThingPos(cid)

local e = getCreatureMaster(cid)

if getHappinessRate(cid) < 1 then return true end

local f = getCreatureOutfit(cid).lookType

local g = getItemAttribute(getPlayerSlotItem(e, 8).uid, "nick") or getCreatureName(cid)

local h = getPokemonXMLOutfit(evolution)

doItemSetAttribute(getPlayerSlotItem(e, 8).uid, "hp", b)

doCreatureSay(e, "What? My "..g.." is evolving!", TALKTYPE_SAY)

doSummonMonster(e, "Evolution")

doReturnPokemon(e, cid, getPlayerSlotItem(e, 8), 0, true)

local evo = getCreatureSummons(e)[1]

doEvolutionOutfit(evo, h, f)

doCreatureSetHideHealth(evo, true)

doCreatureSetLookDir(evo, 2)

setPlayerStorageValue(evo, 1007, g)

doTeleportThing(evo, d, false)

addEvent(sendSSJEffect, 250, evo)

doSendAnimatedText(getThingPos(evo), "EVOLUTION", COLOR_GRASS)

doSendEvolutionEffect(evo, getThingPos(evo), evolution, 20, false, false, f, h)

end

function doSendEvolutionEffect(cid, pos, evolution, turn, ssj, evolve, f, h)

if not isCreature(cid) then

doSendAnimatedText(pos, "CANCEL", 215)

return true end

if evolve then

doEvolvePokemon(getCreatureMaster(cid), {uid = cid}, evolution, 0, 0)

return true

end

doSendMagicEffect(pos, 18)

if ssj then

sendSSJEffect(evo)

end

doEvolutionOutfit(cid, f, h)

addEvent(doSendEvolutionEffect, math.pow(1900, turn/20), cid, getThingPos(cid), evolution, turn - 1, turn == 19, turn == 2, f, h)

end

function sendSSJEffect(cid)

if not isCreature(cid) then return true end

local pos1 = getThingPos(cid)

local pos2 = getThingPos(cid)

pos2.x = pos2.x + math.random(-1, 1)

pos2.y = pos2.y - math.random(1, 2)

doSendDistanceShoot(pos1, pos2, 37)

addEvent(sendSSJEffect, 45, cid)

end

function sendFinishEvolutionEffect(cid, alternate)

if not isCreature(cid) then return true end

local pos1 = getThingPos(cid)

if alternate then

local pos = {

[1] = {-2, 0},

[2] = {-1, -1},

[3] = {0, -2},

[4] = {1, -1},

[5] = {2, 0},

[6] = {1, 1},

[7] = {0, 2},

[8] = {-1, 1}}

for a = 1, 8 do

local pos2 = getThingPos(cid)

pos2.x = pos2.x + pos[a][1]

pos2.y = pos2.y + pos[a][2]

local pos = getThingPos(cid)

doSendDistanceShoot(pos2, pos, 37)

addEvent(doSendDistanceShoot, 300, pos, pos2, 37)

end

else

for a = 0, 3 do

doSendDistanceShoot(pos1, getPosByDir(pos1, a), 37)

end

for a = 4, 7 do

addEvent(doSendDistanceShoot, 600, pos1, getPosByDir(pos1, a), 37)

end

end

end

function doEvolvePokemon(cid, item2, theevo, stone1, stone2)

if not isCreature(cid) then return true end

if not pokes[theevo] or not pokes[theevo].offense then

doReturnPokemon(cid, item2.uid, getPlayerSlotItem(cid, 8), pokeballs[getPokeballType(getPlayerSlotItem(cid, 8).itemid)].effect, false, true)

return true

end

local owner = getCreatureMaster(item2.uid)

local pokeball = getPlayerSlotItem(cid, 8)

local description = "Contains a "..theevo.."."

local pct = getCreatureHealth(item2.uid) / getCreatureMaxHealth(item2.uid)

doItemSetAttribute(pokeball.uid, "hp", pct)

doItemSetAttribute(pokeball.uid, "poke", theevo)

doItemSetAttribute(pokeball.uid, "description", "Contains a "..theevo..".")

doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getPokeName(item2.uid).." evolved into a "..theevo.."!")

doSendMagicEffect(getThingPos(item2.uid), 18)

doTransformItem(getPlayerSlotItem(cid, 7).uid, fotos[theevo])

doSendMagicEffect(getThingPos(cid), 173)

local oldpos = getThingPos(item2.uid)

local oldlod = getCreatureLookDir(item2.uid)

local oldlvl = getPokemonLevel(item2.uid)

doRemoveCreature(item2.uid)

doSummonMonster(cid, theevo)

local pk = getCreatureSummons(cid)[1]

doTeleportThing(pk, oldpos, false)

doCreatureSetLookDir(pk, oldlod)

sendFinishEvolutionEffect(pk, true)

addEvent(sendFinishEvolutionEffect, 550, pk, true)

addEvent(sendFinishEvolutionEffect, 1050, pk)

 

doPlayerRemoveItem(cid, stone1, 1)

doPlayerRemoveItem(cid, stone2, 1)

doAddPokemonInOwnList(cid, theevo)

local status = getPokemonStatus(getCreatureName(pk))

local off = status.off * 7.5

local def = status.def * 7.5

local agi = status.agi * 7.5

local spatk = status.spatk * 7.5

local vit = status.vit * 7

doItemSetAttribute(pokeball.uid, "offense", getItemAttribute(pokeball.uid, "offense") + off)

doItemSetAttribute(pokeball.uid, "defense", getItemAttribute(pokeball.uid, "defense") + def)

doItemSetAttribute(pokeball.uid, "speed", getItemAttribute(pokeball.uid, "speed") + agi)

doItemSetAttribute(pokeball.uid, "specialattack", getItemAttribute(pokeball.uid, "specialattack") + spatk)

doItemSetAttribute(pokeball.uid, "vitality", getItemAttribute(pokeball.uid, "vitality") + vit)

doPlayerSendTextMessage(cid, 27, "Evolution bonus: • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit).."")

local happy = getItemAttribute(pokeball.uid, "happy")

doItemSetAttribute(pokeball.uid, "happy", happy + happyGainedOnEvolution)

if happy + happyGainedOnEvolution > 255 then

doItemSetAttribute(pokeball.uid, "happy", 255)

end

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

if useKpdoDlls then

doUpdateMoves(cid)

end

end

 

function givePokemonExp(cid, item, expe, pct, rarecandy)

if expe <= 0 or not isCreature(cid) then return true end

local leveltable = getPokemonExperienceTable(getPokeballName(item.uid, true))

if getItemAttribute(item.uid, "exp") + expe > leveltable[100] then

givePokemonExp(cid, item, leveltable[100] - getItemAttribute(item.uid, "exp"))

return true

end

doItemSetAttribute(item.uid, "exp", getItemAttribute(item.uid, "exp") + expe)

doItemSetAttribute(item.uid, "happy", getItemAttribute(item.uid, "happy") + 1)

doItemSetAttribute(item.uid, "nextlevelexp", getItemAttribute(item.uid, "nextlevelexp") - expe)

 

if pct then

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." has received "..expe.." experience points ("..pct.."%).")

else

if getItemAttribute(item.uid, "nextlevelexp") > 0 then

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." ["..getItemAttribute(item.uid, "level").."] has received "..expe.." experience points ("..getItemAttribute(item.uid, "nextlevelexp").." to next level).")

else

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." ["..getItemAttribute(item.uid, "level").."] has received "..expe.." experience points and has leveled up!")

end

end

if isBeingUsed(item.itemid) then

doSendAnimatedText(getThingPos(getCreatureSummons(cid)[1]), expe, 215)

end

if getItemAttribute(item.uid, "nextlevelexp") <= 0 then

local summon = getCreatureSummons(cid)[1]

 

if not isCreature(summon) then return true end

doSendFlareEffect(getThingPos(summon))

doSendAnimatedText(getThingPos(summon), "Level up!", 215)

adjustPokemonLevel(item.uid, cid, item.itemid)

end

end

 

function givePokemonExpInBp(cid, item, expe, ballid, pct, hidemessage)

if expe <= 0 or not isCreature(cid) then return true end

local leveltable = getPokemonExperienceTable(getPokeballName(item, true))

if getItemAttribute(item, "exp") + expe > leveltable[100] then

givePokemonExpInBp(cid, item, leveltable[100] - getItemAttribute(item, "exp"), ballid)

return true

end

doItemSetAttribute(item, "exp", getItemAttribute(item, "exp") + expe)

doItemSetAttribute(item, "happy", getItemAttribute(item, "happy") + 1)

doItemSetAttribute(item, "nextlevelexp", getItemAttribute(item, "nextlevelexp") - expe)

if not hidemessage then

if pct then

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." has received "..expe.." experience points ("..pct.."%).")

else

if getItemAttribute(item, "nextlevelexp") > 0 then

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." ["..getItemAttribute(item, "level").."] has received "..expe.." experience points inside his pokeball ("..getItemAttribute(item, "nextlevelexp").." to next level).")

else

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." ["..getItemAttribute(item, "level").."] has received "..expe.." experience points and has leveled up inside his pokeball.")

adjustPokemonLevel(item, cid, ballid)

end

end

end

end

 

function doMathDecimal(number, casas)

if math.floor(number) == number then return number end

local c = casas and casas + 1 or 3

for a = 0, 10 do

if math.floor(number) < math.pow(10, a) then

local str = string.sub(""..number.."", 1, a + c)

return tonumber(str)

end

end

return number

end

 

function adjustPokemonLevel(item, cid, id, rarecandy)

if not isCreature(cid) then return true end

local exp = getItemAttribute(item, "exp")

local level = getItemAttribute(item, "level")

local leveltable = getPokemonExperienceTable(getPokeballName(item, true))

local newlevel = 1

for x = 1, 100 do

if exp >= leveltable[x] and exp < leveltable[x+1] then

newlevel = x

end

end

if newlevel <= 1 then return true end

local levelsup = (newlevel - level)

local pokemon = getItemAttribute(item, "poke")

local happy = getItemAttribute(item, "happy")

local rate = happy / 100

local newhappiness = happy

if happy >= 250 then

newhappiness = 255

elseif happy >= 230 then

newhappiness = happy + 4

elseif happy >= 210 then

newhappiness = happy + 6

elseif happy >= 180 then

newhappiness = happy + 8

elseif happy >= 140 then

newhappiness = happy + 10

elseif happy >= 110 then

newhappiness = happy + 12

else

newhappiness = happy + 15

end

local status = getPokemonStatus(pokemon)

local off = status.off * rate * levelsup

local def = status.def * rate * levelsup

local agi = status.agi * rate * levelsup

local spatk = status.spatk * rate * levelsup

local vit = status.vit * rate * levelsup

doItemSetAttribute(item, "level", newlevel)

if not rarecandy then

doItemSetAttribute(item, "happy", newhappiness)

end

local nextexp = leveltable[newlevel + 1] - exp

doItemSetAttribute(item, "nextlevelexp", nextexp)

doItemSetAttribute(item, "offense", getItemAttribute(item, "offense") + off)

doItemSetAttribute(item, "defense", getItemAttribute(item, "defense") + def)

doItemSetAttribute(item, "speed", getItemAttribute(item, "speed") + agi)

doItemSetAttribute(item, "specialattack", getItemAttribute(item, "specialattack") + spatk)

doItemSetAttribute(item, "vitality", getItemAttribute(item, "vitality") + vit)

if newlevel > getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer then

addEvent(doPlayerSendTextMessage, 30, cid, 18, "Warning: Your "..getPokeballName(item).."'s ["..newlevel.."] level is much higher than yours, so you will not be able to call him to battles.")

end

if isCreature(cid) and id >= 1 and isBeingUsed(id) then

adjustStatus(getCreatureSummons(cid)[1], item, false, true)

doPlayerSendTextMessage(cid, 27, "• Level: "..newlevel.." (+"..levelsup..") • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit).."")

if happy < minHappyToEvolve then return true end

if pokemonsCanEvolveByLevel then

local summon = getCreatureSummons(cid)[1]

local reqlevel = poevo[getCreatureName(summon)] and poevo[getCreatureName(summon)].level or -1

local level = getItemAttribute(item, "level")

local evolution = "none"

local name = getCreatureName(summon)

if name == "Tyrogue" and level >= 20 then

if getOffense(summon) == getDefense(summon) then

evolution = "Hitmontop"

elseif getOffense(summon) > getDefense(summon) then

evolution = "Hitmonlee"

else

evolution = "Hitmonchan"

end

elseif name == "Eevee" then

if happy >= maxHappyToEvolve then

if isDay() then

evolution = "Espeon"

else

evolution = "Umbreon"

end

end

elseif name == "Slowpoke" and level >= 28 then

evolution = "Slowbro"

elseif name == "Poliwhirl" and level >= 36 then

evolution = "Poliwrath"

elseif reqlevel > 4 and level >= reqlevel then

evolution = poevo[getCreatureName(summon)].evolution

elseif reqlevel == 2 and happy >= maxHappyToEvolve then

evolution = poevo[getCreatureName(summon)] and poevo[getCreatureName(summon)].evolution or "none"

end

if evolution ~= "none" then

doStartEvolution(summon, evolution, 4)

end

end

end

end

function adjustStatus(pk, item, health, vite, conditions)

if not isCreature(pk) then return true end

local bonusoffense = getItemAttribute(item, boffense) or 0

local bonusdefense = getItemAttribute(item, bdefense) or 0

local bonusagility = getItemAttribute(item, bagility) or 0

local bonussattack = getItemAttribute(item, bsattack) or 0

setPlayerStorageValue(pk, 1000, getItemAttribute(item, "level"))

setPlayerStorageValue(pk, 1001, getItemAttribute(item, "offense") + bonusoffense)

setPlayerStorageValue(pk, 1002, getItemAttribute(item, "defense") + bonusdefense)

setPlayerStorageValue(pk, 1003, getItemAttribute(item, "speed") + bonusagility)

setPlayerStorageValue(pk, 1005, getItemAttribute(item, "specialattack") + bonussattack)

local gender = getItemAttribute(item, "gender") and getItemAttribute(item, "gender") or 0

doCreatureSetSkullType(pk, gender)

if vite == true then

local pct = getCreatureHealth(pk) / getCreatureMaxHealth(pk)

local vit = getItemAttribute(item, "vitality") - getPlayerStorageValue(pk, 1004)

setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + ( vit * HPperVIT ))

doCreatureAddHealth(pk, pct * vit * HPperVIT)

end

setPlayerStorageValue(pk, 1004, getItemAttribute(item, "vitality"))

doRegainSpeed(pk)

local nick = getItemAttribute(item, "poke")

if getItemAttribute(item, "nick") then

nick = getItemAttribute(item, "nick")

end

setPlayerStorageValue(pk, 1007, nick)

local boostlevel = getItemAttribute(item, "boost") or 0

local boostshow = hideBoost and "]" or " + "..boostlevel.."]"

local lvlstr = ""

if showBoostSeparated then

boostshow = hideBoost and "]" or "] [+"..boostlevel.."]"

end

if hideSummonsLevel then

if not hideBoost then

nick = nick.." [+"..boostlevel.."]"

end

else

nick = nick.." ["..getItemAttribute(item, "level")..""..boostshow..""

end

doCreatureSetNick(pk, nick)

if not getItemAttribute(item, "happy") then

doItemSetAttribute(item, "happy", 120)

end

if not getItemAttribute(item, "hunger") then

doItemSetAttribute(item, "hunger", 5)

end

local happy = getItemAttribute(item, "happy")

if happy < 0 then

happy = 0

end

setPlayerStorageValue(pk, 1008, happy)

local hunger = getItemAttribute(item, "hunger")

setPlayerStorageValue(pk, 1009, hunger)

if health == true then

local mh = getCreatureMaxHealth(pk) + HPperVIT * getVitality(pk)

local rd = 1 - (tonumber(getItemAttribute(item, "hp")))

setCreatureMaxHealth(pk, mh)

doCreatureAddHealth(pk, getCreatureMaxHealth(pk))

doCreatureAddHealth(pk, -(getCreatureMaxHealth(pk) * rd))

end

if isSummon(pk) and conditions then

local burn = getItemAttribute(item, "burn")

if burn and burn >= 0 then

addEvent(doAdvancedBurn, 5000, pk, pk, getItemAttribute(item, "burndmg"), burn - 1)

end

local poison = getItemAttribute(item, "poison")

if poison and poison >= 0 then

addEvent(doAdvancedPoison, 2500, pk, pk, getItemAttribute(item, "poisondmg"), poison - 1)

end

if getItemAttribute(item, "confuse") and getItemAttribute(item, "confuse") >= 1 then

addEvent(doAdvancedConfuse, 1200, pk, getItemAttribute(item, "confuse"), getPlayerStorageValue(pk, 3891))

end

if getItemAttribute(item, "blind") and getItemAttribute(item, "blind") >= 1 then

addEvent(doBlind, 300, pk, getItemAttribute(item, "blind"), getItemAttribute(item, "blindef"))

end

if getItemAttribute(item, "sleep") and getItemAttribute(item, "sleep") >= 1 then

doSleep(pk, getItemAttribute(item, "sleep"))

end

end

return true

end

function setWildPokemonLevel(cid, optionalLevel, optionalStatus, optionalNick, optionalExtraExp)

if not isCreature(cid) then return true end

local levelRange = 0

local off = 0

local def = 0

local agi = 0

local spatk = 0

local vit = 0

local this = getCreatureName(cid)

local ee = 1

if optionalExtraExp then

ee = optionalExtraExp

end

 

if optionalLevel and tonumber(optionalLevel) >= 1 then

if optionalLevel <= 100 then

levelRange = optionalLevel

else

levelRange = 100

end

elseif getCreatureOutfit(cid).lookHead and getCreatureOutfit(cid).lookBody and getCreatureOutfit(cid).lookHead <= getCreatureOutfit(cid).lookBody then

levelRange = math.random(getCreatureOutfit(cid).lookHead, getCreatureOutfit(cid).lookBody)

else

levelRange = math.random(20, 30)

end

local status = getPokemonStatus(this)

if status then

off = status.off

def = status.def

agi = status.agi

vit = status.vit

spatk = status.spatk

end

setPlayerStorageValue(cid, 1000, levelRange)

if optionalStatus and optionalStatus.off then

setPlayerStorageValue(cid, 1001, optionalStatus.offense)

setPlayerStorageValue(cid, 1002, optionalStatus.defense)

setPlayerStorageValue(cid, 1003, optionalStatus.agility)

setPlayerStorageValue(cid, 1004, optionalStatus.vitality)

setPlayerStorageValue(cid, 1005, optionalStatus.specialattack)

setPlayerStorageValue(cid, 1011, optionalStatus.offense)

setPlayerStorageValue(cid, 1012, optionalStatus.defense)

setPlayerStorageValue(cid, 1013, optionalStatus.agility)

setPlayerStorageValue(cid, 1014, optionalStatus.vitality)

setPlayerStorageValue(cid, 1015, optionalStatus.specialattack)

else

setPlayerStorageValue(cid, 1001, 5 + math.random(off * levelRange * 0.9, off * levelRange * 1.8))

setPlayerStorageValue(cid, 1002, 5 + math.random(def * levelRange * 0.9, def * levelRange * 1.8))

setPlayerStorageValue(cid, 1003, math.random(agi * levelRange * 0.9, agi * levelRange * 1.8))

setPlayerStorageValue(cid, 1004, math.random(vit * levelRange * 0.9, vit * levelRange * 1.8))

setPlayerStorageValue(cid, 1005, 5 + math.random(spatk * levelRange * 0.9, spatk * levelRange * 1.8))

setPlayerStorageValue(cid, 1011, getPlayerStorageValue(cid, 1001))

setPlayerStorageValue(cid, 1012, getPlayerStorageValue(cid, 1002))

setPlayerStorageValue(cid, 1013, getPlayerStorageValue(cid, 1003))

setPlayerStorageValue(cid, 1014, getPlayerStorageValue(cid, 1004))

setPlayerStorageValue(cid, 1015, getPlayerStorageValue(cid, 1005))

end

doRegainSpeed(cid)

setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + getPlayerStorageValue(cid, 1004) * HPperVIT * vitReductionForWild)

doCreatureAddHealth(cid, getCreatureMaxHealth(cid))

if pokes[getCreatureName(cid)].exp then

--getMonsterInfo(getCreatureName(cid)).experience

local exp = (50 + pokes[getCreatureName(cid)].exp) * baseExpRate + pokes[getCreatureName(cid)].vitality * levelRange * pokemonExpPerLevelRate

setPlayerStorageValue(cid, 1006, exp * generalExpRate * ee)

end

local wildshow = wildBeforeNames and "Wild " or ""

if optionalNick then

if hideWildsLevel then

doCreatureSetNick(cid, optionalNick)

else

doCreatureSetNick(cid, optionalNick.." ["..getWildPokemonLevel(cid).."]")

end

else

if hideWildsLevel then

doCreatureSetNick(cid, ""..wildshow..""..getCreatureName(cid).."")

else

doCreatureSetNick(cid, ""..wildshow..""..getCreatureName(cid).." ["..getWildPokemonLevel(cid).."]")

end

end

end

function getOffense(cid)

if not isCreature(cid) then return 0 end

if getPlayerStorageValue(cid, 3894) >= 1 then

return tonumber(getPlayerStorageValue(cid, 1001)) / 2

end

return tonumber(getPlayerStorageValue(cid, 1001))

end

function getDefense(cid)

if not isCreature(cid) then return 0 end

if getPlayerStorageValue(cid, 3894) >= 1 then

return tonumber(getPlayerStorageValue(cid, 1002)) / 2

end

return tonumber(getPlayerStorageValue(cid, 1002))

end

function getSpeed(cid)

if not isCreature(cid) then return 0 end

return tonumber(getPlayerStorageValue(cid, 1003))

end

function getVitality(cid)

if not isCreature(cid) then return 0 end

return tonumber(getPlayerStorageValue(cid, 1004))

end

function getSpecialAttack(cid)

if not isCreature(cid) then return 0 end

return tonumber(getPlayerStorageValue(cid, 1005))

end

function getHappiness(cid)

if not isCreature(cid) then return 0 end

return tonumber(getPlayerStorageValue(cid, 1008))

end

function getSpecialDefense(cid)

if not isCreature(cid) then return 0 end

return getSpecialAttack(cid) * 0.85 + getDefense(cid) * 0.2

end

function getWildPokemonExp(cid)

return getPlayerStorageValue(cid, 1006)

end

function getWildPokemonLevel(cid)

return getPlayerStorageValue(cid, 1000)

end

function getLevel(cid)

if isSummon(cid) then

return getItemAttribute(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "level")

end

return getPlayerStorageValue(cid, 1000)

end

function getPokeName(cid)

if not isSummon(cid) then return getCreatureName(cid) end

if getCreatureName(cid) == "Evolution" then return getPlayerStorageValue(cid, 1007) end

local item = getPlayerSlotItem(getCreatureMaster(cid), 8)

if getItemAttribute(item.uid, "nick") then

return getItemAttribute(item.uid, "nick")

end

return getCreatureName(cid)

end

function getPokeballName(item, truename)

if not truename and getItemAttribute(item, "nick") then

return getItemAttribute(item, "nick")

end

return getItemAttribute(item, "poke")

end

function getPokemonName(cid)

return getCreatureName(cid)

end

function getPokemonLevel(cid)

if not isCreature(cid) then return 0 end

return getPlayerStorageValue(cid, 1000)

end

function getPokemonGender(cid)

return getCreatureSkullType(cid)

end

 

espero que alguém consiga me ajudar, de já agradeço o empenho de todos!

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

fiz o que você mandou e deu isto o:

 

ERROR: Unable to load Actions!

 

 

 

olha só meu interese maior é fazer com que os pokemon dos player ganhem meno exp que o player

 

quero que o player ganhe + exp quando mata o bixo que o pokemon entendeu? iso sim é o que eu gostaria que aconteça

 

já consegui resolver a questão da evolução por meio de pedras!!

 

ajuda ai plz!!!

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

 

<?xml version="1.0" encoding="UTF-8"?>

<actions>

<!-- Quests -->

<action actionid="2000" event="script" value="quests/system.lua"/>

<action actionid="2001" event="script" value="quests/system.lua"/>

<action uniqueid="7555" script="chuva.lua" />

<!-- Weapons enchanting (Gems) -->

<action itemid="2150" event="script" value="other/enchanting.lua"/>

<action itemid="2149" event="script" value="other/enchanting.lua"/>

<action itemid="7759" event="script" value="other/enchanting.lua"/>

<action itemid="7760" event="script" value="other/enchanting.lua"/>

<action itemid="7761" event="script" value="other/enchanting.lua"/>

<action itemid="7762" event="script" value="other/enchanting.lua"/>

<action itemid="165" event="script" value="carro um.lua"/>

<action itemid="166" event="script" value="carro dois.lua"/>

<action itemid="163" event="script" value="moto um.lua"/>

<action itemid="164" event="script" value="moto dois.lua"/>

 

<!-- Tools -->

<action itemid="2420" event="script" value="tools/machete.lua"/>

<action itemid="2442" event="script" value="tools/machete.lua"/>

<action itemid="2580" event="script" value="tools/fishing.lua" allowfaruse="1"/>

<action itemid="10223" event="script" value="tools/fishing.lua" allowfaruse="1"/>

<action itemid="2554" event="script" value="tools/shovel.lua"/>

<action itemid="5710" event="script" value="tools/shovel.lua"/>

<action itemid="2120" event="script" value="tools/rope.lua"/>

<action itemid="7731" event="script" value="tools/rope.lua"/>

<action itemid="2553" event="script" value="tools/pick.lua"/>

<action itemid="5908" event="script" value="tools/obsidian_knife.lua"/>

<action itemid="5942" event="script" value="tools/blessed_wooden_stake.lua"/>

<!-- Liquids -->

<action itemid="1775" event="script" value="liquids/containers.lua"/>

<action itemid="2005" event="script" value="liquids/containers.lua"/>

<action itemid="2006" event="script" value="liquids/containers.lua"/>

<action itemid="2007" event="script" value="liquids/containers.lua"/>

<action itemid="2008" event="script" value="liquids/containers.lua"/>

<action itemid="2009" event="script" value="liquids/containers.lua"/>

<action itemid="2011" event="script" value="liquids/containers.lua"/>

<action itemid="2012" event="script" value="liquids/containers.lua"/>

<action itemid="2013" event="script" value="liquids/containers.lua"/>

<action itemid="2014" event="script" value="liquids/containers.lua"/>

<action itemid="2015" event="script" value="liquids/containers.lua"/>

<action itemid="2023" event="script" value="liquids/containers.lua"/>

<action itemid="2031" event="script" value="liquids/containers.lua"/>

<action itemid="2032" event="script" value="liquids/containers.lua"/>

<action itemid="2033" event="script" value="liquids/containers.lua"/>

<action itemid="2034" event="script" value="liquids/containers.lua"/>

<action itemid="2562" event="script" value="liquids/containers.lua"/>

<action itemid="2574" event="script" value="liquids/containers.lua"/>

<action itemid="2575" event="script" value="liquids/containers.lua"/>

<action itemid="2576" event="script" value="liquids/containers.lua"/>

<action itemid="2577" event="script" value="liquids/containers.lua"/>

<action itemid="3941" event="script" value="liquids/containers.lua"/>

<action itemid="3942" event="script" value="liquids/containers.lua"/>

<action itemid="5553" event="script" value="liquids/containers.lua"/>

<action itemid="10150" event="script" value="liquids/containers.lua"/>

<action itemid="6558" event="script" value="liquids/demonic_blood.lua"/>

<action itemid="7588-7591;8472-8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>

<action itemid="7439" event="script" value="liquids/berserk_potion.lua"/>

<action itemid="7440" event="script" value="liquids/mastermind_potion.lua"/>

<action itemid="7443" event="script" value="liquids/bullseye_potion.lua"/>

<action itemid="8474" event="script" value="liquids/antidote_potion.lua"/>

 

<!-- Food -->

<action itemid="2362;2666-2691" event="script" value="other/food.lua"/>

<action fromid="2695" toid="2696" event="script" value="other/food.lua"/>

<action fromid="2787" toid="2796" event="script" value="other/food.lua"/>

<action itemid="5097" event="script" value="other/food.lua"/>

<action itemid="6125" event="script" value="other/food.lua"/>

<action itemid="6278" event="script" value="other/food.lua"/>

<action itemid="6279" event="script" value="other/food.lua"/>

<action itemid="6394" event="script" value="other/food.lua"/>

<action itemid="6501" event="script" value="other/food.lua"/>

<action fromid="6541" toid="6545" event="script" value="other/food.lua"/>

<action itemid="6574" event="script" value="other/food.lua"/>

<action itemid="7158" event="script" value="other/food.lua"/>

<action itemid="7159" event="script" value="other/food.lua"/>

<action fromid="7372" toid="7377" event="script" value="other/food.lua"/>

<action itemid="7909" event="script" value="other/food.lua"/>

<action fromid="8838" toid="8845" event="script" value="other/food.lua"/>

<action itemid="8847" event="script" value="other/food.lua"/>

<action itemid="12211;12213-12222" event="script" value="other/food.lua"/>

<!-- Increase/Decrease ItemId -->

<action itemid="461" event="function" value="increaseItemId"/>

<action itemid="462" event="function" value="decreaseItemId"/>

<action itemid="1873" event="function" value="increaseItemId"/>

<action itemid="1874" event="function" value="decreaseItemId"/>

<action itemid="1875" event="function" value="increaseItemId"/>

<action itemid="1876" event="function" value="decreaseItemId"/>

<action itemid="2162" event="function" value="increaseItemId"/>

<action itemid="2163" event="function" value="decreaseItemId"/>

<action itemid="3743" event="function" value="increaseItemId"/>

<action itemid="3744" event="function" value="decreaseItemId"/>

<action itemid="3947" event="function" value="increaseItemId"/>

<action itemid="3948" event="function" value="decreaseItemId"/>

<action itemid="1479" event="function" value="increaseItemId"/>

<action itemid="1480" event="function" value="decreaseItemId"/>

<action itemid="2037" event="function" value="increaseItemId"/>

<action itemid="2038" event="function" value="decreaseItemId"/>

<action itemid="2039" event="function" value="increaseItemId"/>

<action itemid="2040" event="function" value="decreaseItemId"/>

<action itemid="2058" event="function" value="increaseItemId"/>

<action itemid="2059" event="function" value="decreaseItemId"/>

<action itemid="2060" event="function" value="increaseItemId"/>

<action itemid="2061" event="function" value="decreaseItemId"/>

<action itemid="2066" event="function" value="increaseItemId"/>

<action itemid="2067" event="function" value="decreaseItemId"/>

<action itemid="2068" event="function" value="increaseItemId"/>

<action itemid="2069" event="function" value="decreaseItemId"/>

<action itemid="2064" event="function" value="increaseItemId"/>

<action itemid="2065" event="function" value="decreaseItemId"/>

<action itemid="2096" event="function" value="increaseItemId"/>

<action itemid="2097" event="function" value="decreaseItemId"/>

<action itemid="1786" event="function" value="increaseItemId"/>

<action itemid="1787" event="function" value="decreaseItemId"/>

<action itemid="1788" event="function" value="increaseItemId"/>

<action itemid="1789" event="function" value="decreaseItemId"/>

<action itemid="1790" event="function" value="increaseItemId"/>

<action itemid="1791" event="function" value="decreaseItemId"/>

<action itemid="1792" event="function" value="increaseItemId"/>

<action itemid="1793" event="function" value="decreaseItemId"/>

<action itemid="1634" event="function" value="increaseItemId"/>

<action itemid="1635" event="function" value="decreaseItemId"/>

<action itemid="1636" event="function" value="increaseItemId"/>

<action itemid="1637" event="function" value="decreaseItemId"/>

<action itemid="1638" event="function" value="increaseItemId"/>

<action itemid="1639" event="function" value="decreaseItemId"/>

<action itemid="1640" event="function" value="increaseItemId"/>

<action itemid="1641" event="function" value="decreaseItemId"/>

<action itemid="7058" event="function" value="increaseItemId"/>

<action itemid="7059" event="function" value="decreaseItemId"/>

<action itemid="8684" event="function" value="increaseItemId"/>

<action itemid="8685" event="function" value="decreaseItemId"/>

<action itemid="8686" event="function" value="increaseItemId"/>

<action itemid="8687" event="function" value="decreaseItemId"/>

<action itemid="8688" event="function" value="increaseItemId"/>

<action itemid="8689" event="function" value="decreaseItemId"/>

<action itemid="8690" event="function" value="increaseItemId"/>

<action itemid="8691" event="function" value="decreaseItemId"/>

<action itemid="9575" event="function" value="increaseItemId"/>

<action itemid="9576" event="function" value="decreaseItemId"/>

<action itemid="9577" event="function" value="increaseItemId"/>

<action itemid="9578" event="function" value="decreaseItemId"/>

<action itemid="9579" event="function" value="increaseItemId"/>

<action itemid="9580" event="function" value="decreaseItemId"/>

<action itemid="9581" event="function" value="increaseItemId"/>

<action itemid="9582" event="function" value="decreaseItemId"/>

<action itemid="9624" event="function" value="increaseItemId"/>

<action itemid="9625" event="function" value="decreaseItemId"/>

<action itemid="9747" event="function" value="increaseItemId"/>

<action itemid="9748" event="function" value="decreaseItemId"/>

<action itemid="9749" event="function" value="increaseItemId"/>

<action itemid="9750" event="function" value="decreaseItemId"/>

<action itemid="9825" event="function" value="increaseItemId"/>

<action itemid="9826" event="function" value="decreaseItemId"/>

<action itemid="9827" event="function" value="increaseItemId"/>

<action itemid="9828" event="function" value="decreaseItemId"/>

<action itemid="9973" event="function" value="increaseItemId"/>

<action itemid="9974" event="function" value="decreaseItemId"/>

<action itemid="10044" event="function" value="increaseItemId"/>

<action itemid="10045" event="function" value="decreaseItemId"/>

<!-- Spellbooks -->

<action itemid="2175" event="script" value="other/spellbook.lua"/>

<action itemid="6120" event="script" value="other/spellbook.lua"/>

<action fromid="8900" toid="8904" event="script" value="other/spellbook.lua"/>

<action itemid="8918" event="script" value="other/spellbook.lua"/>

<!-- Change gold -->

<action itemid="2148;2152;2160;12416" event="script" value="other/changegold.lua"/>

<!-- Construction kits -->

<action fromid="3901" toid="3938" event="script" value="other/constructionkits.lua"/>

<action fromid="5086" toid="5088" event="script" value="other/constructionkits.lua"/>

<action fromid="6114" toid="6115" event="script" value="other/constructionkits.lua"/>

<action fromid="6372" toid="6373" event="script" value="other/constructionkits.lua"/>

<action fromid="7960" toid="7962" event="script" value="other/constructionkits.lua"/>

<action fromid="8692" toid="8693" event="script" value="other/constructionkits.lua"/>

<action itemid="7503" event="script" value="other/constructionkits.lua"/>

<action itemid="7700" event="script" value="other/constructionkits.lua"/>

<!-- Bed construction kits -->

<action fromid="7904" toid="7907" event="script" value="other/furniturebeds.lua"/>

<!-- Music, instruments -->

<action fromid="2070" toid="2085" event="script" value="other/music.lua"/>

<action itemid="2095" event="script" value="other/music.lua"/>

<action itemid="2332" event="script" value="other/music.lua"/>

<action itemid="2364" event="script" value="other/music.lua"/>

<action fromid="2367" toid="2374" event="script" value="other/music.lua"/>

<action fromid="3951" toid="3953" event="script" value="other/music.lua"/>

<action itemid="3957" event="script" value="other/music.lua"/>

<action itemid="5786" event="script" value="other/music.lua"/>

<action itemid="6572" event="script" value="other/music.lua"/>

<!-- Teleport (stairs, ladders) -->

<action itemid="430" event="script" value="other/teleport.lua"/>

<action itemid="1368" event="script" value="other/teleport.lua"/>

<action itemid="1369" event="script" value="other/teleport.lua"/>

<action itemid="1386" event="script" value="other/teleport.lua"/>

<action itemid="3678" event="script" value="other/teleport.lua"/>

<action itemid="5543" event="script" value="other/teleport.lua"/>

<action itemid="8580" event="script" value="other/teleport.lua"/>

<action itemid="8599" event="script" value="other/teleport.lua"/>

<action itemid="10035" event="script" value="other/teleport.lua"/>

<!-- Destroy -->

<action id="2321;2390-2398;2400-2404;2406-2409;2411-2417;2419;2421-2441;2443-2454;3961-3964;3966;4846;6101;6528;6553;7379-7392;7402-7437;7449;7451-7456;7744-7758;7763-7777;7854-7883;7958;8601-8602;8924-8932;10293" event="script" value="other/destroy.lua"/>

<!-- Bread Creating -->

<action itemid="2692" event="script" value="other/createbread.lua"/>

<action itemid="2694" event="script" value="other/createbread.lua"/>

<!-- Windows -->

<action fromid="5303" toid="5305" event="script" value="other/windows.lua"/>

<action fromid="6436" toid="6473" event="script" value="other/windows.lua"/>

<action fromid="6788" toid="6791" event="script" value="other/windows.lua"/>

<action fromid="7025" toid="7032" event="script" value="other/windows.lua"/>

<action fromid="10264" toid="10267" event="script" value="other/windows.lua"/>

<action fromid="10488" toid="10491" event="script" value="other/windows.lua"/>

<!-- Doors -->

<action fromid="1209" toid="1214" event="script" value="other/doors.lua"/>

<action fromid="1219" toid="1262" event="script" value="other/doors.lua"/>

<action fromid="1539" toid="1542" event="script" value="other/doors.lua"/>

<action fromid="2086" toid="2092" event="script" value="other/doors.lua"/>

<action fromid="3535" toid="3552" event="script" value="other/doors.lua"/>

<action fromid="4913" toid="4918" event="script" value="other/doors.lua"/>

<action fromid="5082" toid="5085" event="script" value="other/doors.lua"/>

<action fromid="5098" toid="5145" event="script" value="other/doors.lua"/>

<action fromid="5278" toid="5295" event="script" value="other/doors.lua"/>

<action fromid="5515" toid="5518" event="script" value="other/doors.lua"/>

<action fromid="5732" toid="5737" event="script" value="other/doors.lua"/>

<action fromid="5745" toid="5749" event="script" value="other/doors.lua"/>

<action fromid="6192" toid="6209" event="script" value="other/doors.lua"/>

<action fromid="6249" toid="6266" event="script" value="other/doors.lua"/>

<action fromid="6795" toid="6802" event="script" value="other/doors.lua"/>

<action fromid="6891" toid="6908" event="script" value="other/doors.lua"/>

<action fromid="7033" toid="7050" event="script" value="other/doors.lua"/>

<action fromid="7054" toid="7057" event="script" value="other/doors.lua"/>

<action fromid="8541" toid="8558" event="script" value="other/doors.lua"/>

<action fromid="9165" toid="9184" event="script" value="other/doors.lua"/>

<action fromid="9267" toid="9284" event="script" value="other/doors.lua"/>

<action itemid="10032" event="script" value="other/doors.lua"/>

<action itemid="10091" event="script" value="other/doors.lua"/>

<action fromid="10268" toid="10285" event="script" value="other/doors.lua"/>

<action fromid="10468" toid="10486" event="script" value="other/doors.lua"/>

<action fromid="10774" toid="10776" event="script" value="other/doors.lua"/>

<action fromid="10779" toid="10785" event="script" value="other/doors.lua"/>

<action fromid="10788" toid="10791" event="script" value="other/doors.lua"/>

<!-- Watch -->

<action itemid="2036" event="script" value="other/watch.lua"/>

<action fromid="1728" toid="1731" event="script" value="other/watch.lua"/>

<action itemid="1877" event="script" value="other/watch.lua"/>

<action fromid="6091" toid="6092" event="script" value="other/watch.lua"/>

<action itemid="8187" event="script" value="other/watch.lua"/>

<!-- Decay To -->

<action fromid="2041" toid="2042" event="script" value="other/decayto.lua"/>

<action fromid="2044" toid="2045" event="script" value="other/decayto.lua"/>

<action fromid="2047" toid="2048" event="script" value="other/decayto.lua"/>

<action fromid="2050" toid="2055" event="script" value="other/decayto.lua"/>

<action fromid="5812" toid="5813" event="script" value="other/decayto.lua"/>

<action itemid="7183" event="script" value="other/decayto.lua"/>

<action itemid="9006" event="script" value="other/decayto.lua"/>

<action fromid="9976" toid="9979" event="script" value="other/decayto.lua"/>

<!-- Other -->

<action itemid="2114" event="script" value="other/piggybank.lua"/>

<action uniqueid="5353" script="other/coca cola.lua" />

<action fromid="6570" toid="6571" event="script" value="other/surprisebag.lua"/>

<action fromid="5792" toid="5797" event="script" value="other/dice.lua"/>

<action itemid="6576" event="script" value="other/fireworksrocket.lua"/>

<action itemid="6578" event="script" value="other/partyhat.lua"/>

<action itemid="2785" event="script" value="other/blueberrybush.lua"/>

<action itemid="2579" event="script" value="other/trap.lua"/>

<action uniqueid="5252" script="other/transdec.lua" />

<action itemid="6512;8982;9019;9693;2322" event="script" value="vitaminas.lua"/>

<action uniqueid="5950" event="script" value="saffron quest.lua"/>

<action uniqueid="5951" event="script" value="cerulean quest.lua"/>

<action uniqueid="5952" event="script" value="pewter quest.lua"/>

<action uniqueid="5953" event="script" value="viridian quest.lua"/>

<action uniqueid="5954" event="script" value="cinnabar quest.lua"/>

<action uniqueid="5955" event="script" value="vermilion quest.lua"/>

<action uniqueid="5956" event="script" value="fuchsia quest.lua"/>

<action uniqueid="5957" event="script" value="lavender quest um.lua"/>

<action uniqueid="5958" event="script" value="lavender quest dois.lua"/>

<action uniqueid="5959" event="script" value="box+4.lua"/>

<action uniqueid="5960" event="script" value="box+2.lua"/>

<action uniqueid="5961" event="script" value="box+3.lua"/>

<action uniqueid="5962" event="script" value="box+1.lua"/>

<action uniqueid="5963" event="script" value="new quest 1.lua"/>

<action uniqueid="5964" event="script" value="new quest 2.lua"/>

<action uniqueid="5965" event="script" value="new quest 3.lua"/>

<action uniqueid="5966" event="script" value="new quest 4.lua"/>

<action uniqueid="5967" event="script" value="new quest 5.lua"/>

<action uniqueid="5968" event="script" value="new quest 6.lua"/>

<action uniqueid="5969" event="script" value="new quest 7.lua"/>

 

 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 

 

 

Link para o comentário
Compartilhar em outros sites

Esqueceu de adicionar a tag </actions> no final de tudo! Coloque essa tag em uma só linha, lá embaixão, ficando assim:

<action itemid="11450" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11453" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11449" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11452" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11451" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11448" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11444" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11441" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11442" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11447" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11446" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11443" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11445" event="script" allowfaruse="10" value="stones.lua"/>
<action itemid="11454" event="script" allowfaruse="10" value="stones.lua"/>
</actions>

Link para o comentário
Compartilhar em outros sites

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