#1 2007-03-18 20:51:35

MrGi

Zielony

Zarejestrowany: 2007-03-05
Posty: 26
Punktów :   

Czar knight - Star Exori

area = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0},
{0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
}

attackType = NM_ME_BLOCKHIT
needDirection = false
areaEffect = NM_ME_BLOCKHIT
animationEffect = NM_ANI_NONE

hitEffect = NM_ME_NONE
damageEffect = NM_ME_BLOCKHIT
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 = 400
UltimateExplosionObject.maxDmg = 500
end

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

Offline

 

#2 2007-03-19 12:00:45

Fox

Moderator

Zarejestrowany: 2007-02-18
Posty: 216
Punktów :   

Re: Czar knight - Star Exori

Eee? Ja to cem!!

Offline

 

#3 2007-03-27 12:46:51

MaRiO oF KnIgHt

Zielony

Zarejestrowany: 2007-03-13
Posty: 32
Punktów :   

Re: Czar knight - Star Exori

Moze byc

Offline

 

#4 2007-04-05 12:22:35

ja tamozi

Zbanowany

Zarejestrowany: 2007-04-05
Posty: 30
Punktów :   

Re: Czar knight - Star Exori

a moze dacie mi tutka

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi

[ Generated in 0.011 seconds, 8 queries executed ]


Darmowe Forum | Ciekawe Fora | Darmowe Fora
GotLink.pl