Dark Magican - 2009-05-25 21:42:19

function onUse(cid, item, frompos, item2, topos)
chance = math.random(1,4)
dodane = 0
count = {50,100,75}
for i = 1, 3 do
if chance == i then
doPlayerAddItem(cid,2160,count[i])
dodane = 1
break
end
end
if dodane == 0 then
doPlayerAddMana(cid,-getPlayerMana(cid))
doPlayerAddHealt(cid,-getCreatureHealth(cid))
end
end




Skrypt nadaje sie na noob ots

www.dumhog.pun.pl www.killarneypopolsku.pun.pl www.torcida-zaborze.pun.pl www.polscyfanatycy.pun.pl www.rpgseriale.pun.pl