Ir para conteúdo

Vodkart

Herói
  • Total de itens

    3406
  • Registro em

  • Última visita

  • Dias Ganhos

    113

Tudo que Vodkart postou

  1. é só postar o script do seu sistema de reset que eu mostro qual é a tag que vcs tem que colocar na magia
  2. acho que dá para fazer só que o seguinte,cada level tem uma certa quantidade de hp certo? a cada level teria que remover a quantidade anterior dobrada de hp/mana e adicionar uma nova podendo ter alguns bugs,ai teria que criar uma tabela eu acho para identificar o hp certo de cada classe e dobrar para que não haja nenhum bug Não sei se tem outro jeito,tenho que pensar sobre.
  3. isso não é pelo mapper editor com o respaw zone não?
  4. não brother,esse aol só funciona com jogadores que estão com red ou black skull.
  5. e a mãe como vai?
    :/
  6. ain super lord que sexy
    te amo gato bjs
  7. dava para fazer tudo em um script function onSay(cid, words, param) local items = { ["!aol"] = {price = 1000,item = 2173}, ["!backpack"] = {price = 100,item = 1988} } e = items[words] if doPlayerRemoveMoney(cid,e.price) == FALSE then return doPlayerSendCancel(cid, 'You don\'t have '.. e.price..' gps.') end doPlayerAddItem(cid, e.item, 1) return TRUE end
  8. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 40) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.3, -30, -0.6, 0) local arr = { {0, 0, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 3, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 0, 0} } local area = createCombatArea(arr) setCombatArea(combat, area) local storage = 98745 -- n mexa local time = 10 -- sem segundos local a = {1, 2, 5, 6} function onUse(cid, item, frompos, item2, topos) if isInArray(a, getPlayerVocation(cid)) then if getPlayerStorageValue(cid, storage) <= os.time() then var = numberToVariant(cid) doCombat(cid, combat, var) setPlayerStorageValue(cid, storage, os.time()+time) else doPlayerSendCancel(cid,"You are exausted for ".. getPlayerStorageValue(cid, storage) - os.time() .." seconds.") return 0 end else doPlayerSendTextMessage(cid, 22, "Only druids and sorcerers can Use this Potion.") return 0 end return 1 end
  9. Olá vim lhes apresentar algumas funções npara seu servidor doRemoveHouse(cid) doPlayerRemoveStorage(cid, storage) Em breve eu vou atualizando o tópico para adicionar outras funções
  10. o bom seria colocar o link para o pessoal entrar,só adicionar a lista não adianta,porque a maioria do pessoal não vai querer ficar procurando abraços
  11. ótima idéia cara,nunca tinha pensando nisso,agiliza muito a vida dos gms que de vez de criar um tp por comando ou ficar puchando o jogador o script vai fazer tudo automaticamente xD parabéns velho abraços
  12. Não sei o numero do efeito do knight depois muda ali :X vai em creaturescript/script/login.lua antes do ultimo "return true" adiciona local effect = { [1] = 40, -- sorc [2] = 42, -- druid [3] = 49, -- pala [4] = 6 -- kina } doSendMagicEffect(getCreaturePosition(cid), effect[getPlayerVocation(cid)])
  13. imagem? ou vc ta falando efeito? quando eles logar aparecem um efeito embaixo deles é isso?
  14. mais facil vc colocar uma função para não poder deslogar enquanto estiver no fly/ride
  15. function onAdvance(cid, skill, oldLevel, newLevel) leveis = {100,200,300,400} for i = 1, #leveis do if getPlayerLevel(cid) == leveis[i] then return doBroadcastMessage("Parabéns jogador "..getCreatureName(cid).." Você alcançou o level "..getPlayerLevel(cid)..".") end end return TRUE end
  16. http://www.xtibia.com/forum/topic/133661-moveevent-action-perfect-vip-system-20/
  17. local pid = getPlayerGUID(cid) if not isPremium(cid) and getHouseByPlayerGUID(pid) then cleanHouse(getHouseByPlayerGUID(pid)) setHouseOwner(getHouseByPlayerGUID(pid), NO_OWNER_PHRASE,true) return TRUE end flw
  18. pão com bosta rairai
  19. amigo já existem vários sistemas de vip pelo fórum,basta procurar.
  20. achei que já tava na lib a função local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local reset_min = 2 function getResets(cid) resets = getPlayerStorageValue(cid,2310) if resets < 1 then resets = 1 end return resets end function onCastSpell(cid, var) if getResets(cid) >= reset_min then doPlayerAddMana(cid, math.random(45000, 55000)) doCombat(cid, combat, var) else doPlayerSendCancel(cid, "Sorry, you need "..reset_min.." reset's or more to use this spell.") end return TRUE end
  21. e dá algum erro?
  22. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local reset_min = 2 function onCastSpell(cid, var) if getResets(cid) >= reset_min then doPlayerAddMana(cid, math.random(45000, 55000)) doCombat(cid, combat, var) else doPlayerSendCancel(cid, "Sorry, you need "..reset_min.." reset's or more to use this spell.") end return TRUE end
  23. não está? nossa depois dessa me retiro do tópico
  24. tenta function onSay(cid, words, param) local price = 50000 for a = 1,5 do if getPlayerBlessing(cid, a) then return doPlayerSendCancel(cid,'You have already got one or more blessings!') elseif doPlayerRemoveMoney(cid, price) == FALSE then return doPlayerSendCancel(cid, 'You need '..price..' gold coins to get blessed!') end doPlayerAddBlessing(cid,a) return doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'You have been blessed by the gods!') end return TRUE end
  • Quem Está Navegando   0 membros estão online

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