XB

Pescando Na Lava!

Por xbowaxx, 02 de nov. de 2005 em Actions e Talkactions

script
13
3.3k
02 de novembro de 2005 às 22:53

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

Editado Junho 28 por JV Chequer

SplinterS
06 de novembro de 2005 às 23:02

o meu como q adapta pra 7.5?

07 de novembro de 2005 às 15:00

aff

eh so arrumar os ids

GikoG
07 de novembro de 2005 às 15:02

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

1 mês depois...
30 de dezembro de 2005 às 03:48

Mto loco gostei

1 mês depois...
15 de janeiro de 2006 às 19:00

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

Editado Janeiro 15 por marcusromanelli

3 semanas depois...
robson_dexR
30 de janeiro de 2006 às 12:20

VLW PELA ACTION VO EDITA PRO MEU OT 7.6

AddictA
31 de janeiro de 2006 às 17:52

Muito bom ;]

1 mês depois...
ShinokukS
27 de fevereiro de 2006 às 14:40

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

GMxtibiaG
28 de fevereiro de 2006 às 18:38

Num sabia ke iso e posivel ROX

2 anos depois...
lpwL
26 de fevereiro de 2008 às 23:58

mt bom velho

 

da pra viaja um poco com isso

e faze o kra pesca peixe e uns lixos tbm

 

:smile_positivo:

flws

MaNeRiNhUM
03 de março de 2008 às 14:23

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

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

1 mês depois...
rocketsR
14 de abril de 2008 às 00:15

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

:hi: