Someone could help me.. I need a percent function to make this
On use this item check percent and add item rare or normal...
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
doRemoveItem(item.uid)
light magic missile runes,2287,50%
intense healing rune,2265,30%
heavy magic missile runes,2311,10%
great fireball runes,2304,5%
explosion rune,2313,3%
ultimate healing rune,2273,2%
sudden death rune,2268,1%
return true
end
On use this item check percent and add item rare or normal...