Pescando Na Lava!

Por
em Actions e Talkactions

Visitante xbowaxx

avatar
Visitante

INFOS

Grupo: Visitante

Oi gente ja vo avisano q essa action n e minha ok? n fui eu fiz, so modifikei mas la vai:

nessa action, quandu vc der use na vara i clik na agua, vc podera ganha GFB, FF rune, FS, etc...

1°, crie um arkivo fish lava.lua i coloke nele:

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

-- itemid means that is a creature

if item2.itemid == 598 then

skill_level = getPlayerSkill(cid,6)

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

doSendMagicEffect(topos,6)

rand = math.random(1000)

if rand >= 51 and rand <= 100 then

doPlayerAddItem(cid,2392,1)

doSendMagicEffect(topos,15)

elseif rand >= 101 and rand <= 150 then

doPlayerAddItem(cid,2432,1)

doSendMagicEffect(topos,15)

elseif rand >= 151 and rand <= 250 then

doPlayerAddItem(cid,2304,2)

doSendMagicEffect(topos,15)

elseif rand >= 251 and rand <= 350 then

doPlayerAddItem(cid,2305,2)

doSendMagicEffect(topos,15)

elseif rand >= 351 and rand <= 450 then

doPlayerAddItem(cid,2301,3)

doSendMagicEffect(topos,15)

elseif rand >= 451 and rand <= 550 then

doPlayerAddItem(cid,2308,1)

doSendMagicEffect(topos,15)

end

doPlayerAddSkillTry(cid,6,1)

elseif item2.itemid == 1509 then

skill_level = getPlayerSkill(cid,6)

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

doSendMagicEffect(topos,6)

rand = math.random(1000)

if rand >= 51 and rand <= 100 then

doPlayerAddItem(cid,2392,1)

doSendMagicEffect(topos,15)

elseif rand >= 101 and rand <= 150 then

doPlayerAddItem(cid,2432,1)

doSendMagicEffect(topos,15)

elseif rand >= 151 and rand <= 250 then

doPlayerAddItem(cid,2304,2)

doSendMagicEffect(topos,15)

elseif rand >= 251 and rand <= 350 then

doPlayerAddItem(cid,2305,2)

doSendMagicEffect(topos,15)

elseif rand >= 351 and rand <= 450 then

doPlayerAddItem(cid,2301,3)

doSendMagicEffect(topos,15)

elseif rand >= 451 and rand <= 550 then

doPlayerAddItem(cid,2308,1)

doSendMagicEffect(topos,15)

end

doPlayerAddSkillTry(cid,6,1)

elseif item2.itemid == 599 then

skill_level = getPlayerSkill(cid,6)

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

doSendMagicEffect(topos,6)

rand = math.random(1000)

if rand >= 51 and rand <= 100 then

doPlayerAddItem(cid,2392,1)

doSendMagicEffect(topos,15)

elseif rand >= 101 and rand <= 150 then

doPlayerAddItem(cid,2432,1)

doSendMagicEffect(topos,15)

elseif rand >= 151 and rand <= 250 then

doPlayerAddItem(cid,2304,2)

doSendMagicEffect(topos,15)

elseif rand >= 251 and rand <= 350 then

doPlayerAddItem(cid,2305,2)

doSendMagicEffect(topos,15)

elseif rand >= 351 and rand <= 450 then

doPlayerAddItem(cid,2301,3)

doSendMagicEffect(topos,15)

elseif rand >= 451 and rand <= 550 then

doPlayerAddItem(cid,2308,1)

doSendMagicEffect(topos,15)

end

doPlayerAddSkillTry(cid,6,1)

elseif item2.itemid == 600 then

skill_level = getPlayerSkill(cid,6)

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

doSendMagicEffect(topos,6)

rand = math.random(1000)

if rand >= 51 and rand <= 100 then

doPlayerAddItem(cid,2392,1)

doSendMagicEffect(topos,15)

elseif rand >= 101 and rand <= 150 then

doPlayerAddItem(cid,2432,1)

doSendMagicEffect(topos,15)

elseif rand >= 151 and rand <= 250 then

doPlayerAddItem(cid,2304,2)

doSendMagicEffect(topos,15)

elseif rand >= 251 and rand <= 350 then

doPlayerAddItem(cid,2305,2)

doSendMagicEffect(topos,15)

elseif rand >= 351 and rand <= 450 then

doPlayerAddItem(cid,2301,3)

doSendMagicEffect(topos,15)

elseif rand >= 451 and rand <= 550 then

doPlayerAddItem(cid,2308,1)

doSendMagicEffect(topos,15)

end

doPlayerAddSkillTry(cid,6,1)

elseif item2.itemid == 601 then

skill_level = getPlayerSkill(cid,6)

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

doSendMagicEffect(topos,6)

rand = math.random(1000)

if rand >= 51 and rand <= 100 then

doPlayerAddItem(cid,2392,1)

doSendMagicEffect(topos,15)

elseif rand >= 101 and rand <= 150 then

doPlayerAddItem(cid,2432,1)

doSendMagicEffect(topos,15)

elseif rand >= 151 and rand <= 250 then

doPlayerAddItem(cid,2304,2)

doSendMagicEffect(topos,15)

elseif rand >= 251 and rand <= 350 then

doPlayerAddItem(cid,2305,2)

doSendMagicEffect(topos,15)

elseif rand >= 351 and rand <= 450 then

doPlayerAddItem(cid,2301,3)

doSendMagicEffect(topos,15)

elseif rand >= 451 and rand <= 550 then

doPlayerAddItem(cid,2308,1)

doSendMagicEffect(topos,15)

end

doPlayerAddSkillTry(cid,6,1)

else

return 0

end

return 1

end

2°, no actions.xml coloca isso:

--CODE FISH NA LAVA MODIFICADO By MARCUSROMANELLI

<action itemid="2580" script="fish lava.lua" allowfaruse="1" />

e uma action de 7.4 simples + legal! [ se quiserem adptem para 7,5]

espero q tenham gostado

Duvidas? poste aki

Splinter

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 29/10/05Posts: 4

o meu como q adapta pra 7.5?

Visitante xbowaxx

avatar
Visitante

INFOS

Grupo: Visitante

aff

eh so arrumar os ids

Giko

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 02/11/05Posts: 74

Wow, massa hauehuae! Pescar em larva owna muito oO"

Pedala Robinhu

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 27/12/05Posts: 62

Mto loco gostei

Dak~.

marcusromanelli

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 14/10/05Posts: 2

aff vc copio meu post do [retirado] o0 podia pelo menos te peido neh????

robson_dex

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 22/10/05Posts: 5

VLW PELA ACTION VO EDITA PRO MEU OT 7.6

Addict

Ex-Diretor de Equipe
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 12/10/05Posts: 568Gênero: MasculinoChar no Tibia: Homao Dapoha

Muito bom ;]

Shinokuk

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 29/07/05Posts: 25

Me passa a action feita para 7.6 plz to precisando muito.vlwz

Voltei galeraaaa !!

Procuro equipe. Sou: Mapper,Npc/Monster Maker,Analisador de OT,Corrijo bugs de mapas,npc,monstros,spawns e outros.

lpw

;)
avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 03/10/07Posts: 108

mt bom velho

 

da pra viaja um poco com isso

e faze o kra pesca peixe e uns lixos tbm

 

:smile_positivo:

flws

¿ LPW ?

MaNeRiNhU

Banido
avatar
Banidos
Banidos

INFOS

Grupo: BanidosRegistrado: 25/09/06Posts: 190Char no Tibia: M e N

lpw, caso precise de posts... ~:NAO REVIVA OS TÓPICOS:~

basta ver a data do ultimo post, que no caso é em 28/02/2006



rockets

old times..
avatar
Cavaleiro
Cavaleiro

INFOS

Grupo: CavaleiroRegistrado: 29/02/08Posts: 180Char no Tibia: Fearnborn

Nao gostei, os players nem andam com vara de pesca e n ia ter mta utilidade pescar na lava, estranho.

:hi:

Ei, te ajudei?

maow.gif

Rep ++

 

Acesse meu Portfólio http://www.kawek.com.br/everton e se gostou clique em 'Gostou?' ..

Mais informações entre em contato: eu_everton_94@hotmail.com