copia uma magia apaga tudo e poe akilo
info
Grupo: Campones
Registrado: 02/07/06
Posts: 9
Reputação: 0
o q q ela faiz????explica aew,tah mt mal explicado pra kem acabo de começar com OTServer.organiza o seu topico,usando quotes e codes,usando negrito italico sublinhado e usando cores.
eu anum to em casa,portanto eu naum posso colokr a magia no meu ot pra ver o q q faiz.
flw aew
F
U
I
n deu aki...
n fufnfou
PUtz q merds
info
Grupo: Cavaleiro
Registrado: 19/10/06
Posts: 164
Reputação: +2
Char no Tibia: Kazz Kzupzarski

magia sem utilidade e com nome totalmente nada a ve... ele tira 0 de dmg.. sem utilidade
info
Grupo: Herói
Registrado: 12/11/05
Posts: 715
Reputação: +1
Char 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.




info
Grupo: Campones
Registrado: 02/07/06
Posts: 9
Reputação: 0
area = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
}
attackType = ATTACK_FIRE
needDirection = false
areaEffect = NM_ME_SOUND_BLUE
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_EXPLOSION_DAMAGE
damageEffect = NM_ME_SOUND_BLUE
animationColor = BLUE
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 * 2 + maglv * 2) * 1.3 - 30
-- UltimateExplosionObject.maxDmg = (level * 2 + maglv * 2) * 2.0
UltimateExplosionObject.minDmg = (level * 2 + maglv * 3) * 2.3 - 30
UltimateExplosionObject.maxDmg = (level * 2 + maglv * 3) * 3.0
end
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered())
end