AN

Me Ajuda Ai Na Espell Por Favor

Por Antiemoxlr, 11 de jan. de 2010 em Archived

tibia
script
otserv
5
556
AntiemoxlrA
11 de janeiro de 2010 às 18:30

Eu queria uma spell arrow que telepora o player a 5 sqm para frente

e Para Tibia 8.40 se alguem ´poder me ajudar eu agradeso e ajudo com scripts criados por mim =p

anti_emos2natalia@hotmail.com

Editado Janeiro 18 por Antiemoxlr

OneshotO
11 de janeiro de 2010 às 19:59

Qual a versão do Tibia?

Sem informações, fica difícil de realizar teu pedido, rapaz.

AntiemoxlrA
12 de janeiro de 2010 às 00:18

e tibia 8.40 Brow :rolleyes:

4540774
13 de janeiro de 2010 às 09:38

local acombat = createCombatObject()

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SNIPERARROW)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.2, -80, -2.9, -120)

 

local arr = {

{0, 0, 0, 0, 0, 0, 0},

{0, 1, 0, 0, 0, 1, 0},

{0, 0, 1, 1, 1, 0, 0},

{0, 0, 1, 3, 1, 0, 0},

{0, 0, 1, 1, 1, 0, 0},

{0, 1, 0, 0, 0, 1, 0},

{0, 0, 0, 0, 0, 0, 0}

}

 

local area = createCombatArea(arr)

setCombatArea(acombat, area)

 

function onTargetTile(cid, pos)

doCombat(cid,combat,positionToVariant(pos))

end

 

setCombatCallback(acombat, CALLBACK_PARAM_TARGETTILE, "onTargetTile")

 

function onCastSpell(cid, var)

return doCombat(cid, acombat, var)

 

end

AntiemoxlrA
13 de janeiro de 2010 às 13:15

mas essa spell nao ataca o player para longe =( :wacko: