x = 1 ---troque por o 1 por quanto se quer que ganhe quando compra,se dexa 1 vai ganha
club = (getPlayerSkill(cid,1)+x)
sword = (getPlayerSkill(cid,2)+x)
axe = (getPlayerSkill(cid,3)+1)
distance = (getPlayerSkill(cid,4)+x)
shield = (getPlayerSkill(cid,5)+x)
ml = (getPlayerMagLevel(cid)+x)
function onSay(cid, words, param) --- troque y pela quantidade de crystal coins nessesaria para comprar
if doPlayerRemoveItem(cid,2160,y) then
doPlayerSetSkill(cid, 2, sword)
doPlayerSetSkill(cid, 3, axe)
doPlayerSetSkill(cid, 4, distance)
doPlayerSetSkill(cid, 5, shield)
doPlayerSetSkill(cid, 1, club)
doPlayerSetMagic(cid,ml)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA)
doCreatureSay(cid, "sera kikado", TALKTYPE_ORANGE_1)
addEvent(doRemoveCreature, 3*1000, cid, true)
else
doPlayerSendCancel(cid, 'voce n tem dinheiro suficiente para comprar.')
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA)
end
end