achu q agora vai ^^
local function isSummon(cid)
if not isCreature(cid) then return false end
if getCreatureMaster(cid) ~= cid then
return true
end
return false
end
function onDeath(cid, corpse, deathList)
local qntdade = 600
local stoTime = 96586
local stoKill = 96587
if getCreatureName(cid) == "Multi" and isMonster(cid) and not isSummon(cid) then
for a = 1, #deathList do
local pk = deathList[a]
local left = math.ceil((getPlayerStorageValue(pk, stoTime) - os.time())/(24 * 60 * 60))
if left > 0 and getPlayerStorageValue(pk, stoKill) > 0 then
setPlayerStorageValue(pk, stoKill, getPlayerStorageValue(pk, stoKill) - 1)
local sto = getPlayerStorageValue(pk, stoKill)
local jaMatou = math.abs(getPlayerStorageValue(pk, stoKill)-qntdade)
if sto == 0 then
doPlayerSendTextMessage(pk, 22, "[Multi Task Finalizada] ("..qntdade.."/"..qntdade..")")
else
doPlayerSendTextMessage(pk, 22, "[Multi Task] ("..jaMatou.."/"..qntdade..")")
end
end
end
end
return true
end









info
Grupo: Visconde
Registrado: 21/08/11
Posts: 470
Reputação: +5
Char no Tibia: ...
Slicer comigo o script ta funcionando perfeitamente já até fiz a task pra outro monstro que não tem o problema da task contar os clones mais presiso da task pro multi tambem tente arrumar ai pra não contar os clones qualquer coisa o monstro multi ta ai pra cima já vou até te dar 1 rep aki depois que voce arrumar o bug pra não contar os summons dou outro REP vlw