Preçiso De Um Scripter Fera Mesmo Pra Me Ajudar Com Esse Script De Fishing

danielluissilva
em Actions e Talkactions

danielluissilva

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 29/01/12Posts: 3

Tipo eu queria que ficasse mais difiçill pra pescar monstros quando ponho pra pesca demora max 4 min queria por bem difiçil mesmo

 

 

 

 

local configg = {

waterIds = {493, 4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4820, 4821, 4822, 4823, 4824, 4825}

}

local monsters = {

{'Enraged Water Spirit'},

{'Triton'},

{'jaws'},

{'blastoise'}

}

local numero = 4 -- numero de monstros que você colocou /\

local number = 550000000000 -- < quanto maior, mais dificil de pescar um monstro

local config = {

rateSkill = getConfigValue("rateSkill"),

useWorms = true

}

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

if(not isInArray(configg.waterIds, item2.itemid)) then

return false

end

local chance = math.random(1,numero+number) --

if chance >= 1 and chance <= numero then

create = monsters[chance][1]

doSummonCreature(create, getCreaturePosition(cid))

doSendMagicEffect(topos, 10)

doCreatureSay(cid, "Boa, Faça Um Bom Aproveito", TEXTCOLOR_BLUE)

else

doSendMagicEffect(topos, 53)

end

if((config.allowFromPz or not getTileInfo(getCreaturePosition(cid)).protection) and item2.itemid ~= 493 and

math.random(1, (100 + (getPlayerSkill(cid, SKILL_FISHING) / 10))) < getPlayerSkill(cid, SKILL_FISHING) and

(not config.useWorms or (getPlayerItemCount(cid, ITEM_WORM) > 0 and doPlayerRemoveItem(cid, ITEM_WORM, 0)))) then

doPlayerAddSkillTry(cid, SKILL_FISHING, config.rateSkill)

doSendMagicEffect(topos, 53)

else

doSendMagicEffect(topos, 53)

end

return true

end

Gabriel001

Wendels Dark
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 29/04/08Posts: 35Char no Tibia: Roya Latex

oque tu quer q eu façe com ele ?

nao entendi !

Se gOsToU me de REP +

 

entre no meu canal e assista aos videos do meu server --> (off ainda.. só fica ON quando for dedicado 24/7 , preciso começar a trabalhar )

Akilles Server : http://www.youtube.com/user/wendelsdark/videos

Zmovir

Shadow Worlds rpg
avatar
Barão
Barão

INFOS

Grupo: BarãoRegistrado: 28/09/10Posts: 237

 

 

local configg = {

waterIds = {493, 4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4820, 4821, 4822, 4823, 4824, 4825}

}

local monsters = {

{'Enraged Water Spirit'},

{'Triton'},

{'jaws'},

{'blastoise'}

}

local numero = 4 -- numero de monstros que você colocou /\

local number = 1200 -- < quanto maior, mais dificil de pescar um monstro

local config = {

rateSkill = getConfigValue("rateSkill"),

useWorms = true

}

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

if(not isInArray(configg.waterIds, item2.itemid)) then

return false

end

local chance = math.random(1,numero+number) --

if chance >= 1 and chance <= numero then

create = monsters[chance][1]

doSummonCreature(create, getCreaturePosition(cid))

doSendMagicEffect(topos, 10)

doCreatureSay(cid, "Boa, Faça Um Bom Aproveito", TEXTCOLOR_BLUE)

else

doSendMagicEffect(topos, 53)

end

if((config.allowFromPz or not getTileInfo(getCreaturePosition(cid)).protection) and item2.itemid ~= 493 and

math.random(1, (100 + (getPlayerSkill(cid, SKILL_FISHING) / 10))) < getPlayerSkill(cid, SKILL_FISHING) and

(not config.useWorms or (getPlayerItemCount(cid, ITEM_WORM) > 0 and doPlayerRemoveItem(cid, ITEM_WORM, 0)))) then

doPlayerAddSkillTry(cid, SKILL_FISHING, config.rateSkill)

doSendMagicEffect(topos, 53)

else

doSendMagicEffect(topos, 53)

end

return true

end

 

Testa ai

Conheça o shadow worlds clique na imagen

xd9c6.jpg

 

 

 

Metas:

 

Ter uma meta [x]