Ir para conteúdo

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


lucashgas

Posts Recomendados

@Cortar

Alguém pode me ajudar a entender isto? Quero deixar a exp ganha pelo pokemon 70% da que o player ganha, tipo, se o player receber 100 de exp o seu pokemon receberá 70. Fiz diversas alterações no configuration.lua e nada chegou perto do que eu queria. neutral.gificon_redface.gif

PlayerExperienceRate = 1 attackRate = 1 specialoffenseRate = 3.55 levelFactor = 1.4 defenseRate = 0.7 playerDamageReduction = 0.32 summonReduction = 1 generalSpecialAttackReduction = 0.8 summonSpecialDamageReduction = 1 vitReductionForWild = 0.8 speedRate = 1.85 wildEvolveChance = 50 pokemonExpPerLevelRate = 2 baseExpRate = 0.5 generalExpRate = 1

Do jeito que esá aqui o player recebe 1270 de exp e seu pokemon 170. No config.lua:

experienceStages = false rateExperience = 10 rateExperienceFromPlayers = 0 rateSkill = 2 rateMagic = 1.0 rateLoot = 5 rateSpawn = 10

E Stages.xml:

 

Aproveitando o tópico tbm queria diminuir as rates de pesca, o player level baixo upa fishing mt rápido. Esse negócio de rep+ eu tbm não sei como faz, mas se eu conseguir ajuda com certeza vou procurar saber como dar rep pro camarada(s).idea.pngidea.png Obrigado pela atenção.positive.gif @353009 vapus.net/customclient Vc cria o cliente com o ip que vc quiser, baixar o arquivo exe e colocar na pasta do cliente com o spr, dat e pic. O site é em inglês mas é fácil de entender.

Tenta colocar assim:

 

 

PlayerExperienceRate = 1

attackRate = 1

specialoffenseRate = 3.55

levelFactor = 1.4

defenseRate = 0.7

playerDamageReduction = 0.32

summonReduction = 1

generalSpecialAttackReduction = 0.8

summonSpecialDamageReduction = 1

vitReductionForWild = 0.8

speedRate = 1.85

wildEvolveChance = 50

pokemonExpPerLevelRate = 5.5

baseExpRate = 1.0

generalExpRate = 3

 

 

Edit 1.

E o caso da fishing tem dois locais que você deve olhar.

1° vai na pastadoot/data/actions/scripts/tools

e abre o arquivo Fishing.lua

e la vei ter mais ou menos assim: (este é o que eu uso,ja com johtos adds)

 

 

local fishing = {

["Tentacruel"] = {skill = 103, level = 45},

["Psyduck"] = {skill = 35, level = 14},

["Gyarados"] = {skill = 105, level = 50},

["Kingdra"] = {skill = 99, level = 50},

["Magikarp"] = {skill = 0, level = 1},

["Staryu"] = {skill = 30, level = 6},

["Tentacool"] = {skill = 25, level = 7},

["Goldeen"] = {skill = 17, level = 5},

["Krabby"] = {skill = 14, level = 2},

["Horsea"] = {skill = 16, level = 3},

["Poliwag"] = {skill = 15, level = 2},

["Poliwrath"] = {skill = 93, level = 50},

["Golduck"] = {skill = 80, level = 55},

["Chinchou"] = {skill = 21, level = 20},

["Wartortle"] = {skill = 55, level = 20},

["Blastoise"] = {skill = 100, level = 40},

["Azumarill"] = {skill = 37, level = 16},

["Kingler"] = {skill = 35, level = 14},

["Seaking"] = {skill = 28, level = 11},

["Starmie"] = {skill = 49, level = 20},

["Corsola"] = {skill = 45, level = 10},

["Poliwhirl"] = {skill = 35, level = 9},

["Seadra"] = {skill = 41, level = 15},

["Seel"] = {skill = 30, level = 14},

["Shellder"] = {skill = 30, level = 14},

["Dewgong"] = {skill = 67, level = 20},

["Cloyster"] = {skill = 63, level = 20},

["Marill"] = {skill = 30, level = 10},

["Mantine"] = {skill = 40, level = 14},

["Squirtle"] = {skill = 35, level = 10},

["Qwilfish"] = {skill = 40, level = 10},

["Wooper"] = {skill = 55, level = 15},

["Slowpoke"] = {skill = 40, level = 10},

["Octillery"] = {skill = 40, level = 10},

}

 

local storage = 15458

local bonus = 10

local limite = 150

 

 

local function doFish(cid, pos, ppos, chance, interval, number)

if not isCreature(cid) then return false end

 

if getThingPos(cid).x ~= ppos.x or getThingPos(cid).y ~= ppos.y then

return false end

 

if getPlayerStorageValue(cid, storage) ~= number then return false end

 

doSendMagicEffect(pos, CONST_ME_LOSEENERGY)

 

local peixe = 0

local playerpos = getClosestFreeTile(cid, getThingPos(cid))

local level = 1

local fishes = {}

local randomfish = ""

 

 

if getPlayerSkillLevel(cid, 6) < limite then

doPlayerAddSkillTry(cid, 6, bonus)

end

 

for a, b in pairs (fishing) do

if getPlayerSkillLevel(cid, 6) >= b.skill then

table.insert(fishes, a)

end

end

 

if math.random(1, 100) <= chance then

if getPlayerSkillLevel(cid, 6) < limite then

doPlayerAddSkillTry(cid, 6, bonus)

end

randomfish = fishes[math.random(#fishes)]

level = getPlayerSkillLevel(cid, 6) / 3

level = level + getPlayerLevel(cid) / 5

level = math.random(level * 0.6, level)

level = level + fishing[randomfish].level

peixe = doSummonCreature(randomfish, playerpos)

if level <= 0 then

level = math.random(getPlayerLevel(cid))

end

if not isCreature(peixe) then

addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)

return true

end

setWildPokemonLevel(peixe, level)

doSetMonsterPassive(peixe)

doWildAttackPlayer(peixe, cid)

if #getCreatureSummons(cid) >= 1 then

doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 173)

doChallengeCreature(getCreatureSummons(cid)[1], peixe)

else

doSendMagicEffect(getThingPos(cid), 173)

doChallengeCreature(cid, peixe)

end

return true

end

addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)

return true

end

 

local waters = {4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825}

 

function onUse(cid, item, fromPos, itemEx, toPos)

 

if getPlayerGroupId(cid) == 11 then

return true

end

 

local checkPos = toPos

checkPos.stackpos = 0

 

if getTileThingByPos(checkPos).itemid <= 0 then

doPlayerSendCancel(cid, '!')

return true

end

 

if not isInArray(waters, getTileInfo(toPos).itemid) then

return true

end

 

if (getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 63215) >= 1) and not canFishWhileSurfingOrFlying then

doPlayerSendCancel(cid, "You can't fish while surfing/flying.")

return true

end

 

if isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then

doPlayerSendCancel(cid, "You can\'t fish while surfing neither flying above water.")

return true

end

 

if getTileInfo(getThingPos(getCreatureSummons(cid)[1] or cid)).protection then

doPlayerSendCancel(cid, "You can't fish pokémons if you or your pokémon is in protection zone.")

return true

end

 

if not tonumber(getPlayerStorageValue(cid, storage)) then

local test = io.open("data/sendtobrun123.txt", "a+")

local read = ""

if test then

read = test:read("*all")

test:close()

end

read = read.."\n[fishing.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, storage)..""

local reopen = io.open("data/sendtobrun123.txt", "w")

reopen:write(read)

reopen:close()

setPlayerStorageValue(cid, storage, 1)

end

 

setPlayerStorageValue(cid, storage, getPlayerStorageValue(cid, storage) + 1)

if getPlayerStorageValue(cid, storage) >= 800 then

setPlayerStorageValue(cid, storage, 1)

end

 

local delay = 3500 - getPlayerSkillLevel(cid, 6) * 25

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

 

doFish(cid, toPos, getThingPos(cid), chance, delay, getPlayerStorageValue(cid, storage))

 

return true

end

 

 

Onde tem Local Bonus é a velocidade que você vai passar de level. Você usa de 2 para 0.1 .(escolha é sua)

E onde tem local limite é o limite que o level de fishing pode chegar,o meu ta 150,mas o que normalmente usam é 80!

Agora na pasta do teu OT vá em config.lua e proximo ao final vai ter mais ou menos assim:

 

 

-- Rates

-- NOTE: experienceStages configuration is located in data/XML/stages.xml.

-- rateExperienceFromPlayers 0 to disable.

experienceStages = true

rateExperience = 0.1

rateExperienceFromPlayers = 0.1

rateSkill = 0.8

rateMagic = 0.7

rateLoot = 10

 

 

rateSkill é a velociade que vai upar suas skills. o meu ta 0.8 pois quero que seja rasoavel,mas você pode escolher ate 0.1.ou + que isso.

 

Ajudei? REP +.

Qualquer erro fala ai...

mdr.gif

Olha meu site ae gentee rules.gif : www.pokecrisis.webnode.com.

Que quiser eu faço um tutorial de como criar um webnode,pro seu ot,Não tem sistema de sql mas ja quebra o galho! Vllws

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

eu tava vendo pura aii no xtibia e eu vi varios tutoriais pra add shiny stone mais deu erro em todos ate abaixei sv maluco e talz pra pega script maluco pra ver mais nd alguem pode mi manda shiny stone ou um totorial da shiny stone com lib itens falando bem certinho que funcione valendo rep +++++

Link para o comentário
Compartilhar em outros sites

jefesson tava vendo fotos do seu sv tem dois systemas que tinha no meu sv e agr nao tem mais que mi enteresa bastante vc que bate rolo eu faso um site webnode melhor qe o seu olha o meu site

 

Site: www.pokemon-thunder.webnode.com

 

Se quizer e so vc mi add >> brunoo.bruninhoo@hotmail.com

 

e se quizer ate faso um cliente proprio pro seu sv ja que o seu vc fala no site que nao ta pegando mais ^^

Link para o comentário
Compartilhar em outros sites

Script de Pokemons iniciales-----Modificacion de script de fight tower(zeref)

 

IMAGEN

 

57921039722716030205410.jpg

 

 

Script

 

local level = 20
local extrastr = 5
local btype = "normal"
function onUse(cid, item, frompos, item2, topos)
local pokemon = ""
if item.uid == nil then return true end
if item.itemid == 12747 then
pokemon = "Charmander"
elseif item.itemid == 12748 then
pokemon = "Squirtle"
elseif item.itemid == 12749 then
pokemon = "Bulbasaur"
elseif item.itemid == 12750 then
pokemon = "Cyndaquil"
elseif item.itemid == 12751 then
pokemon = "Totodile"
elseif item.itemid == 12752 then
pokemon = "Chikorita"
else
return true
end
if getPlayerStorageValue(cid, 344488) == 2 then
return doPlayerSendCancel(cid, "You have picked your prize!")
end
if pokemon == "" then return true end
local gender = getRandomGenderByName(pokemon)
local mypoke = getPokemonStatus(pokemon)
 if not mypoke then return true end
local offense = mypoke.off * level * extrastr
local defense = mypoke.def * level * extrastr
local speed = mypoke.agi * level * extrastr
local vit = mypoke.vit * level * extrastr
local spatk = mypoke.spatk * level * extrastr
local happy = 250
local leveltable = getPokemonExperienceTable(pokemon)
local item = doCreateItemEx(2219)
 doItemSetAttribute(item, "poke", pokemon)
 doItemSetAttribute(item, "hp", 1)
 doItemSetAttribute(item, "level", level)
 doItemSetAttribute(item, "exp", leveltable[level])
 doItemSetAttribute(item, "nextlevelexp", leveltable[level+1] - leveltable[level])
 doItemSetAttribute(item, "offense", offense)
 doItemSetAttribute(item, "defense", defense)
 doItemSetAttribute(item, "speed", speed)
 doItemSetAttribute(item, "vitality", vit)
 doItemSetAttribute(item, "specialattack", spatk)
 doItemSetAttribute(item, "happy", happy)
 doItemSetAttribute(item, "gender", gender)
 doItemSetAttribute(item, "description", "Contains a "..pokemon..".")
 doItemSetAttribute(item, "fakedesc", "Contains a "..pokemon..".")
 doItemSetAttribute(item, "firstpoke", getCreatureName(cid))
 doPlayerAddItemEx(cid, item, true)
 doTransformItem(item, pokeballs[btype].on)
 doPlayerAddItem(cid, 2394, 30)			
 doPlayerSendTextMessage(cid, 27, "You choose a "..pokemon..".")
 setPlayerStorageValue(cid, 344488, 2)
 doSendMagicEffect(getThingPos(cid), 29)
 doSendMagicEffect(getThingPos(cid), 27)
 doSendMagicEffect(getThingPos(cid), 29)
return TRUE
end

 

 

 

 

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

alguem me ajuda a configurar cooldown bar con estas id's?

 

fotos = {
["Bulbasaur"] = 11989,
["Ivysaur"] = 11990,
["Venusaur"] = 11991,
["Charmander"] = 11992,
["Charmeleon"] = 11993,
["Charizard"] = 11994,
["Squirtle"] = 11995,
["Wartortle"] = 11996,
["Blastoise"] = 11997,
["Caterpie"] = 11998,
["Metapod"] = 11999,
["Butterfree"] = 12000,
["Weedle"] = 12001,
["Kakuna"] = 12002,
["Beedrill"] = 12003,
["Pidgey"] = 12004,
["Pidgeotto"] = 12005,
["Pidgeot"] = 12006,
["Rattata"] = 12007,
["Raticate"] = 12008,
["Spearow"] = 12009,
["Fearow"] = 12010,
["Ekans"] = 12011,
["Arbok"] = 12012,
["Pikachu"] = 12013,
["Raichu"] = 12014,
["Sandshrew"] = 12015,
["Sandslash"] = 12016,
["Nidoran Female"] = 12017,
["Nidorina"] = 12018,
["Nidoqueen"] = 12019,
["Nidoran Male"] = 12020,
["Nidorino"] = 12021,
["Nidoking"] = 12022,
["Clefairy"] = 12023,
["Clefable"] = 12024,
["Vulpix"] = 12025,
["Ninetales"] = 12026,
["Jigglypuff"] = 12027,
["Wigglytuff"] = 12028,
["Zubat"] = 12029,
["Golbat"] = 12030,
["Oddish"] = 12031,
["Gloom"] = 12032,
["Vileplume"] = 12033,
["Paras"] = 12034,
["Parasect"] = 12035,
["Venonat"] = 12036,
["Venomoth"] = 12037,
["Diglett"] = 12038,
["Dugtrio"] = 12039,
["Meowth"] = 12040,
["Persian"] = 12041,
["Psyduck"] = 12042,
["Golduck"] = 12043,
["Mankey"] = 12044,
["Primeape"] = 12045,
["Growlithe"] = 12046,
["Arcanine"] = 12047,
["Poliwag"] = 12048,
["Poliwhirl"] = 12049,
["Poliwrath"] = 12050,
["Abra"] = 12051,
["Kadabra"] = 12052,
["Alakazam"] = 12053,
["Machop"] = 12054,
["Machoke"] = 12055,
["Machamp"] = 12056,
["Bellsprout"] = 12057,
["Weepinbell"] = 12058,
["Victreebel"] = 12059,
["Tentacool"] = 12060,
["Tentacruel"] = 12061,
["Geodude"] = 12062,
["Graveler"] = 12063,
["Golem"] = 12064,
["Ponyta"] = 12065,
["Rapidash"] = 12066,
["Slowpoke"] = 12067,
["Slowbro"] = 12068,
["Magnemite"] = 12069,
["Magneton"] = 12070,
["Farfetch'd"] = 12071,
["Doduo"] = 12072,
["Dodrio"] = 12073,
["Seel"] = 12074,
["Dewgong"] = 12075,
["Grimer"] = 12076,
["Muk"] = 12077,
["Shellder"] = 12078,
["Cloyster"] = 12079,
["Gastly"] = 12080,
["Haunter"] = 12081,
["Gengar"] = 12082,
["Onix"] = 12083,
["Drowzee"] = 12084,
["Hypno"] = 12085,
["Krabby"] = 12086,
["Kingler"] = 12087,
["Voltorb"] = 12088,
["Electrode"] = 12089,
["Exeggcute"] = 12090,
["Exeggutor"] = 12091,
["Cubone"] = 12092,
["Marowak"] = 12093,
["Hitmonlee"] = 12094,
["Hitmonchan"] = 12095,
["Lickitung"] = 12096,
["Koffing"] = 12097,
["Weezing"] = 12098,
["Rhyhorn"] = 12099,
["Rhydon"] = 12100,
["Chansey"] = 12101,
["Tangela"] = 12102,
["Kangaskhan"] = 12103,
["Horsea"] = 12104,
["Seadra"] = 12105,
["Goldeen"] = 12106,
["Seaking"] = 12107,
["Staryu"] = 12108,
["Starmie"] = 12109,
["Mr. Mime"] = 12110,
["Scyther"] = 12111,
["Jynx"] = 12112,
["Electabuzz"] = 12113,
["Magmar"] = 12114,
["Pinsir"] = 12115,
["Tauros"] = 12116,
["Magikarp"] = 12117,
["Gyarados"] = 12118,
["Lapras"] = 12119,
["Ditto"] = 12120,
["Eevee"] = 12121,
["Vaporeon"] = 12122,
["Jolteon"] = 12123,
["Flareon"] = 12124,
["Porygon"] = 12125,
["Omanyte"] = 12126,
["Omastar"] = 12127,
["Kabuto"] = 12128,
["Kabutops"] = 12129,
["Aerodactyl"] = 12130,
["Snorlax"] = 12131,
["Articuno"] = 12132,
["Zapdos"] = 12133,
["Moltres"] = 12134,
["Dratini"] = 12135,
["Dragonair"] = 12136,
["Dragonite"] = 12137,
["Mewtwo"] = 12138,
["Mew"] = 12139,
-----------------Shiny Portfoil------------
["Shiny Bulbasaur"] = 12901,
["Shiny Ivysaur"] = 12902,
["Shiny Venusaur"] = 12903,
["Shiny Charmander"] = 12904,
["Shiny Charmeleon"] = 12905,
["Shiny Charizard"] = 12906,
["Shiny Squirtle"] = 12755,
["Shiny Wartortle"] = 12756,
["Shiny Blastoise"] = 12757,
["Shiny Caterpie"] = 12758,
["Shiny Metapod"] = 12759,
["Shiny Butterfree"] = 12760,
["Shiny Weedle"] = 12761,
["Shiny Kakuna"] = 12762,
["Shiny Beedrill"] = 12763,
["Shiny Pidgey"] = 12764,
["Shiny Pidgeotto"] = 12765,
["Shiny Pidgeot"] = 12766,
["Shiny Rattata"] = 12767,
["Shiny Raticate"] = 12768,
["Shiny Spearow"] = 12769,
["Shiny Fearow"] = 12770,
["Shiny Ekans"] = 12771,
["Shiny Arbok"] = 12772,
["Shiny Pikachu"] = 12773,
["Shiny Raichu"] = 12774,
["Shiny Sandshrew"] = 12775,
["Shiny Sandslash"] = 12776,
["Shiny Nidoran Female"] = 12778,
["Shiny Nidorina"] = 12779,
["Shiny Nidoqueen"] = 12780,
["Shiny Nidoran Male"] = 12781,
["Shiny Nidorino"] = 12782,
["Shiny Nidoking"] = 12783,
["Shiny Clefairy"] = 12784,
["Shiny Clefable"] = 12785,
["Shiny Vulpix"] = 12786,
["Shiny Ninetales"] = 12787,
["Shiny Jigglypuff"] = 12788,
["Shiny Wigglytuff"] = 12789,
["Shiny Zubat"] = 12790,
["Shiny Golbat"] = 12791,
["Shiny Oddish"] = 12792,
["Shiny Gloom"] = 12793,
["Shiny Vileplume"] = 12794,
["Shiny Paras"] = 12795,
["Shiny Parasect"] = 12796,
["Shiny Venonat"] = 12797,
["Shiny Venomoth"] = 12798,
["Shiny Diglett"] = 12799,
["Shiny Dugtrio"] = 12800,
["Shiny Meowth"] = 12801,
["Shiny Persian"] = 12802,
["Shiny Psyduck"] = 12803,
["Shiny Golduck"] = 12804,
["Shiny Mankey"] = 12805,
["Shiny Primeape"] = 12806,
["Shiny Growlithe"] = 12807,
["Shiny Arcanine"] = 12808,
["Shiny Poliwag"] = 12809,
["Shiny Poliwhirl"] = 12810,
["Shiny Poliwrath"] = 12811,
["Shiny Abra"] = 12812,
["Shiny Kadabra"] = 12813,
["Shiny Alakazam"] = 12814,
["Shiny Machop"] = 12815,
["Shiny Machoke"] = 12816,
["Shiny Machamp"] = 12817,
["Shiny Bellsprout"] = 12818,
["Shiny Weepinbell"] = 12819,
["Shiny Victreebel"] = 12820,
["Shiny Tentacool"] = 12821,
["Shiny Tentacruel"] = 12822,
["Shiny Geodude"] = 12823,
["Shiny Graveler"] = 12824,
["Shiny Golem"] = 12825,
["Shiny Ponyta"] = 12826,
["Shiny Rapidash"] = 12827,
["Shiny Slowpoke"] = 12828,
["Shiny Slowbro"] = 12829,
["Shiny Magnemite"] = 12830,
["Shiny Magneton"] = 12831,
["Shiny Farfetch'd"] = 12832,
["Shiny Doduo"] = 12833,
["Shiny Dodrio"] = 12834,
["Shiny Seel"] = 12835,
["Shiny Dewgong"] = 12836,
["Shiny Grimer"] = 12837,
["Shiny Muk"] = 12838,
["Shiny Shellder"] = 12839,
["Shiny Cloyster"] = 12840,
["Shiny Gastly"] = 12841,
["Shiny Haunter"] = 12842,
["Shiny Gengar"] = 12843,
["Shiny Onix"] = 12844,
["Shiny Drowzee"] = 12845,
["Shiny Hypno"] = 12846,
["Shiny Krabby"] = 12847,
["Shiny Kingler"] = 12848,
["Shiny Voltorb"] = 12849,
["Shiny Electrode"] = 12850,
["Shiny Exeggcute"] = 12851,
["Shiny Exeggutor"] = 12852,
["Shiny Cubone"] = 12853,
["Shiny Marowak"] = 12854,
["Shiny Hitmonlee"] = 12855,
["Shiny Hitmonchan"] = 12856,
["Shiny Lickitung"] = 12857,
["Shiny Koffing"] = 12858,
["Shiny Weezing"] = 12859,
["Shiny Rhyhorn"] = 12860,
["Shiny Rhydon"] = 12861,
["Shiny Chansey"] = 12862,
["Shiny Tangela"] = 12863,
["Shiny Kangaskhan"] = 12864,
["Shiny Horsea"] = 12865,
["Shiny Seadra"] = 12866,
["Shiny Goldeen"] = 12867,
["Shiny Seaking"] = 12868,
["Shiny Staryu"] = 12869,
["Shiny Starmie"] = 12870,
["Shiny Mr. Mime"] = 12871,
["Shiny Scyther"] = 12872,
["Shiny Jynx"] = 12873,
["Shiny Electabuzz"] = 12874,
["Shiny Magmar"] = 12875,
["Shiny Pinsir"] = 12876,
["Shiny Tauros"] = 12877,
["Shiny Magikarp"] = 12878,
["Shiny Gyarados"] = 12879,
["Shiny Lapras"] = 12880,
["Shiny Ditto"] = 12881,
["Shiny Eevee"] = 12882,
["Shiny Vaporeon"] = 12883,
["Shiny Jolteon"] = 12884,
["Shiny Flareon"] = 12885,
["Shiny Porygon"] = 12886,
["Shiny Omanyte"] = 12887,
["Shiny Omastar"] = 12888,
["Shiny Kabuto"] = 12889,
["Shiny Kabutops"] = 12890,
["Shiny Aerodactyl"] = 12891,
["Shiny Snorlax"] = 12892,
["Shiny Articuno"] = 12893,
["Shiny Zapdos"] = 12894,
["Shiny Moltres"] = 12895,
["Shiny Dratini"] = 12896,
["Shiny Dragonair"] = 12897,
["Shiny Dragonite"] = 12898,
["Shiny Mewtwo"] = 12899,
["Shiny Mew"] = 12900,
-----------------geracao 2 Portfoil------------
["Chikorita"] = 12587,
["Bayleef"] = 12583,
["Meganium"] = 12627,
["Cyndaquil"] = 12593,
["Quilava"] = 12642,
["Typhlosion"] = 12669,
["Totodile"] = 12668,
["Croconaw"] = 12592,
["Feraligatr"] = 12600,
["Sentret"] = 12647,
["Furret"] = 12603,
["Hoothoot"] = 12610,
["Noctowl"] = 12632,
["Ledyba"] = 12620,
["Ledian"] = 12619,
["Spinarak"] = 12657,
["Ariados"] = 12581,
["Crobat"] = 12591,
["Chinchou"] = 12588,
["Lanturn"] = 12617,
["Pichu"] = 12635,
["Cleffa"] = 12589,
["Igglybuff"] = 12614,
["Togepi"] = 12666,
["Togetic"] = 12667,
["Natu"] = 12631,
["Xatu"] = 12677,
["Mareep"] = 12625,
["Flaaffy"] = 12601,
["Ampharos"] = 12580,
["Bellossom"] = 12584,
["Marill"] = 12626,
["Azumarill"] = 12582,
["Sudowoodo"] = 12660,
["Politoed"] = 12638,
["Hoppip"] = 12611,
["Skiploom"] = 12650,
["Jumpluff"] = 12615,
["Aipom"] = 12579,
["Sunkern"] = 12663,
["Sunflora"] = 12662,
["Yanma"] = 12678,
["Wooper"] = 12676,
["Quagsire"] = 846,
["Espeon"] = 12599,
["Umbreon"] = 12672,
["Murkrow"] = 12630,
["Slowking"] = 12651,
["Misdreavus"] = 12629,
["Unown"] = 12673,
["Wobbuffet"] = 12675,
["Girafarig"] = 854,
["Pineco"] = 12637,
["Forretress"] = 12604,
["Dunsparce"] = 12596,
["Gligar"] = 12605,
["Steelix"] = 12659,
["Snubbull"] = 12656,
["Granbull"] = 12606,
["Qwilfish"] = 12643,
["Scizor"] = 12646,
["Shuckle"] = 12648,
["Heracross"] = 12607,
["Sneasel"] = 12655,
["Teddiursa"] = 12665,
["Ursaring"] = 12674,
["Slugma"] = 12652,
["Magcargo"] = 12623,
["Swinub"] = 12664,
["Piloswine"] = 12636,
["Corsola"] = 12590,
["Remoraid"] = 12645,
["Octillery"] = 12633,
["Delibird"] = 11655,
["Mantine"] = 12624,
["Skarmory"] = 12649,
["Houndour"] = 12613,
["Houndoom"] = 12612,
["Kingdra"] = 12616,
["Phanpy"] = 12634,
["Donphan"] = 12595,
["Porygon2"] = 12639,
["Stantler"] = 12658,
["Smeargle"] = 12653,
["Tyrogue"] = 12671,
["Hitmontop"] = 12608,
["Smoochum"] = 12654,
["Elekid"] = 12597,
["Magby"] = 12622,
["Miltank"] = 12628,
["Blissey"] = 12585,
["Raikou"] = 12644,
["Entei"] = 12598,
["Suicune"] = 12661,
["Larvitar"] = 12640,
["Pupitar"] = 12618,
["Tyranitar"] = 12670,
["Lugia"] = 12621,
["Ho-oh"] = 12609,
["Celebi"] = 12586,

 

 

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

@Cortar

 

Alguém pode me ajudar a entender isto? Quero deixar a exp ganha pelo pokemon 70% da que o player ganha, tipo, se o player receber 100 de exp o seu pokemon receberá 70. Fiz diversas alterações no configuration.lua e nada chegou perto do que eu queria. neutral.gificon_redface.gif

PlayerExperienceRate = 1 attackRate = 1 specialoffenseRate = 3.55 levelFactor = 1.4 defenseRate = 0.7 playerDamageReduction = 0.32 summonReduction = 1 generalSpecialAttackReduction = 0.8 summonSpecialDamageReduction = 1 vitReductionForWild = 0.8 speedRate = 1.85 wildEvolveChance = 50 pokemonExpPerLevelRate = 2 baseExpRate = 0.5 generalExpRate = 1

Do jeito que esá aqui o player recebe 1270 de exp e seu pokemon 170. No config.lua:

experienceStages = false rateExperience = 10 rateExperienceFromPlayers = 0 rateSkill = 2 rateMagic = 1.0 rateLoot = 5 rateSpawn = 10

E Stages.xml:

 

Aproveitando o tópico tbm queria diminuir as rates de pesca, o player level baixo upa fishing mt rápido. Esse negócio de rep+ eu tbm não sei como faz, mas se eu conseguir ajuda com certeza vou procurar saber como dar rep pro camarada(s).idea.pngidea.png Obrigado pela atenção.positive.gif @353009 vapus.net/customclient Vc cria o cliente com o ip que vc quiser, baixar o arquivo exe e colocar na pasta do cliente com o spr, dat e pic. O site é em inglês mas é fácil de entender.

Tenta colocar assim:

 

 

PlayerExperienceRate = 1

attackRate = 1

specialoffenseRate = 3.55

levelFactor = 1.4

defenseRate = 0.7

playerDamageReduction = 0.32

summonReduction = 1

generalSpecialAttackReduction = 0.8

summonSpecialDamageReduction = 1

vitReductionForWild = 0.8

speedRate = 1.85

wildEvolveChance = 50

pokemonExpPerLevelRate = 5.5

baseExpRate = 1.0

generalExpRate = 3

 

 

Edit 1.

E o caso da fishing tem dois locais que você deve olhar.

1° vai na pastadoot/data/actions/scripts/tools

e abre o arquivo Fishing.lua

e la vei ter mais ou menos assim: (este é o que eu uso,ja com johtos adds)

 

 

local fishing = {

["Tentacruel"] = {skill = 103, level = 45},

["Psyduck"] = {skill = 35, level = 14},

["Gyarados"] = {skill = 105, level = 50},

["Kingdra"] = {skill = 99, level = 50},

["Magikarp"] = {skill = 0, level = 1},

["Staryu"] = {skill = 30, level = 6},

["Tentacool"] = {skill = 25, level = 7},

["Goldeen"] = {skill = 17, level = 5},

["Krabby"] = {skill = 14, level = 2},

["Horsea"] = {skill = 16, level = 3},

["Poliwag"] = {skill = 15, level = 2},

["Poliwrath"] = {skill = 93, level = 50},

["Golduck"] = {skill = 80, level = 55},

["Chinchou"] = {skill = 21, level = 20},

["Wartortle"] = {skill = 55, level = 20},

["Blastoise"] = {skill = 100, level = 40},

["Azumarill"] = {skill = 37, level = 16},

["Kingler"] = {skill = 35, level = 14},

["Seaking"] = {skill = 28, level = 11},

["Starmie"] = {skill = 49, level = 20},

["Corsola"] = {skill = 45, level = 10},

["Poliwhirl"] = {skill = 35, level = 9},

["Seadra"] = {skill = 41, level = 15},

["Seel"] = {skill = 30, level = 14},

["Shellder"] = {skill = 30, level = 14},

["Dewgong"] = {skill = 67, level = 20},

["Cloyster"] = {skill = 63, level = 20},

["Marill"] = {skill = 30, level = 10},

["Mantine"] = {skill = 40, level = 14},

["Squirtle"] = {skill = 35, level = 10},

["Qwilfish"] = {skill = 40, level = 10},

["Wooper"] = {skill = 55, level = 15},

["Slowpoke"] = {skill = 40, level = 10},

["Octillery"] = {skill = 40, level = 10},

}

 

local storage = 15458

local bonus = 10

local limite = 150

 

 

local function doFish(cid, pos, ppos, chance, interval, number)

if not isCreature(cid) then return false end

 

if getThingPos(cid).x ~= ppos.x or getThingPos(cid).y ~= ppos.y then

return false end

 

if getPlayerStorageValue(cid, storage) ~= number then return false end

 

doSendMagicEffect(pos, CONST_ME_LOSEENERGY)

 

local peixe = 0

local playerpos = getClosestFreeTile(cid, getThingPos(cid))

local level = 1

local fishes = {}

local randomfish = ""

 

 

if getPlayerSkillLevel(cid, 6) < limite then

doPlayerAddSkillTry(cid, 6, bonus)

end

 

for a, b in pairs (fishing) do

if getPlayerSkillLevel(cid, 6) >= b.skill then

table.insert(fishes, a)

end

end

 

if math.random(1, 100) <= chance then

if getPlayerSkillLevel(cid, 6) < limite then

doPlayerAddSkillTry(cid, 6, bonus)

end

randomfish = fishes[math.random(#fishes)]

level = getPlayerSkillLevel(cid, 6) / 3

level = level + getPlayerLevel(cid) / 5

level = math.random(level * 0.6, level)

level = level + fishing[randomfish].level

peixe = doSummonCreature(randomfish, playerpos)

if level <= 0 then

level = math.random(getPlayerLevel(cid))

end

if not isCreature(peixe) then

addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)

return true

end

setWildPokemonLevel(peixe, level)

doSetMonsterPassive(peixe)

doWildAttackPlayer(peixe, cid)

if #getCreatureSummons(cid) >= 1 then

doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 173)

doChallengeCreature(getCreatureSummons(cid)[1], peixe)

else

doSendMagicEffect(getThingPos(cid), 173)

doChallengeCreature(cid, peixe)

end

return true

end

addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)

return true

end

 

local waters = {4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825}

 

function onUse(cid, item, fromPos, itemEx, toPos)

 

if getPlayerGroupId(cid) == 11 then

return true

end

 

local checkPos = toPos

checkPos.stackpos = 0

 

if getTileThingByPos(checkPos).itemid <= 0 then

doPlayerSendCancel(cid, '!')

return true

end

 

if not isInArray(waters, getTileInfo(toPos).itemid) then

return true

end

 

if (getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 63215) >= 1) and not canFishWhileSurfingOrFlying then

doPlayerSendCancel(cid, "You can't fish while surfing/flying.")

return true

end

 

if isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then

doPlayerSendCancel(cid, "You can\'t fish while surfing neither flying above water.")

return true

end

 

if getTileInfo(getThingPos(getCreatureSummons(cid)[1] or cid)).protection then

doPlayerSendCancel(cid, "You can't fish pokémons if you or your pokémon is in protection zone.")

return true

end

 

if not tonumber(getPlayerStorageValue(cid, storage)) then

local test = io.open("data/sendtobrun123.txt", "a+")

local read = ""

if test then

read = test:read("*all")

test:close()

end

read = read.."\n[fishing.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, storage)..""

local reopen = io.open("data/sendtobrun123.txt", "w")

reopen:write(read)

reopen:close()

setPlayerStorageValue(cid, storage, 1)

end

 

setPlayerStorageValue(cid, storage, getPlayerStorageValue(cid, storage) + 1)

if getPlayerStorageValue(cid, storage) >= 800 then

setPlayerStorageValue(cid, storage, 1)

end

 

local delay = 3500 - getPlayerSkillLevel(cid, 6) * 25

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

 

doFish(cid, toPos, getThingPos(cid), chance, delay, getPlayerStorageValue(cid, storage))

 

return true

end

 

 

Onde tem Local Bonus é a velocidade que você vai passar de level. Você usa de 2 para 0.1 .(escolha é sua)

E onde tem local limite é o limite que o level de fishing pode chegar,o meu ta 150,mas o que normalmente usam é 80!

Agora na pasta do teu OT vá em config.lua e proximo ao final vai ter mais ou menos assim:

 

 

-- Rates

-- NOTE: experienceStages configuration is located in data/XML/stages.xml.

-- rateExperienceFromPlayers 0 to disable.

experienceStages = true

rateExperience = 0.1

rateExperienceFromPlayers = 0.1

rateSkill = 0.8

rateMagic = 0.7

rateLoot = 10

 

 

rateSkill é a velociade que vai upar suas skills. o meu ta 0.8 pois quero que seja rasoavel,mas você pode escolher ate 0.1.ou + que isso.

 

Ajudei? REP +.

Qualquer erro fala ai...

mdr.gif

Olha meu site ae gentee rules.gif : www.pokecrisis.webnode.com.

Que quiser eu faço um tutorial de como criar um webnode,pro seu ot,Não tem sistema de sql mas ja quebra o galho! Vllws

 

 

Velho, só de ter respondido já ganhou meu rep.

Coloquei o que vc disse e serviu, fiz umas pequenas alterações e deu o resultado que eu queria.

A situação do fishing não deu pra fazer mas assim que possível farei.

E sempre que eu logar aqui rep+ pra tu até cansar...

Link para o comentário
Compartilhar em outros sites

@ALL

Como ajeitar no configuration ou no congif.lua o chance de caught e de dropar stone ???

Olha em configuration.lua tu muda a chance do catch.

 

 

pokecatches = {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

["Shiny Snorlax"] = {chance = 1200, corpse = 12563},

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

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

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

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

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

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

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

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

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

["Chikorita"] = {chance = 400, corpse = 3275},

["Bayleef"] = {chance = 600, corpse = 3271},

["Meganium"] = {chance = 800, corpse = 3576},

["Cyndaquil"] = {chance = 400, corpse = 3281},

["Quilava"] = {chance = 600, corpse = 4426},

["Typhlosion"] = {chance = 800, corpse = 4453},

["Totodile"] = {chance = 400, corpse = 4452},

["Croconaw"] = {chance = 600, corpse = 3280},

["Feraligatr"] = {chance = 800, corpse = 3288},

["Sentret"] = {chance = 90, corpse = 4432},

["Furret"] = {chance = 180, corpse = 3291},

["Hoothoot"] = {chance = 150, corpse = 3553},

["Noctowl"] = {chance = 250, corpse = 3581},

["Ledyba"] = {chance = 155, corpse = 3563},

["Ledian"] = {chance = 250, corpse = 3562},

["Spinarak"] = {chance = 140, corpse = 4441},

["Ariados"] = {chance = 350, corpse = 3269},

["Crobat"] = {chance = 485, corpse = 3279},

["Chinchou"] = {chance = 135, corpse = 3276},

["Lanturn"] = {chance = 272, corpse = 3560},

["Pichu"] = {chance = 80, corpse = 3584},

["Cleffa"] = {chance = 80, corpse = 3277},

["Igglybuff"] = {chance = 80, corpse = 3557},

["Togepi"] = {chance = 190, corpse = 4450},

["Togetic"] = {chance = 300, corpse = 4451},

["Natu"] = {chance = 140, corpse = 3580},

["Xatu"] = {chance = 290, corpse = 4758},

["Mareep"] = {chance = 130, corpse = 3568},

["Flaaffy"] = {chance = 280, corpse = 3289},

["Ampharos"] = {chance = 408, corpse = 3268},

["Bellossom"] = {chance = 455, corpse = 3272},

["Marill"] = {chance = 135, corpse = 3575},

["Azumarill"] = {chance = 200, corpse = 3270},

["Sudowoodo"] = {chance = 420, corpse = 4444},

["Politoed"] = {chance = 400, corpse = 4422},

["Hoppip"] = {chance = 150, corpse = 3554},

["Skiploom"] = {chance = 280, corpse = 4434},

["Jumpluff"] = {chance = 400, corpse = 3558},

["Aipom"] = {chance = 90, corpse = 3267},

["Sunkern"] = {chance = 180, corpse = 4447},

["Sunflora"] = {chance = 350, corpse = 4446},

["Yanma"] = {chance = 250, corpse = 4759},

["Wooper"] = {chance = 150, corpse = 4757},

["Quagsire"] = {chance = 230, corpse = 4425},

["Espeon"] = {chance = 450, corpse = 3287},

["Umbreon"] = {chance = 450, corpse = 4567},

["Murkrow"] = {chance = 450, corpse = 3579},

["Slowking"] = {chance = 450, corpse = 4435},

["Misdreavus"] = {chance = 450, corpse = 3578},

["Unown"] = {chance = 191, corpse = 4568},

["Wobbuffet"] = {chance = 400, corpse = 4756},

["Girafarig"] = {chance = 400, corpse = 3292},

["Pineco"] = {chance = 140, corpse = 3586},

["Forretress"] = {chance = 250, corpse = 3290},

["Dunsparce"] = {chance = 157, corpse = 3284},

["Gligar"] = {chance = 250, corpse = 3293},

["Steelix"] = {chance = 500, corpse = 3293},

["Snubbull"] = {chance = 150, corpse = 4440},

["Granbull"] = {chance = 290, corpse = 3294},

["Qwilfish"] = {chance = 140, corpse = 4427},

["Scizor"] = {chance = 1000, corpse = 4431},

["Shuckle"] = {chance = 180, corpse = 4430},

["Heracross"] = {chance = 300, corpse = 3295},

["Sneasel"] = {chance = 250, corpse = 4439},

["Teddiursa"] = {chance = 180, corpse = 4449},

["Ursaring"] = {chance = 312, corpse = 4569},

["Slugma"] = {chance = 180, corpse = 4436},

["Magcargo"] = {chance = 238, corpse = 3566},

["Swinub"] = {chance = 150, corpse = 4448},

["Piloswine"] = {chance = 305, corpse = 3585},

["Corsola"] = {chance = 176, corpse = 3278},

["Remoraid"] = {chance = 140, corpse = 4429},

["Octillery"] = {chance = 180, corpse = 3582},

["Delibird"] = {chance = 225, corpse = 3282},

["Mantine"] = {chance = 250, corpse = 3567},

["Skarmory"] = {chance = 400, corpse = 4433},

["Houndour"] = {chance = 150, corpse = 3556},

["Houndoom"] = {chance = 382, corpse = 3555},

["Kingdra"] = {chance = 381, corpse = 3559},

["Phanpy"] = {chance = 140, corpse = 3583},

["Donphan"] = {chance = 300, corpse = 3283},

["Porygon2"] = {chance = 500, corpse = 4423},

["Stantler"] = {chance = 200, corpse = 4442},

["Smeargle"] = {chance = 200, corpse = 4437},

["Tyrogue"] = {chance = 350, corpse = 4455},

["Hitmontop"] = {chance = 900, corpse = 3296},

["Smoochum"] = {chance = 80, corpse = 4438},

["Elekid"] = {chance = 80, corpse = 3285},

["Magby"] = {chance = 80, corpse = 3565},

["Miltank"] = {chance = 300, corpse = 3577},

["Blissey"] = {chance = 302, corpse = 3273},

["Raikou"] = {chance = 5000, corpse = 4428},

["Entei"] = {chance = 5000, corpse = 3286},

["Suicune"] = {chance = 5000, corpse = 4445},

["Larvitar"] = {chance = 160, corpse = 3561},

["Pupitar"] = {chance = 221, corpse = 4424},

["Tyranitar"] = {chance = 400, corpse = 4454},

["Lugia"] = {chance = 5000, corpse = 3564},

["Ho-oh"] = {chance = 5000, corpse = 3297},

["Celebi"] = {chance = 5000, corpse = 3274},

}

 

 

Onde tem chance,é onde vocÊ vai mudar,é a chance de catch de cada pokemon,esta está um pouco facilitado.Geralmente como a chance da ultra ball é bem maior,cata bem mais facil!

Agora vamos no loot.

Em config.lua proucure por : rateLoot

então troque o valor por um maior (se quiser drop facil) ou coloque um menos para drop dificil!

Ex: eu uso o meu entre 15 e 25 pois o drop de stone é rasoavel(dependente do pokemon).

Para trocar a chance de loot de um certo poke vá : na pastado ot/data/monsters/pokes/(geração 1 ou 2)

e abra o poke desejado,no script dele terá a seguinte tag:

 

 

<loot>

<item id="12161" chance="4000" countmax="50"/>

<item id="12170" chance="4000" count="1" countmax="1"/>

<item id="11442" chance="100" count="1" countmax="1"/>

<item id="12158" chance="4000" count="1" countmax="1"/>

</loot>

(este é so um exemplo)

 

 

e mude a chance de cada drop.Lembrando ,eu aconselho a usar drop de sone de 100 -,pois se almentar ele facilita em grande escala!

 

Ajudei? REP +he.gif

 

alguem tem sistema de aura eu achei uma vez mas n me interesei muito agora to presisando

se tiver pasa pfv

Tenhu uma auraboost aqui vou ti disponibilizar.

1° vá : pasta do seu ot/data/creaturescripts/scripts e crie um aquivo com o nome auraboost

agora adicione isto dentro

 

 

function onThink(cid, interval)

if getPlayerSlotItem(cid, CONST_SLOT_FEET) == nil or getPlayerSlotItem(cid, CONST_SLOT_FEET).uid == nil then return true end

if #getCreatureSummons(cid) == 0 then return true end

 

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

if getItemAttribute(getPlayerSlotItem(cid, CONST_SLOT_FEET).uid, "boost") == 50 then

--[[race = {

["grass"] = {effect = 248},

["poison"] = {effect = 208},

["rock"] = {effect = 247},

["psychic"] = {effect = 246},

["fire"] = {effect = 251},

["bug"] = {effect = 248},

["normal"] = {effect = 245},

["ice"] = {effect = 250},

["ground"] = {effect = 247},

["steel"] = {effect = 247},

["dragon"] = {effect = 249},

["flying"] = {effect = 249},

["dark"] = {effect = 208},

["electric"] = {effect = 244},

["ghost"] = {effect = 208},

["water"] = {effect = 250},

["fight"] = {effect = 245},

}

local namepoke = getCreatureName(getCreatureSummons(cid)[1])

info = pokes[namepoke].type

local elemento = race[info]

]]--

addEvent(doSendMagicEffect, 200, getCreaturePosition(getCreatureSummons(cid)[1]), 207)

addEvent(doSendMagicEffect, 200, getCreaturePosition(getCreatureSummons(cid)[1]), 208)

end

end

end

 

 

agora vá em creaturescripts.xml e adicione isto la:

 

 

<event type="think" name="AuraBoost" event="script" value="auraboost.lua"/>

 

 

 

Pronto,agora quando seu pokemon estiver com boost +50 ele terá sua aura!

Se você quiser diminuir o boost para ter aura,lá onde tem o numero 50 em red tu coloca o boost desejado.

Ajudei? REP +

 

@SUJA

Foi pura sorte,vou disponibilizar as sprites depois,mas tenta abrir ele com o dat editor!

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

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