#1 2007-03-18 21:48:22

MrGi

Zielony

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

Nowy czar dla knighta

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

attackType = ATTACK_PHYSICAL
needDirection = false
areaEffect = NM_ME_MORT_AREA
animationEffect = NM_ANI_SUDDENDEATH

hitEffect = NM_ME_MORT_AREA
damageEffect = NM_ME_MORT_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 * 2 + maglv * 3) * 4.0
UltimateExplosionObject.maxDmg = (level * 2 + maglv * 3) * 5.0
end

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

Offline

 

#2 2007-03-19 13:01:09

Fox

Moderator

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

Re: Nowy czar dla knighta

Jak ten czar działa? I tak go chcem xD

Offline

 

#3 2007-03-20 13:23:30

Wyzzer

Zielony

Zarejestrowany: 2007-03-14
Posty: 17
Punktów :   

Re: Nowy czar dla knighta

...o0 ja zrobilem na swoim ots w domq potworka gay lord buje love lecz kazda kratka po uderzeniu jest w ksztalcie serca

Offline

 

#4 2007-03-25 19:00:25

Devil

Administrator

Zarejestrowany: 2006-12-22
Posty: 152
Punktów :   
WWW

Re: Nowy czar dla knighta

@up
noob? nieda sie tak zrobic bo w tibi niema wyglodu kratki w ksztalcie serca....ale wy sie popisujecie...boshe

Offline

 

#5 2007-04-05 14:11:31

ja tamozi

Zbanowany

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

Re: Nowy czar dla knighta

a moze dacie mi tutka

Offline

 

#6 2007-04-05 14:29:05

ja tamozi

Zbanowany

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

Re: Nowy czar dla knighta

a moze dacie mi tutka

Offline

 

#7 2007-04-07 09:29:56

Devil

Administrator

Zarejestrowany: 2006-12-22
Posty: 152
Punktów :   
WWW

Re: Nowy czar dla knighta

@up
Banned

Offline

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora