Jump to content

Infraestrutura

Seção destinada para pedidos relacionados à infraestrutura do seu servidor.


Explore Questions

There are no popular questions to show right now

  1. 0 votes
    0 answers
  2. 0 votes
    0 answers
  3. Contagem de itens

    Asked by wenderotpoke,

    0 votes
    0 answers
  4. 0 votes
    0 answers
  5. Qual base é essa por favor?

    Asked by hiago30,

    0 votes
    2 answers

265 questions in this forum

  1. Regras da Seção

    0 votes
    0 answers
  2. 0 votes
    108 answers
  3. 0 votes
    0 answers
  4. 0 votes
    0 answers
  5. 0 votes
    0 answers
  6. Contagem de itens

    0 votes
    0 answers
  7. 0 votes
    1 answer
  8. Qual base é essa por favor?

    0 votes
    2 answers
  9. 0 votes
    0 answers
  10. 1 vote
    1 answer
  11. 0 votes
    0 answers
  12. NO-IP dúvida

    0 votes
    2 answers
  13. 0 votes
    0 answers
  14. 0 votes
    1 answer
  15. 0 votes
    0 answers
  16. como alterar o ícone npc

    0 votes
    0 answers
  17. 0 votes
    3 answers
  18. 0 votes
    1 answer
  19. 0 votes
    0 answers
  20. Base Psoul site + db

    0 votes
    23 answers
  21. Por onde começar?

    0 votes
    1 answer
  22. 0 votes
    0 answers
  23. 0 votes
    2 answers
  24. 0 votes
    1 answer
  25. Spigu Cloud - Linux

    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...