-
Total de itens
21 -
Registro em
-
Última visita
Tudo que evairloko postou
-
eu queria baixar mais n da pq meu pc é 32b :x ajuda ai
- 632 respostas
-
- tfs 1.0/1.2
- otserv
- (e 4 mais)
-
nem 1 desses presta
-
quero um server 10.10 do 5 +rep
-
é isso ai galera quero uma baiak com mount +rep praquem ajuda vlw
-
[Encerrado] Inforced nob de lvl 25 no maximo
um tópico no fórum postou evairloko Tópicos Sem Resposta
bom é isso ai eu quero um inforced de nob's começar lvl 25 no maximo 8.6 -
quero um ot de enforced rep praquem ajduar 8.6
-
ai eu duvido quem acha kkk
-
http://www.xtibia.co...otter-by-beddy/ 4shared plz :c
-
http://www.xtibia.co...otter-by-beddy/ 4shared plz :c ngm?
-
upa esse link ai kra ta bugado :x
- 59 respostas
-
- 8.6
- tibia harry potter
-
(e 3 mais)
Tags:
-
como Muda frist itense ñ da pra mover o que fika no anel ---Obrigado
-
pode ser ajud ai plz manda como msg
-
sim ajuda ai plzz eu quero aquele msm sistema do tibia gta pra atira
-
[Encerrado] [Ajuda] Como Mudar Outfit De Inicio?
tópico respondeu ao LucasCastro de evairloko em Tópicos Sem Resposta
com a mão -
amigo não deu ;/
-
como eu faço pra essa action so funfa c eu tiver a munição id2543 i quando eu usa ele vai gasta a munição id2543 Se possível ponha o efeito de um arrow saindo no tiro ela tbm tem q estar na mao do char xml <action itemid="2402" script="arma.lua" allowfaruse="1"/> action function onUse(cid, item, frompos, itemEx, toPosition) local configs = { sec = 0, -- segundos para explodir typex = CONST_ANI_BOLT, -- tipo da explosão min = 600, -- dano minimo da explosão max = 1000, -- dano maximo da explosão ef = 17, -- efeito da explosão item = 0, -- item ki vai criar no chão level = 1, -- level para usar o item } if getPlayerLevel(cid) >= configs.level then doCreateItem(configs.item, toPosition) for i = 1, configs.sec do local x = configs.sec - i local n = math.random(256) if i == 1 and x ~= 0 then elseif i <= configs.sec and i ~= 1 and x ~= 0 then end end addEvent(doAreaCombatHealth, 1000*configs.sec, cid, configs.typex, toPosition, area, -configs.min, -configs.max, configs.ef) addEvent(doCleanTile, 1000*configs.sec, toPosition, false) doRemoveItem(item.id, 2543) else doPlayerSendCancel(cid, "Voce precisa ser level ".. configs.level .." para usar este item.") end return true end
-
eu quero que quando eu do use na arma id 2402 dps cliko no monstro sai um tiro (efeito uma arrow) dai gasta a munição da bp que no caso sera arrow (id 2547)
-
Ola xtibia eu tenho uma action aqui i eu quero mudar Eu quero que ela atira so na target , (como uma runa) Tbm quero q quando usada essa arma id 2402, é removido esse iten da bp id 2547 tbm quero o efeito de um arrow saindo rumo ao alvo *-* xml <action itemid="2402" script="arma.lua" allowfaruse="1"/> Scripts function onUse(cid, item, frompos, itemEx, toPosition) local configs = { sec = 0, -- segundos para explodir typex = COMBAT_FIREDAMAGE, -- tipo da explosão min = 600, -- dano minimo da explosão max = 1000, -- dano maximo da explosão ef = 6, -- efeito da explosão item = 0, -- item ki vai criar no chão level = 1, -- level para usar o item } if getPlayerLevel(cid) >= configs.level then doCreateItem(configs.item, toPosition) for i = 1, configs.sec do local x = configs.sec - i local n = math.random(256) if i == 1 and x ~= 0 then elseif i <= configs.sec and i ~= 1 and x ~= 0 then end end addEvent(doAreaCombatHealth, 1000*configs.sec, cid, configs.typex, toPosition, area, -configs.min, -configs.max, configs.ef) addEvent(doCleanTile, 1000*configs.sec, toPosition, false) doRemoveItem(item.id, 2402) else doPlayerSendCancel(cid, "Voce precisa ser level ".. configs.level .." para usar este item.") end return true end ajuda ai plz.... +rep
-
Nessa action ela atira pra frente mais eu quero que ela atire na target vlw (para ficar = a do tibia gta) video da action como ela esta function isWalkable(pos, creature, proj, pz)-- by Nord if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end if getTopCreature(pos).uid > 0 and creature then return false end if getTileInfo(pos).protection and pz then return false, true end local n = not proj and 3 or 2 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return true end function doShootEffect(distancetotarget, effect, l, y) -- l = localpos(lookdirpos), y = dirvalue for i = 0, distancetotarget-1 do if isInArray({0,3}, y) then local _J = y == 0 and {x = l.x, y = l.y-i, z = l.z} or y == 3 and {x = l.x-i, y = l.y, z = l.z} doSendMagicEffect(_J, effect) else _J = y == 1 and {x = l.x+i, y = l.y, z = l.z} or y == 2 and {x = l.x, y = l.y+i, z = l.z} doSendMagicEffect(_J, effect) end end return true end local items = { [2534] = { balaid = 2545, level = 1, skillup = 5, mindamage = -1, maxdamage = -5255, damagetype = COMBAT_HOLYDAMAGE, } } local _MIT = {} local shootmode = "shooteffect mode" -- "effect mode" or "shooteffect mode" function onUse(cid, item, fromPosition, itemEx, toPosition) local function getFirstThingInArea(pos) for areax = pos.x, pos.x do for areay = pos.y, pos.y do local area = {x = areax, y = areay, z = pos.z} if isCreature(getTopCreature(area).uid) or not isWalkable(area) then table.insert(_MIT, getThingFromPos(area).uid) for s = 1, #_MIT-1 do table.remove(_MIT, s+1) end end end end return true end local l = getPlayerLookPos(cid) local y = getCreatureLookDirection(cid) local g = items[item.itemid] if g then if getPlayerLevel(cid) < g.level then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need level ".. g.level .." or higher.") end if getTilePzInfo(getCreaturePosition(cid)) then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You cannot use a gun in a protection zone.") end if item.uid ~= getPlayerSlotItem(cid, 5).uid then return doPlayerSendCancel(cid, "Equip your gun on gun slot.") end if getPlayerSlotItem(cid, 10).itemid == g.balaid then doRemoveItem(getPlayerSlotItem(cid, 10).uid, 1) doPlayerAddSkillTry(cid, g.skillup, 1) for T = 0, 20 do local _g = y == 0 and {x = l.x, y = l.y-T, z = l.z} or y == 3 and {x = l.x-T, y = l.y, z = l.z} or y == 1 and {x = l.x+T, y = l.y, z = l.z} or y == 2 and {x = l.x, y = l.y+T, z = l.z} getFirstThingInArea(_g) end if #_MIT >= 1 then local mpos = getThingPos(_MIT[1]) local ppos = getDistanceBetween(mpos, l) local ft = y == 0 and {x = l.x, y = l.y-ppos, z = l.z} or y == 1 and {x = l.x+ppos, y = l.y, z = l.z} or y == 2 and {x = l.x, y = l.y+ppos, z = l.z} or y == 3 and {x = l.x-ppos, y = l.y, z = l.z} if isCreature(getTopCreature(mpos).uid) then doAreaCombatHealth(0, g.damagetype, ft, 0, g.mindamage, g.maxdamage, 0) else doSendMagicEffect(ft, 3) end if shootmode == "shooteffect mode" then doShootEffect(ppos, 12, l, y) elseif shootmode == "effect mode" then doSendDistanceShoot(l, mpos, 40) end table.remove(_MIT, 1) end else doPlayerSendCancel(cid, "You do not have munition.") end end return true end Cole isso agora em action.xml -------------------------------------------------------------------------- <action itemid="2534" event="script" value="arma.lua"/> ------------------------------------------------------------------------- Explicação: local shootmode <-- Pode trocar para effect mode [2534] = { <-- ID DA ARMA balaid = 2545, <-- ID DA BALA level = 1, <-- Level para usar skillup = 5, <-- SKILL UP mindamage = -1, <-- MINIMO DE DANO maxdamage = -5255, <-- MAXIMO DE DANO damagetype = COMBAT_HOLYDAMAGE, <-- EFEITO DO TIRO em verde é a action original
-
nem deu amigo ;/
-
Quanto o pleyer usa o helmet: ightning headband (id 7901) O pleyer virar um monstro ajuda ai vlw tibia rl.bmp
-
[ Irregular ]Presiso De Uma Action = A Usada Para Atirar Com Arma No Tibia Gta
tópico respondeu ao evairloko de evairloko em Lixeira Pública
;/
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.