Ir para conteúdo

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


lucashgas

Posts Recomendados

@Brunnoo

a storage do rare candy 2 tava errada.. tenta esse ^^

 

 

function onUse(cid, item, frompos, item2, topos)

if item.uid == 19995 then

queststatus = getPlayerStorageValue(cid,19995)

if queststatus == -1 or queststatus == 0 then

doPlayerSendTextMessage(cid,22,"Você achou 20 Rare Candy")

item_uid = doPlayerAddItem(cid,6569,20)

setPlayerStorageValue(cid,19995,1)

else

doPlayerSendTextMessage(cid,22,"O baú está vazio.")

end

else

return 0

end

return 1

end

 

function onUse(cid, item, frompos, item2, topos)

if item.uid == 20007 then

queststatus = getPlayerStorageValue(cid,20007)

if queststatus == -1 or queststatus == 0 then

doPlayerSendTextMessage(cid,22,"Você achou 10 Rare Candy")

item_uid = doPlayerAddItem(cid,6569,10)

setPlayerStorageValue(cid,20007,1)

else

doPlayerSendTextMessage(cid,22,"O baú está vazio.")

end

else

return 0

end

return 1

end

 

Link para o comentário
Compartilhar em outros sites

Alguém pode me passar um programa que de para adicionar Sprites no PDA ?

Em Anexo o meu dat editor que aqui funcionar normal com as sprites do PDA eu posso colocar mais normalmente não adicionar isso eu nunca tentei eu simplismente ponho novas sobre os itens de tibia que ainda tem nas sprites.

Dat Editor.rar

Link para o comentário
Compartilhar em outros sites

Alguem ai me ajuda em 2 duvidas?

 

1°:

Como eu coloco outfits pra ja ter elas todas, e algumas so pra vip, mas pro sistema vip do Mock?

 

 

Alguem poderia postar .idc dos seguintes CORPSES de pokes? Dou REP+ pelos corpses

Chimchar, Monferno, Infernape, Piplup, Prinplup, Empoleon, Turtwig, Grotle, Torterra, Electivire, Magmortar, Shiny Electivire, Shiny magmortar preciso desses corpses por favor dou REP+

 

@ADMJuninho pegue o meu que esta configurado com 1 % de chance se nao me engano mas vc pode mudar so da ctrl + f e procura por 1% e atras um pouco esta escrito 1/100 troque o 1 pela chance que quer que apareça shiny

 

 

 

local shinys = {

"Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise",

"Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Pidgey", "Pidgeotto", "Pidgeot", "Rattata",

"Raticate", "Spearow", "Fearow", "Ekans", "Arbok", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Nidoran Female",

"Nidorina", "Nidoqueen", "Nidoran Male", "Nidorino", "Nidoking", "Clefairy", "Clefable", "Vulpix", "Ninetales",

"Jigglytuff", "Wigglytuff", "Zubat", "Golbat", "Odish", "Gloom", "Vileplume", "Paras", "Parasect", "Venonat", "Venomoth",

"Diglett", "Dugtrio", "Mewoth", "Persian", "Psyduck", "Golduck", "Mankey", "Primeape", "Growlithe", "Arcanine",

"Poliwag", "Poliwhirl", "Poliwrath", "Abra", "Kadabra", "Alakazam", "Machop", "Machoke", "Machamp", "Bellsprout",

"Weepinbell", "Victreebel", "Tentacool", "Tentacruel", "Geodude", "Graveler", "Golem", "Ponyta", "Rapidash", "Slowpoke",

"Slowbro", "Magnamite", "Magneton", "Farfetch'd", "Doduo", "Dodrio", "Seel", "Dewgong", "Grimer", "Muk", "Shellder",

"Cloyster", "Gastly", "Haunter", "Gengar", "Onix", "Drowzee", "Hypno", "Krabby", "Kingler", "Voltorb", "Electrode",

"Exeggcute", "Exeggutor", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Lickitung", "Koffing", "Weezing", "Rhyhorn",

"Rhydon", "Chansey", "Tangela", "Kangaskhan", "Horsea", "Seadra", "Goldeen", "Seaking", "Staryu", "Starmie", "Mr. Mime",

"Scyther", "Jynx", "Electabuzz", "Magmar", "Pinsir", "Tauros", "Magikarp", "Gyarados", "Lapras", "Ditto", "Eevee", "Vaporeon",

"Jolteon", "Flareon", "Porygon", "Omanyte", "Omastar", "Kabuto", "Kabutops", "Snorlax", "Dragonair", "Dratini"

}

local raros = {"Articuno", "Zapdos", "Moltreas", "Mew", "Mewtwo", "Dragonite", "Aerodactyl"}

 

local function doPokemonRegisterLevel(cid)

if not isCreature(cid) then return true end

if getWildPokemonLevel(cid) == -1 then

setWildPokemonLevel(cid)

end

end

 

local function doSetRandomGender(cid)

if not isCreature(cid) then return true end

local gender = 0

local name = getCreatureName(cid)

if not newpokedex[name] then return true end

local rate = newpokedex[name].gender

if rate == 0 then

gender = 3

elseif rate == 1000 then

gender = 4

elseif rate == -1 then

gender = 0

elseif math.random(1, 1000) <= rate then

gender = 4

else

gender = 3

end

doCreatureSetSkullType(cid, gender)

end

 

local function doShiny(cid)

if isCreature(cid) then

if isSummon(cid) then return true end

if getPlayerStorageValue(cid, 74469) >= 1 then return true end

if isNpcSummon(cid) then return true end

if isInArray(shinys, getCreatureName(cid)) then

transform = math.random(1, 100) --1% chance

elseif isInArray(raros, getCreatureName(cid)) then

transform = math.random(1, 1000) --0.1% chance

elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then

return true

end

if transform == 10 then

doSendMagicEffect(getThingPos(cid), 18)

local shi = doCreateMonster("Shiny ".. getCreatureName(cid) .."", getThingPos(cid))

setPlayerStorageValue(shi, 74469, 1)

setPlayerStorageValue(cid, 74469, 1)

doRemoveCreature(cid)

else

setPlayerStorageValue(cid, 74469, 1)

end

else

return true

end

end

 

function onSpawn(cid)

 

registerCreatureEvent(cid, "GeneralConfiguration")

registerCreatureEvent(cid, "DirectionSystem")

registerCreatureEvent(cid, "CastSystem")

 

if isSummon(cid) then

registerCreatureEvent(cid, "SummonDeath")

return true

end

 

registerCreatureEvent(cid, "Experience")

 

addEvent(doPokemonRegisterLevel, 5, cid)

addEvent(doSetRandomGender, 5, cid)

addEvent(doShiny, 10, cid)

 

return true

end

 

 

Link para o comentário
Compartilhar em outros sites

@fernandinhobeiramar

"pegue o meu..." nem pra posta creditos neh.... ;p

 

e pra fazer isso com o sistema de VIP do mock terias q fazer uma coisa muito loka no login.lua.... ;x nem sei como fazer...

 

@rohfagundes

soh sei q pra isso tens q mexer no lib/pokemons moves.lua ... ;x

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

edit: esquece melhor nao posta agora pq pra poder no sistema de VIP teria q muda muita coisa ;x agora q percebi malz ae...

 

alguem sabe pq q as vezes a msg fica em negrito ms sem eu coloca-la em negrito? ;x

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

Slicer pode me passar os outfit system pode ser pra free mesmo valeu

 

 

 

<?xml version="1.0"?>

 

<outfits>

<outfit id="1">

<list gender="0" lookType="511" name="Trainer"/>

<list gender="1" lookType="510" name="Trainer"/>

</outfit>

 

<outfit id="2" quest="100">

<list gender="0" lookType="615" name="Elite Trainer"/>

<list gender="1" lookType="614" name="Elite Trainer"/>

</outfit>

 

<outfit id="3" quest="101">

<list gender="0" lookType="513" name="Bussiness"/>

<list gender="1" lookType="514" name="Bussiness"/>

</outfit>

 

<outfit id="4" quest="102">

<list gender="0" lookType="521" name="Fisher"/>

<list gender="1" lookType="520" name="Fisher"/>

</outfit>

 

<outfit id="5" quest="103">

<list gender="0" lookType="512" name="Rapper"/>

<list gender="1" lookType="545" name="Rapper"/>

</outfit>

 

<outfit id="6" quest="104">

<list gender="0" lookType="517" name="Atletic"/>

<list gender="1" lookType="516" name="Atletic"/>

</outfit>

 

<outfit id="7" quest="105">

<list gender="0" lookType="588" name="Jamaican"/>

<list gender="1" lookType="587" name="Jamaican"/>

</outfit>

 

<outfit id="8" quest="106">

<list gender="0" lookType="586" name="Oriental"/>

<list gender="1" lookType="585" name="Oriental"/>

</outfit>

 

<outfit id="9" quest="107">

<list gender="0" lookType="525" name="Hiker"/>

<list gender="1" lookType="523" name="Hiker"/>

</outfit>

 

<outfit id="10" quest="108">

<list gender="0" lookType="524" name="Mercenary"/>

<list gender="1" lookType="522" name="Mercenary"/>

</outfit>

 

<outfit id="11" quest="110">

<list gender="0" lookType="519" name="Punk"/>

<list gender="1" lookType="518" name="Punk"/>

</outfit>

 

<outfit id="12" quest="111">

<list gender="0" lookType="495" name="Adventurer"/>

<list gender="1" lookType="494" name="Adventurer"/>

</outfit>

 

<outfit id="13" quest="60001">

<list gender="0" lookType="605" name="Team Rocket"/>

<list gender="1" lookType="604" name="Team Rocket"/>

</outfit>

 

<!-- PROMOTE -->

 

<outfit id="14" quest="117">

<list gender="0" lookType="1145" name="Psycraft"/>

<list gender="1" lookType="1161" name="Psycraft"/>

</outfit>

 

<outfit id="15" quest="118">

<list gender="0" lookType="1146" name="Gardestrike"/>

<list gender="1" lookType="1155" name="Gardestrike"/>

</outfit>

 

<outfit id="16" quest="119">

<list gender="0" lookType="1147" name="Raibolt"/>

<list gender="1" lookType="1160" name="Raibolt"/>

</outfit>

 

<outfit id="17" quest="120">

<list gender="0" lookType="1148" name="Wingeon"/>

<list gender="1" lookType="1158" name="Wingeon"/>

</outfit>

 

<outfit id="18" quest="121">

<list gender="0" lookType="1150" name="Orebound"/>

<list gender="1" lookType="1156" name="Orebound"/>

</outfit>

 

<outfit id="19" quest="122">

<list gender="0" lookType="1151" name="Seavell"/>

<list gender="1" lookType="1162" name="Seavell"/>

</outfit>

 

<outfit id="20" quest="123">

<list gender="0" lookType="1152" name="Volcanic"/>

<list gender="1" lookType="1154" name="Volcanic"/>

</outfit>

 

<outfit id="21" quest="124">

<list gender="0" lookType="1153" name="Malefic"/>

<list gender="1" lookType="1157" name="Malefic"/>

</outfit>

 

<!-- PROMOTE MASTER -->

 

<outfit id="22">

<list gender="0" lookType="1179" name="Raibolt Legend"/>

<list gender="1" lookType="1164" name="Raibolt Legend"/>

</outfit>

<outfit id="23">

<list gender="0" lookType="1178" name="Seavell Queen"/>

<list gender="1" lookType="1165" name="Seavell King"/>

</outfit>

<outfit id="24">

<list gender="0" lookType="1177" name="Naturia Keeper"/>

<list gender="1" lookType="1166" name="Naturia Keeper"/>

</outfit>

<outfit id="25">

<list gender="0" lookType="1176" name="Malefic Lady"/>

<list gender="1" lookType="1167" name="Malefic Lord"/>

</outfit>

<outfit id="26">

<list gender="0" lookType="1180" name="Volcanic Master"/>

<list gender="1" lookType="1168" name="Volcanic Master"/>

</outfit>

<outfit id="27">

<list gender="0" lookType="1175" name="Wingeon Dragon"/>

<list gender="1" lookType="1169" name="Wingeon Dragon"/>

</outfit>

<outfit id="28">

<list gender="0" lookType="1174" name="Orebound Hero"/>

<list gender="1" lookType="1170" name="Orebound Hero"/>

</outfit>

<outfit id="29">

<list gender="0" lookType="1173" name="Gardestrike Lady"/>

<list gender="1" lookType="1171" name="Gardestrike Champion"/>

</outfit>

<outfit id="30">

<list gender="0" lookType="1181" name="Psycraft Medium"/>

<list gender="1" lookType="1172" name="Psycraft Medium"/>

</outfit>

 

<!-- GAMEMASTER -->

 

<outfit id="31">

<list gender="0-3" lookType="664" name="GameMaster"/>

</outfit>

 

<!-- NATAL -->

 

<outfit id="32">

<list gender="0" lookType="1055" name="Christmas"/>

<list gender="1" lookType="1054" name="Christmas"/>

</outfit>

<outfit id="33">

<list gender="0" lookType="1084" name="Christmas 2"/>

<list gender="1" lookType="1083" name="Christmas 2"/>

</outfit>

 

<!-- HALLOWEEN -->

 

<outfit id="34">

<list gender="0-3" lookType="1140" name="Mummy"/>

</outfit>

<outfit id="35">

<list gender="0" lookType="1190" name="Witch"/>

<list gender="1" lookType="1191" name="Dracula"/>

</outfit>

<outfit id="36">

<list gender="0" lookType="1188" name="Demoness"/>

<list gender="1" lookType="1189" name="Skull"/>

</outfit>

 

<!-- SKI -->

 

<outfit id="37" quest="116">

<list gender="0" lookType="1408" name="Sky"/>

<list gender="1" lookType="1407" name="Sky"/>

</outfit>

</outfits>

 

 

Link para o comentário
Compartilhar em outros sites

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