Postado Outubro 10, 2012 12 anos Como poin um nova rod sendo o qual quer item uma farinha de pescar que pesque pokemons johto.
Postado Outubro 10, 2012 12 anos Qual é o seu server ? PDA ? Erondino ? Flash ? Para erondino.. vamos lá Actions/script/tools/novarod.lua add isto dentro do arquivo function onUse(cid, item, fromPos, itemEx, toPos) d0 = { [0] = {pokemon = 'Magikarp s'}, [1] = {pokemon = 'Poliwag s'}, [2] = {pokemon = 'Magikarp s'}, [4] = {pokemon = 'Poliwag s'}, } d20 = { [0] = {pokemon = 'Magikarp s'}, [1] = {pokemon = 'Poliwhirl s'}, [2] = {pokemon = 'Poliwag s'}, [3] = {pokemon = 'Poliwhirl s'}, [4] = {pokemon = 'shiny magikarp s'}, [5] = {pokemon = 'Poliwag s'}, [6] = {pokemon = 'Magikarp s'}, [7] = {pokemon = 'Poliwhirl s'}, [8] = {pokemon = 'Poliwag s'}, [9] = {pokemon = 'Staryu s'}, [10] = {pokemon = 'Krabby s'}, [11] = {pokemon = 'Tentacool s'}, } d40 = { [0] = {pokemon = 'Croconaw s'}, [1] = {pokemon = 'Seaking s'}, [2] = {pokemon = 'Politoed s'}, [3] = {pokemon = 'Azumarill s'}, [4] = {pokemon = 'Poliwhirl s'}, [5] = {pokemon = 'Octillery s'}, [6] = {pokemon = 'shiny horsea s'}, [7] = {pokemon = 'Corsola s'}, [8] = {pokemon = 'Poliwhirl s'}, [9] = {pokemon = 'Quaqsire s'}, [10] = {pokemon = 'Staryu s'}, [11] = {pokemon = 'Poliwag s'}, [12] = {pokemon = 'Poliwhirl s'}, [13] = {pokemon = 'shiny magikarp s'}, [14] = {pokemon = 'Poliwag s'}, [15] = {pokemon = 'shiny krabby s'}, [16] = {pokemon = 'Tentacool s'}, [17] = {pokemon = 'Seaking s'}, } d60 = { [0] = {pokemon = 'Poliwhirl s'}, [1] = {pokemon = 'Seaking s'}, [2] = {pokemon = 'Poliwhirl s'}, [3] = {pokemon = 'Seaking s'}, [4] = {pokemon = 'Poliwhirl s'}, [5] = {pokemon = 'Seaking s'}, [6] = {pokemon = 'shiny horsea s'}, [7] = {pokemon = 'Seaking s'}, [8] = {pokemon = 'Poliwhirl s'}, [9] = {pokemon = 'Croconaw s'}, [10] = {pokemon = 'Azumarill s'}, [11] = {pokemon = 'Staryu s'}, [12] = {pokemon = 'Corsola s'}, [13] = {pokemon = 'shiny magikarp s'}, [14] = {pokemon = 'Octillery s'}, [15] = {pokemon = 'shiny krabby s'}, [16] = {pokemon = 'Lanturn s'}, [17] = {pokemon = 'Kingler s'}, [18] = {pokemon = 'Staryu s'}, [19] = {pokemon = 'Quaqsire s'}, [20] = {pokemon = 'Kingler s'}, [21] = {pokemon = 'Politoed s'}, [22] = {pokemon = 'shiny dratini s'}, [23] = {pokemon = 'Kingler s'}, [24] = {pokemon = 'Kingler s'}, [25] = {pokemon = 'Starmie s'}, [26] = {pokemon = 'shiny tentacool s'}, [27] = {pokemon = 'Starmie s'}, [28] = {pokemon = 'Mantine s'}, [29] = {pokemon = 'Poliwag s'}, [30] = {pokemon = 'Mantine s'}, [31] = {pokemon = 'shiny magikarp s'}, [32] = {pokemon = 'Poliwag s'}, [33] = {pokemon = 'Horsea s'}, [34] = {pokemon = 'shiny kingler s'}, [35] = {pokemon = 'Poliwag s'}, } d80 = { [0] = {pokemon = 'Poliwhirl s'}, [1] = {pokemon = 'Seaking s'}, [2] = {pokemon = 'Poliwhirl s'}, [3] = {pokemon = 'Seaking s'}, [4] = {pokemon = 'Poliwhirl s'}, [5] = {pokemon = 'Seaking s'}, [6] = {pokemon = 'shiny horsea s'}, [7] = {pokemon = 'Seaking s'}, [8] = {pokemon = 'Poliwhirl s'}, [9] = {pokemon = 'shiny horsea s'}, [10] = {pokemon = 'Croconaw s'}, [11] = {pokemon = 'Staryu s'}, [12] = {pokemon = 'Azumarill s'}, [13] = {pokemon = 'Staryu s'}, [14] = {pokemon = 'Poliwag s'}, [15] = {pokemon = 'shiny krabby s'}, [16] = {pokemon = 'Poliwag s'}, [17] = {pokemon = 'Kingler s'}, [18] = {pokemon = 'Staryu s'}, [19] = {pokemon = 'Corsola s'}, [20] = {pokemon = 'Kingler s'}, [21] = {pokemon = 'Octillery s'}, [22] = {pokemon = 'shiny dratini s'}, [23] = {pokemon = 'Kingler s'}, [24] = {pokemon = 'Kingler s'}, [25] = {pokemon = 'Starmie s'}, [26] = {pokemon = 'shiny tentacool s'}, [27] = {pokemon = 'Starmie s'}, [28] = {pokemon = 'Politoed s'}, [29] = {pokemon = 'Mantine s'}, [30] = {pokemon = 'Lanturn s'}, [31] = {pokemon = 'shiny magikarp s'}, [32] = {pokemon = 'Quaqsire s'}, [33] = {pokemon = 'Kingdra s'}, [34] = {pokemon = 'shiny kingler s'}, [35] = {pokemon = 'Poliwag s'}, [36] = {pokemon = 'Magikarp s'}, [37] = {pokemon = 'Krabby s'}, [38] = {pokemon = 'Krabby s'}, [39] = {pokemon = 'Horsea s'}, [40] = {pokemon = 'Horsea s'}, [41] = {pokemon = 'Poliwag s'}, [42] = {pokemon = 'Magikarp s'}, [43] = {pokemon = 'Starmie s'}, [44] = {pokemon = 'Krabby s'}, [45] = {pokemon = 'Horsea s'}, [46] = {pokemon = 'Starmie s'}, [47] = {pokemon = 'Poliwag s'}, [48] = {pokemon = 'Magikarp s'}, [49] = {pokemon = 'Krabby s'}, [50] = {pokemon = 'Seadra s'}, [51] = {pokemon = 'Horsea s'}, [52] = {pokemon = 'Poliwag s'}, [53] = {pokemon = 'Seadra s'}, [54] = {pokemon = 'Poliwag s'}, [55] = {pokemon = 'Magikarp s'}, [56] = {pokemon = 'Krabby s'}, [57] = {pokemon = 'Krabby s'}, [58] = {pokemon = 'Horsea s'}, [59] = {pokemon = 'Horsea s'}, [60] = {pokemon = 'Poliwag s'}, [61] = {pokemon = 'Magikarp s'}, [62] = {pokemon = 'Kingler s'}, [63] = {pokemon = 'Krabby s'}, [64] = {pokemon = 'Horsea s'}, [65] = {pokemon = 'Staryu s'}, [66] = {pokemon = 'Poliwag s'}, [67] = {pokemon = 'shiny krabby s'}, [68] = {pokemon = 'Staryu s'}, [69] = {pokemon = 'Magikarp s'}, [70] = {pokemon = 'Staryu s'}, [71] = {pokemon = 'Poliwag s'}, [72] = {pokemon = 'shiny tentacool s'}, [73] = {pokemon = 'Poliwag s'}, [74] = {pokemon = 'Kingler s'}, [75] = {pokemon = 'Staryu s'}, [76] = {pokemon = 'shiny seadra s'}, [77] = {pokemon = 'Kingler s'}, [78] = {pokemon = 'shiny magikarp s'}, } d100 = { [0] = {pokemon = 'Poliwhirl s'}, [1] = {pokemon = 'Seaking s'}, [2] = {pokemon = 'Poliwhirl s'}, [3] = {pokemon = 'Seaking s'}, [4] = {pokemon = 'Poliwhirl s'}, [5] = {pokemon = 'Seaking s'}, [6] = {pokemon = 'shiny horsea s'}, [7] = {pokemon = 'Seaking s'}, [8] = {pokemon = 'Poliwhirl s'}, [9] = {pokemon = 'shiny horsea s'}, [10] = {pokemon = 'Croconaw s'}, [11] = {pokemon = 'Staryu s'}, [12] = {pokemon = 'Azumarill s'}, [13] = {pokemon = 'Staryu s'}, [14] = {pokemon = 'Octillery s'}, [15] = {pokemon = 'shiny krabby s'}, [16] = {pokemon = 'Corsola s'}, [17] = {pokemon = 'Kingler s'}, [18] = {pokemon = 'Staryu s'}, [19] = {pokemon = 'Politoed s'}, [20] = {pokemon = 'Kingler s'}, [21] = {pokemon = 'Quaqsire s'}, [22] = {pokemon = 'shiny dratini s'}, [23] = {pokemon = 'Kingler s'}, [24] = {pokemon = 'Kingler s'}, [25] = {pokemon = 'Starmie s'}, [26] = {pokemon = 'shiny tentacool s'}, [27] = {pokemon = 'Starmie s'}, [28] = {pokemon = 'Lanturn s'}, [29] = {pokemon = 'shiny gyarados s'}, [30] = {pokemon = 'Mantine s'}, [31] = {pokemon = 'Kingdra s'}, [32] = {pokemon = 'Feraligatr s'}, [33] = {pokemon = 'Horsea s'}, [34] = {pokemon = 'shiny kingler s'}, [35] = {pokemon = 'Poliwag s'}, [36] = {pokemon = 'Magikarp s'}, [37] = {pokemon = 'Krabby s'}, [38] = {pokemon = 'Krabby s'}, [39] = {pokemon = 'Horsea s'}, [40] = {pokemon = 'Horsea s'}, [41] = {pokemon = 'Poliwag s'}, [42] = {pokemon = 'Magikarp s'}, [43] = {pokemon = 'Gyarados s'}, [44] = {pokemon = 'Krabby s'}, [45] = {pokemon = 'Horsea s'}, [46] = {pokemon = 'Gyarados s'}, [47] = {pokemon = 'Poliwag s'}, [48] = {pokemon = 'Starmie s'}, [49] = {pokemon = 'Krabby s'}, [50] = {pokemon = 'Seadra s'}, [51] = {pokemon = 'Horsea s'}, [52] = {pokemon = 'shiny dratini s'}, [53] = {pokemon = 'Seadra s'}, [54] = {pokemon = 'Poliwag s'}, [55] = {pokemon = 'Magikarp s'}, [56] = {pokemon = 'Krabby s'}, [57] = {pokemon = 'Krabby s'}, [58] = {pokemon = 'shiny tentacruel s'}, [59] = {pokemon = 'Horsea s'}, [60] = {pokemon = 'Poliwag s'}, [61] = {pokemon = 'Magikarp s'}, [62] = {pokemon = 'Gyarados s'}, [63] = {pokemon = 'Krabby s'}, [64] = {pokemon = 'Horsea s'}, [65] = {pokemon = 'Staryu s'}, [66] = {pokemon = 'Poliwag s'}, [67] = {pokemon = 'shiny krabby s'}, [68] = {pokemon = 'Staryu s'}, [69] = {pokemon = 'shiny tentacool s'}, [70] = {pokemon = 'Staryu s'}, [71] = {pokemon = 'Poliwag s'}, [72] = {pokemon = 'shiny magikarp s'}, [73] = {pokemon = 'Poliwag s'}, [74] = {pokemon = 'Kingler s'}, [75] = {pokemon = 'Staryu s'}, [76] = {pokemon = 'shiny seadra s'}, [77] = {pokemon = 'Kingler s'}, [78] = {pokemon = 'shiny magikarp s'}, } local config = { 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}, } local skill = getPlayerSkillLevel(cid, 6) local playerpos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y+1, z=getCreaturePosition(cid).z} if(isInArray(config.waters, itemEx.itemid)) then doSendMagicEffect(toPos, CONST_ME_LOSEENERGY) doPlayerAddSkillTry(cid, 6, 1) if skill >= 100 then local random = math.random(0, 80) if random <= 78 then doSummonCreature(d100[random].pokemon, playerpos) return true end else if skill >= 80 then local random = math.random(0, 80) if random <= 78 then doSummonCreature(d80[random].pokemon, playerpos) return true end else if skill >= 60 then local random = math.random(0, 80) if random <= 35 then doSummonCreature(d60[random].pokemon, playerpos) return true end else if skill >= 40 then local random = math.random(0, 80) if random <= 17 then doSummonCreature(d40[random].pokemon, playerpos) return true end else if skill >= 20 then local random = math.random(0, 80) if random <= 11 then doSummonCreature(d20[random].pokemon, playerpos) return true end else if skill >= 0 and skill < 20 then local random = math.random(0, 80) if random <= 4 then doSummonCreature(d0[random].pokemon, playerpos) return true end return true end return true end return true end end end end end end Onde está o nomes dos pokemons você pode editar... adicionando pokemons Johto. é só tirar magikarp colocar Maril BS: O nome do pokemon Johto tem que ser correto no seu sv. Vamos agora, há tag no actions.xml <action itemid="5941" event="script" value="tools/novarod.lua"/> Pronto agora é só você pegar um item colocar o action ID de 5941 e pronto ele funcionará normalmente... Caso seu serveer for DASH PDA, e esse script não funcionar avise-me... Lembrando onde tá 5941, você pode mudar colocar outro numero qualquer. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Assinatura~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.