Ir para conteúdo

Kayzuu

Membro
  • Registro em

  • Última visita

  1. Kayzuu reagiu a uma resposta no tópico: Senzu bug
  2. Ae mano eu resolvi, é essa parada de uint8 e uint16 mesmo, meu client tava uint16 e minha source uint8. aqui o cara ensina a mudar:
  3. resolveu? mesma coisa aqui
  4. Kayzuu postou uma resposta no tópico em Suporte Tibia OTServer
    Eu to com um problema na senzu do meu dbo. Ela não é infinita, mas quando ela tá no chão fica infinita. function onUse(cid, item, fromPosition, itemEx, toPosition) ITEM = 12780 local storage = 50000 local wait = 1.5 local pos1 = {x = getPlayerPosition(cid).x, y = getPlayerPosition(cid).y + 0, z = getPlayerPosition(cid).z} if fromPosition.x ~= CONTAINER_POSITION and exhaustion.get(cid, storage) == FALSE then REG_HEALTH = 125000 REG_MANA = 125000 doPlayerAddMana(cid, REG_MANA) doCreatureAddHealth(cid, REG_HEALTH) doCreatureSay(cid, 'I feel much better!', TALKTYPE_ORANGE_1) doSendMagicEffect(pos1, 103) exhaustion.set(cid, storage, wait) elseif item.itemid == ITEM and exhaustion.get(cid, storage) == FALSE then REG_HEALTH = 125000 REG_MANA = 125000 doPlayerAddMana(cid, REG_MANA) doRemoveItem(item.uid, 1) doCreatureAddHealth(cid, REG_HEALTH) doCreatureSay(cid, 'I feel much better!', TALKTYPE_ORANGE_1) doSendMagicEffect(pos1, 103) exhaustion.set(cid, storage, wait) else doPlayerSendCancel(cid, "You are exhausted.") end return TRUE end

Informação Importante

Confirmação de Termo