Ir para conteúdo

Alguem Por-Favor Pode Me Ajudar Com Esse Script De Fish Spear Pq Tipo No Meu Ot Ele Fica Pescando Em


Posts Recomendados

é que ele fica pescando muito rapido e em 2 lugares e começa pescar monstros com skill 34 queria por pra começar pegar com skill acima de 100

 

 

 

 

 

-- example of fishing script--

 

function onUse(cid, item, frompos, item2, topos)

-- itemid means that is a creature

if item2.itemid == 490 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/200))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 491 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/400))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 492 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/700))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 618 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/1300))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 619 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(120+skill_level/3000))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 620 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(130+skill_level/3000))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 622 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(130+skill_level/3000))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 623 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(130+skill_level/4000))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 624 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(140+skill_level/6000))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 625 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/10))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 626 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/10))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 627 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/10))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 628 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/10))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,6,1)

 

elseif item2.itemid == 4608 then

skill_level = getPlayerSkill(cid,6)

random_number = math.random(1,(100+skill_level/10))

doSendMagicEffect(topos,53)

if random_number<=skill_level then

end

doPlayerAddSkillTry(cid,8,1)

else

return 0

end

return 1

end

Editado por danielluissilva
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...