Nottinghster
Tibia World RPG Developer
- Joined
- Oct 24, 2007
- Messages
- 1,570
- Solutions
- 6
- Reaction score
- 438
- Location
- Brazil - Rio de Janeiro
- GitHub
- Nottinghster
You just need to add:
Example:
Code:
doRemoveItem(item.uid)
Example:
Code:
if(item.type == FLUID_MANA) then
if not doPlayerAddMana(cid, math.random(200, 300)) then
return false
end
doCreatureSay(cid, "Aaaah...", TALKTYPE_SAY)
doSendMagicEffect(topos, CONST_ME_MAGIC_BLUE)
doRemoveItem(item.uid)
elseif(item.type == FLUID_LIFE) then
if not doCombat(cid, lifeFluidCombat, numberToVariant(cid)) then
return false
end
doCreatureSay(cid, "Aaaah...", TALKTYPE_SAY)
doSendMagicEffect(topos, CONST_ME_MAGIC_BLUE)
doRemoveItem(item.uid)