Ir para conteúdo

Magia N Funfa Direito


syshuy

Posts Recomendados

aeew alguem pode me ajuda??

 

e o seguinte : a magia so funciona se estiver de costas ^ .

 

 

o script é esse

 

 

area = {

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

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

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

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

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

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

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

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

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

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

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

}

 

attackType = ATTACK_PHYSICAL

needDirection = true

areaEffect = 37

animationEffect = 37

 

hitEffect = 37

damageEffect = 37

animationColor = 71

offensive = true

drawblood = true

 

GreatEnergyBeamObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)

 

function onCast(cid, creaturePos, level, maglv, var)

centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}

GreatEnergyBeamObject.minDmg = (level * 1 + maglv * 1) * 2.2

GreatEnergyBeamObject.maxDmg = (level * 1 + maglv * 1) * 2.7

 

return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, GreatEnergyBeamObject:ordered())

end

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...