Angelical

DIP
Por DIP
em Globalevents e Spells

DIP

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 09/07/06Posts: 4

Aew gente fiz mais uma magia roc

ANJELICAL.lua :

QUOTE

area = {

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

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

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

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

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

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

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

{0, 0, 0, 0, 1, 1, 1, 0, 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, 0, 0, 0, 0, 0, 0, 0},

}

attackType = ATTACK_PHYSICAL

needDirection = false

areaEffect = NM_ME_HIT_AREA

animationEffect = NM_ANI_NONE

hitEffect = NM_ME_HIT_AREA

damageEffect = NM_ME_HIT_AREA

animationColor = RED

offensive = true

drawblood = true

UltimateExplosionObject = 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}

n = tonumber(var) -- try to convert it to a number

if n ~= nil then

-- bugged

-- ultimateExplosionObject.minDmg = var+0

-- UltimateExplosionObject.maxDmg = var+0

UltimateExplosionObject.minDmg = 0

UltimateExplosionObject.maxDmg = 0

else

-- UltimateExplosionObject.minDmg = (level * 3 + maglv * 4) * 2.3 - 30

-- UltimateExplosionObject.maxDmg = (level * 3 + maglv * 4) * 3.0

UltimateExplosionObject.minDmg = (level * 2.5 + maglv * 2.5) * 1.2

UltimateExplosionObject.maxDmg = (level * 2.5 + maglv * 2.5) * 2.3

end

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

end

Spells.xml :

QUOTE

<spell name="Anjo" words="anjelical" maglv="8" mana="350" enabled="1"><vocation id="3" /><vocation id="4" /></spell>

só tentando ajudar ao proximo

a procura do server perfeito

COMENTEM PLX

:secret::secret::secret:

:bye:

site de acc do meu server ---> Site De Acc Aqui entrem

ip do server : darksserver.servegame.com
exp: 60x skills e ml : 50x
server rox

user posted image
user posted image
user posted image
user posted image
user posted image
user posted image
user posted image


user posted image


user posted image

skynagerloas

Ex-Moderador
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 13/11/05Posts: 715Char no Tibia: Lord'Skyxt

Tópico contendo somente 1 ou 2 Spells,

essa seção é para DataPacks com 3 ou mais Npcs,

~o{Tópico Movido}o~,

Abraços.

Atenciosamente, Sky - Lord'Skyxt;

 

Antes de postar, leia isso:



Regras.

[Lord'SkyXT] [FloGão]