Ir para conteúdo

Kinomotu4

Membro
  • Registro em

  • Última visita

Tudo que Kinomotu4 postou

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