------------<>By Dark Siders<>--------------------------<>Edited By Luciano Magalhães<>--------------
function onUse(cid, item, fromPosition, itemEx, toPosition)
if itemEx.itemid ==8633 then
rand1 = math.random(1,5)
item1 = (8302)
doPlayerAddItem(cid, item1, rand1)
doSendMagicEffect(getThingPos(cid), 53)
doPlayerAddSkillTry(cid,1,0)
doPlayerSay(cid,"Iced Soil!",1)
doSummonMonster("Victor", getThingPos(cid))
else if itemEx.itemid ==8634 then
rand2 = math.random(1,5)
item2 = (10169)
doPlayerAddItem(cid, item2, rand2)
doSendMagicEffect(getThingPos(cid), 53)
doPlayerAddSkillTry(cid,1,0)
doPlayerSay(cid,"Elemental Crystal!",1)
else if itemEx.itemid ==8635 then
rand3 = math.random(1,5)
item3 = (8303)
doPlayerAddItem(cid, item3, rand3)
doSendMagicEffect(getThingPos(cid), 53)
doPlayerAddSkillTry(cid,1,0)
doPlayerSay(cid,"Energy Soil!",1)
else if itemEx.itemid ==8636 then
rand4 = math.random(1,5)
item4 = (8298)
doPlayerAddItem(cid, item4, rand4)
doSendMagicEffect(getThingPos(cid), 53)
doPlayerAddSkillTry(cid,1,0)
doPlayerSay(cid,"Natural Soil!",1)
elseif itemEx.itemid ==1357 then
rand5 = math.random(1,5)
item5 = (8299)
doPlayerAddItem(cid, item5, rand5)
doSendMagicEffect(getThingPos(cid), 53)
doPlayerAddSkillTry(cid,1,0)
doPlayerSay(cid,"Glimmering Soil!",1)
end
end
end
end
end
return TRUE