Ir para conteúdo

Featured Replies

Postado

GALERA ESTOU COM ESSE BUG ALGUÉM PODE ME AJUDAR 

 

bugggggg.png?1405876728

 

 

petkill.lua

function onKill(cid, target, lastHit)

 
   if not isMonster(target) or getConfigValue("rateExperience") < 0.1 or getMonsterInfo(getCreatureName(target)) and getMonsterInfo(getCreatureName(target)).experience < 1 then return true end
 
   local pet = getPlayerPet(cid)
   if pet then
 doPetAddExperience(pet, getMonsterInfo(getCreatureName(target)).experience * petExpRate)
 if getLevelByExp(getPetExperience(pet)) > getPetLevel(pet) then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Your pet advanced from level " .. getPetLevel(pet) .. " to level " .. getLevelByExp(getPetExperience(pet)) .. ".")
doPetSetLevel(pet, getLevelByExp(getPetExperience(pet)))
 end
   end
   return true
end

ca.png?1422745283

 

CONQUISTASdesigner-king.png   Designer.png    

 

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.1k
  • Posts 512.5k

Informação Importante

Confirmação de Termo