Jump to content

Explore Questions

There are no popular questions to show right now

  1. 0 votes
    0 answers
  2. 0 votes
    0 answers
  3. 0 votes
    0 answers
  4. 0 votes
    0 answers
  5. 0 votes
    1 answer

171 questions in this forum

  1. 0 votes
    2 answers
  2. 0 votes
    5 answers
  3. 0 votes
    0 answers
  4. 0 votes
    0 answers
  5. 0 votes
    0 answers
  6. 0 votes
    0 answers
  7. 0 votes
    1 answer
  8. 0 votes
    1 answer
  9. cliente poketibia

    0 votes
    0 answers
  10. 0 votes
    1 answer
  11. Ajuda com cliente com link

    0 votes
    0 answers
  12. 0 votes
    0 answers
  13. Botão nas skills

    0 votes
    0 answers
  14. 1 vote
    1 answer
  15. pedido dat e spr 12.86

    1 vote
    0 answers
  16. 0 votes
    1 answer
  17. [AJUDA] barras laterais

    0 votes
    0 answers
  18. 0 votes
    0 answers
  19. 0 votes
    19 answers
  20. 0 votes
    2 answers
  21. Pedido simples de OPcode

    0 votes
    3 answers
  22. Otpokemon Sprite

    0 votes
    0 answers
  23. 0 votes
    0 answers
  24. 0 votes
    0 answers
  25. cdz tibia

    0 votes
    0 answers
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Popular Contributors

    Nobody has received reputation this week.

  • Topics

  • Últimos Posts

    • Alguém tem essa base ? alguém que possa passar isso para mim  por favor, me ajude    
    • Experience the art of publication design at its finest with MyDesign. Our creative experts specialize in crafting visually stunning publications that captivate and engage your audience. From magazines and books to brochures and digital publications, MyDesign's publication design services set new standards for excellence. Elevate your content with MyDesign and create publications that leave a lasting impression.
    • Eu postei ela free mas tava toda bugada e removido outro forum a turma pegou ela mais para aproveitar sistema   
    • Manda o link no pv pf ou cria um post aqui no xtibia dela
    • Olá, tudo bem? Estou tentando fazer uma magia em que quando o player solta ela, ele é teleportado para a posição de cada monstro ao seu redor, da 1 hit em cada um por vez, após terminar isso, volta para a posição inicial de quando soltou a magia. Olha: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, true) function onGetFormulaValues(cid, level, skill, attack, factor) local skillTotal, levelTotal = skill + attack, level / 5 return -(skillTotal / 3 + levelTotal), -(skillTotal + levelTotal) end setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues") function attack(cid, pos, toPos, fromPos, var) if #validTargets > 0 then if doCombat(cid, combat, var) == LUA_NO_ERROR then doTeleportThing(cid,validTargets[1]) doSendMagicEffect(getPlayerPosition(cid), 61) table.remove(validTargets, validTargets[1]) addEvent(attack, 200, cid) end else doTeleportThing(cid, playerfirstpos[1]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Nenhum alvo valido encontrado.") for k in pairs(playerfirstpos) do playerfirstpos[k] = nil end end return true end playerfirstpos = {} validTargets = {} function onCastSpell(cid, var) local pos = getCreaturePosition(cid) local creatures = getSpectators(pos, 3, 3, false) if table.insert(playerfirstpos, pos) then if creatures then for _, target in ipairs(creatures) do if isCreature(target) and (isPlayer(target) or isMonster(target)) then table.insert(validTargets, target) end end addEvent(attack, 1, cid) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Nenhum alvo valido encontrado.") end end return true end Mas não consegui... alguém pode me ajudar?
×
×
  • Create New...