Ir para conteúdo

Kinomotu4

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Curtir
    Kinomotu4 recebeu reputação de Miranha em Senzu - Semente dos deuses   
    Muito bom!
    Soh mudei um pouco..
    Ao invés de curar a mana e vida toda, eu botei para curar até 1000 de mana e vida..
     
    --------------- By Matt -----------------
    -------------------------------------------

    function onUse(cid, item, fromPosition, itemEx, toPosition)
    HEALTH = 1000
    MANA = 1000
    ITEM = 2673
    local storage = 50000
    local wait = 0.7
    if fromPosition.x ~= CONTAINER_POSITION and exhaustion.get(cid, storage) == FALSE then
    doPlayerAddMana(cid, HEALTH)
    doCreatureAddHealth(cid, MANA)
    doCreatureSay(cid, 'Hmmmmmmm !', TALKTYPE_ORANGE_1)
    doRemoveItem(item.uid, 1)
    exhaustion.set(cid, storage, wait)
    elseif item.itemid == ITEM and exhaustion.get(cid, storage) == FALSE then
    HEALTH = 1000
    MANA = 1000
    doPlayerAddMana(cid, MANA)
    doCreatureAddHealth(cid, HEALTH)
    doCreatureSay(cid, 'Hmmmmmmm !', TALKTYPE_ORANGE_1)
    doRemoveItem(item.uid,1)
    exhaustion.set(cid, storage, wait)
    else
    doPlayerSendCancel(cid, "You are exhausted.")
    end
    return TRUE
    end
     

Informação Importante

Confirmação de Termo