Ir para conteúdo

Gears

Banidos
  • Total de itens

    576
  • Registro em

  • Última visita

  • Dias Ganhos

    2

Gears venceu a última vez em Março 10 2013

Gears had the most liked content!

6 Seguidores

Sobre Gears

Informações

  • Char no Tibia
    Darashia del Shee
  • Forma que conheci o xTibia
    Amigos
  • Sou
    XTibiano

Últimos Visitantes

2513 visualizações

Gears's Achievements

  1. Gears

    Ná Praia

    MINA, TEM UM POUCO DE ROSTO NA TUA BIGODEIRA
  2. local mtrs = { ["Rat"] = {hp = 1000, maxhp = 1000, corpse = 2813, chance = 100}, ["Rotworm"] = {hp = 1000, maxhp = 1000, corpse = 5967, chance = 100}, ["Skeleton"] = {hp = 1000, maxhp = 1000, corpse = 5972, chance = 100}, ["Dragon"] = {hp = 1000, maxhp = 1000, corpse = 3104, chance = 100}, ["Dragon Lord"] = {hp = 1000, maxhp = 1000, corpse = 5984, chance = 100}, } function onUse(cid, item, frompos, item2, topos) for pet_name, v in pairs(mtrs) do if item2.itemid == v.corpse then if math.random(0,100) <= v.chance then doPlayerSendTextMessage(cid, 27, "Você capturou um ".. pet_name .. ".") doRemoveItem(item2.uid, 1) doRemoveItem(item.uid, 1) local itemcatch = doPlayerAddItem(cid, 7632, 1) doItemSetAttribute(itemcatch, "namepet", pet_name) doItemSetAttribute(itemcatch, "description", "Contém um ".. pet_name ..".") doItemSetAttribute(itemcatch, "lifepet", v.hp) doItemSetAttribute(itemcatch, "maxlifepet", v.maxhp) else doPlayerSendTextMessage(cid, 27, "Falhou.") end end end return true end 2. function onUse(cid, item, frompos, item2, topos) local health = tonumber(getItemAttribute(item.uid, "lifepet")) local mhp = tonumber(getItemAttribute(item.uid, "maxlifepet")) if health <= 0 then return doPlayerSendCancel(cid, "Esse pet esta morto.") end local pet_name = getItemAttribute(item.uid, "namepet") if item.itemid == 7632 then if not getTilePzInfo(getPlayerPosition(cid)) then if #getCreatureSummons(cid) < 1 then doTransformItem(item.uid, 7633) local summon = doSummonCreature(pet_name, getThingPos(cid)) doConvinceCreature(cid, summon) setCreatureMaxHealth(summon, mhp) doCreatureAddHealth(summon, mhp) doCreatureAddHealth(summon, health - mhp) doSendMagicEffect(getCreaturePosition(summon), 67) doCreatureSay(cid, "Vai, ".. pet_name .. "!", TALKTYPE_SAY) else doPlayerSendCancel(cid, "Você já sumonou um Pet.") end else doPlayerSendCancel(cid, "Você não pode estar em Protection Zone para sumonar seu Pet.") end elseif item.itemid == 7633 then local hp, maxhp = getCreatureHealth(getCreatureSummons(cid)[1]), getCreatureMaxHealth(getCreatureSummons(cid)[1]) if #getCreatureSummons(cid) >= 1 then doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 67) doRemoveCreature(getCreatureSummons(cid)[1]) doTransformItem(item.uid, 7632) doItemSetAttribute(item.uid, "lifepet", hp) doItemSetAttribute(item.uid, "maxlifepet", maxhp) doCreatureSay(cid, "Volta, " .. pet_name .. ".", TALKTYPE_SAY) end end return true end Ps: no ultimo script da pra remover essa linha aqui: print(tonumber(getItemAttribute(item.uid, "lifepet")),tonumber(getItemAttribute(item.uid, "maxlifepet"))) Isso ai vai ficar printando a life do pet no distro, oque seria desnecessário.
  3. local pos = {x=x, y=y, z=z} function onLogin(cid) if getPlayerStorageValue(cid, storage) == -1 then doTeleportThing(cid, pos) setPlayerStorageValue(cid, storage, 1) else return doPlayerSendCancel(cid, "You are already teleported for the initial position.") end
  4. Puta que pariu, que cara folgado, não se deu nem ao trabalho de ler o post do cara, meu deus, se ferrar viu?
  5. Como eu precisava disso, , odiava quando eu tava fazendo algo e o pessoal vinha no meu skype dizer que o otserv estava muito sujo e não tinha nenhum gamemaster online, eu tinha que entrar e dar clean, agora com esse NPC, posso pedir para algum player do OT limpar para min, thanks a lot
  6. Dragon e Dragon Lord, como é mostrado no link.. Dragons dropam: Sword, broad sword, serpent sword, etc.. Dl's dropam Dragon lance, royal spear.. Nada mais a comentar. Desculpa mas em dragons dropam scimitar e decorative spears como está no mapa? Por favor você nunca fez uma área desse tipo e vem aqui falar algo.
  7. Pra hunt de drags eu acho estranho essas swords e lances.
  8. Que melhora ein fera, lembro que seus scripts eram todos POG-BASED, continua estudando que você evolui mais ainda
  9. Será mesmo? Será que a lógica existe? :/
  10. Só porque é de pokemon o cara não pode fazer uma montanha descente? Ata, não vou mais falar nada sobre esse assunto.
  11. Melhore o formato das montanhas, muda o id das bordas de 901, etc para 4464, etc e pare de usar auto boarder, flw
  12. Só achei as ruas sem vida, boa sorte ai
  13. Gears

    Exaust script

    function onStepIn(cid, item, position, fromPosition) local frase1 = "O Jogador" -- frase que vem antes do nome do player local frase2 = "da Guild" -- frase que vem depois do nome do player local storage = 1755 if exhaustion.check(cid, 1755) then return doPlayerSendTextMessage(cid, "You need to wait 2minutes to pass again", MESSAGE_STATUS_CONSOLEBLUE) end if getGlobalStorageValue(storage) == getPlayerGuildId(cid) then return true end if getGlobalStorageValue(storage) ~= getPlayerGuildId(cid) then broadcastMessage(""..frase1.." ["..getCreatureName(cid).."] "..frase2.." "..getPlayerGuildName(cid).." está invadindo o castelo. ", MESSAGE_STATUS_WARNING) exhaustion.set(cid, 1755, 2*60) return true end end
  • Quem Está Navegando   0 membros estão online

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