Ir para conteúdo

Yan Oliveira

Moderador
  • Total de itens

    2221
  • Registro em

  • Última visita

  • Dias Ganhos

    60

Tudo que Yan Oliveira postou

  1. Para tirar Level System coloque seu pokeexp.lua assim: local balls = {11826, 11828, 11829, 11831, 11832, 11834, 11835, 11837, 11737, 11739, 11740, 11742, 11743, 11745, 11746, 11748} local function playerAddExp(cid, exp) doPlayerAddExp(cid, exp) doSendAnimatedText(getThingPos(cid), exp, 215) end function onDeath(cid, corpse, deathList) if not isCreature(cid) then return true end if isSummon(cid) or not deathList or corpse.itemid == 0 or getCreatureName(cid) == "Evolution" then return true end local givenexp = getWildPokemonExp(cid) local expstring = ""..cid.."expEx" local killer = getItemAttribute(corpse.uid, "corpseowner") if givenexp > 0 then for a = 1, #deathList do local pk = deathList[a] if isCreature(pk) then playerAddExp(pk, math.floor(playerExperienceRate * givenexp * getDamageMapPercent(pk, cid))) local firstball = getPlayerSlotItem(pk, 8) end end end if isNpcSummon(cid) then local master = getCreatureMaster(cid) doSendMagicEffect(getThingPos(cid), getPlayerStorageValue(cid, 10000)) doCreatureSay(master, getPlayerStorageValue(cid, 10001), 1) doRemoveCreature(cid) return false end doItemSetAttribute(corpse.uid, "offense", getPlayerStorageValue(cid, 1011)) doItemSetAttribute(corpse.uid, "defense", getPlayerStorageValue(cid, 1012)) doItemSetAttribute(corpse.uid, "speed", getPlayerStorageValue(cid, 1013)) doItemSetAttribute(corpse.uid, "vitality", getPlayerStorageValue(cid, 1014)) doItemSetAttribute(corpse.uid, "spattack", getPlayerStorageValue(cid, 1015)) doItemSetAttribute(corpse.uid, "level", getLevel(cid)) doItemSetAttribute(corpse.uid, "gender", getPokemonGender(cid)) return true end Com isso os pokemons não iram upar e como deixar de level fixo vamos dizer assim... <look type="373" head="85" body="85" legs="95" feet="113" corpse="11977"/> como podem ver, head que é o level min e body que é o level max, então só vai nascer no level 85. O resto dos scripts configurem como desejar. Se funfo de rep+
  2. Cara então vai joga PXG envés de arreclamar do servers do outros .
  3. Alguem poderia me dar uma idéia de fazer uma Saffari Zone dahora :D
  4. Alguem poderia me dar uma idéia de fazer uma Saffari Zone dahora :D
  5. Gente parem de arreclamar baixei hj joguei normalmente e não deu nenhum erro, se deram erros ae excluam e baixem novamente. Existem alguns Bugs Sim mas facil de arrumar
  6. Yan Oliveira

    Clone Spell

    Ele só funcionará com função doCreateCustomMonster 1º Crie um arquivo na pasta talkactions/scripts com o nome de clone.lua e coloque em seu conteúdo: local spells = { [1] = {used = 0, text = '<attack name="melee" interval="2000" chance="100" range="5" radius="1" target="0"><attribute key="areaEffect" value="fire"/></attack>'}, [2] = {used = 0, text = '<attack name="melee" interval="1200" chance="100" range="5" radius="1" target="0"><attribute key="areaEffect" value="energyarea"/></attack>'}, [3] = {used = 0, text = '<attack name="melee" interval="700" chance="100" range="5" radius="1" target="0"><attribute key="areaEffect" value="mortarea"/></attack>'} } local spellsNumber = 2 function randomNum(range) local rand = 0 good = false math.randomseed( os.time() ) math.random() math.random() math.random() while (not good) do rand = math.random(range) if (spells[rand].used == 0) then spells[rand].used = 1 good = true else good = false end end return rand end function onSay(cid, words) local attacks = "<a>" local num for i=1,spellsNumber,1 do num = randomNum(table.getn(spells)) attacks = attacks .. spells[num].text end attacks = attacks .. "</a>" doCreateCustomMonster(getCreatureName(cid), getCreaturePosition(cid), getCreatureOutfit(cid), getCreatureMaxHealth(cid), attacks, 6324, 1, 100) for i=1,table.getn(spells),1 do spells[i].used = 0 end attacks = "" return true end Explicando: doCreateCustomMonster(nome, posição, outfit, health, attacks, corpo quando morto, distancia do player, experiencia) 2º Abra o arquivo talkactions.xml e adicione em qualquer lugar: <talkaction words="!clone" event="script" value="clone.lua"/> Ve se funfa agr
  7. baixei, mto loco parabens slicer merece rep+
  8. Alguem saberia como tirar level system do Pokemon Dash Advanced? Se souber Rep+
  9. Alguem saberia como colocar o pokedex System do Dash no Dash Advanced? se souber rep+
  10. As mensagem você cria em Globalevents
  11. So que pra você deixa o maximo de boost +15 primeiro vai em data/lib/configuration ae você vai achar isso: maximumBoost = 50 ae você trocará o 50 pelo 15 ficando assim maximumBoost = 15 Depois você irá em data/actions/scripts/boost ae você achara essa linha: if boost >= 50 then doPlayerSendCancel(cid, "Your pokemon is already at maximum boost.") return true e no lugar do 50 coloque 15 e pronto o maximo de boost do seu server será 15 e terá aura boost se você adicionar se funfo ae da REP+ vlw
  12. Para criar shinys aleatório com respaws + de 3600 pq o maximo do remere's é 3600 você terá que criar raids de shinys e la arrume posição e tudo + espero ter ajudado Vou dar um exemplo de respaw de shiny pelo raid coloque assim Arcanine ou qualquer outro poke e add isso no xml <?xml version="1.0" encoding="utf-8"?> <raid> <singlespawn delay="60000" name="shiny arcanine s" x="1043" y="1458" z="4" /> </raid> ae você muda o lugar do respaw ou o poke ou o tempo da rep + se funfo ae xD
  13. osso
  14. Yan Oliveira

    Clone Spell

    Vou ver se consegui explicar melhor
  15. eu estou querendo muito saber tambem kkkk Sttonix ontem fuçei o xtibia inteiro e achei o aura system pelo topico do zrefe e achei la, vai nesse link que la fala como add Aura System, mas é so pra Pokemon Dash Advanced - http://www.xtibia.com/forum/topic/175561-pokemon-dash-advanced-continuacao-do-dash/page__st__1900
  16. Eu queria saber se alguem teria a spell Eletricity do Electabuzz e Lava Counter do Magmar se akguem tiver do rep+
  17. Primeiro va em talkactions/scripts/move5 la embaixo nas spells de player add isso elseif pokemon.x.spell == "Healarea" then doCreatureSay(getCreatureSummons(cid)[1], ""..string.upper(c[getCreatureOutfit(getCreatureSummons(cid)[1]).lookType].x.spell).."!", TALKTYPE_MONSTER) doCreatureSay(cid, ""..getCreatureName(getCreatureSummons(cid)[1])..", use "..c[getCreatureOutfit(getCreatureSummons(cid)[1]).lookType].x.spell.."!", TALKTYPE_SAY) exhaustion.set(cid, pokemon.x.ex, pokemon.x.cd) doAreaCombatHealth(getCreatureSummons(cid)[1], element, getThingPos(getCreatureSummons(cid)[1]), healarea, ((num1)+(getPlayerLevel(cid)*(num3))), ((num2)+(getPlayerLevel(cid)*(num3))), 12) doCreatureAddHealth(getCreatureSummons(cid)[1], ((num2)+((getPlayerLevel(cid))*(num3)))) doSendAnimatedText(getThingPos(getCreatureSummons(cid)[1]), "+"..((num2)+((getPlayerLevel(cid))*(num3))).."", 12) return 0 Depois adicione isso no lugar da chansey q ja tava: [4] = {x = { pok = chansey, spell = "Healarea", minLv = 60, ex = 1130005, base1 = 270, base2 = 340, dista = 5, target = "no", bonus = 4, type = "normal", cd = 50 } }, Ae é so você colocar o looktype da sua chansey
  18. Estpu fuçano loucamente o xtibia pra achar a spell eletricity do elevtabuzz kk
  19. Yan Oliveira

    Clone Spell

    1º Crie um arquivo na pasta talkactions/scripts com o nome de clone.lua e coloque em seu conteúdo: local spells = { [1] = {used = 0, text = '<attack name="melee" interval="2000" chance="100" range="5" radius="1" target="0"><attribute key="areaEffect" value="fire"/></attack>'}, [2] = {used = 0, text = '<attack name="melee" interval="1200" chance="100" range="5" radius="1" target="0"><attribute key="areaEffect" value="energyarea"/></attack>'}, [3] = {used = 0, text = '<attack name="melee" interval="700" chance="100" range="5" radius="1" target="0"><attribute key="areaEffect" value="mortarea"/></attack>'} } local spellsNumber = 2 function randomNum(range) local rand = 0 good = false math.randomseed( os.time() ) math.random() math.random() math.random() while (not good) do rand = math.random(range) if (spells[rand].used == 0) then spells[rand].used = 1 good = true else good = false end end return rand end function onSay(cid, words) local attacks = "<a>" local num for i=1,spellsNumber,1 do num = randomNum(table.getn(spells)) attacks = attacks .. spells[num].text end attacks = attacks .. "</a>" doCreateCustomMonster(getCreatureName(cid), getCreaturePosition(cid), getCreatureOutfit(cid), getCreatureMaxHealth(cid), attacks, 6324, 1, 100) for i=1,table.getn(spells),1 do spells.used = 0 end attacks = "" return true end Explicando: doCreateCustomMonster(nome, posição, outfit, health, attacks, corpo quando morto, distancia do player, experiencia) 2º Abra o arquivo talkactions.xml e adicione em qualquer lugar: <talkaction words="!clone" event="script" value="clone.lua"/> Pronto
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...