Va em data/creaturescript/scripts copie um e cole e renomeie para killrank e ponha isso dentro:
local monsters = {--name = storage
["demon"] = 460000,
["orshaabal"] = 460000,
["juggernault"] = 460000,
["hydra"] = 460000,
["medusa"] = 460000,
["morgaroth"] = 460000,
["ghazbaran"] = 460000,
}
function onKill(cid, target)
if(isMonster(target) == TRUE) then
local name = getCreatureName(target)
local monster = monsters[string.lower(name)]
if(monster) then
local killedMonsters = getPlayerStorageValue(cid, monster)
if(killedMonsters == -1) then
killedMonsters = 1
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Voce ganhou mais um ponto de rank")
setPlayerStorageValue(cid, monster, killedMonsters + 1)
end
end
return TRUE
end
Agora va em creaturescript.xml e cole esta tag:
<event type="kill" name="KilledMonstersCounter" script="killrank.lua"/>
Mude os nomes dos monstros conforme voce queira adicione mais linhas se quizer, quanto ao rank nao sei como faz desculpe =/







info
Grupo: Campones
Registrado: 01/08/09
Posts: 22
Reputação: 0
Char no Tibia: Xeremeleque
Pessoal..presciso muito de um script que quando voce mata o bixo voce ganha 1 de reputaçao...e outro com rank de reputaçao..vlw