Forum nie tylko o Tibii i OTS...

Nie tylko o Tibii i OTS...


#1 2007-12-07 21:15:36

jasiu1995l

http://i49.tinypic.com/2uggx2g.jpg

Zarejestrowany: 2007-12-05
Posty: 1396

DEATHSTAR VIS ( SPELL)

Postanowilem napisac fajny skrypt z ciekawym czarem a mianowicie
Deathstar vis
area = {
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 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, 0},
{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, 0, 0, 0, 0, 1, 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_EXPLOSION_DAMAGE
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) * 2.3 - 30
UltimateExplosionObject.maxDmg = (level * 2 + maglv * 3) * 3.0
end

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

w data/spells/spell.XML
wstaw to <spell name="Smierconosna gwiazda" words="deathstar vis" maglv="50" mana="100" enabled="1"><vocation id="1" /><vocation id="2" /><vocation id="3" /><vocation id="4" /></spell>

Offline

 

#2 2007-12-07 22:12:46

SmileY

http://i37.tinypic.com/330fo7t.gif

4011293
Zarejestrowany: 2007-11-09
Posty: 677

Re: DEATHSTAR VIS ( SPELL)

No ok niezle... Tylko dziwne ty chyba nie spisz tylko robisz scripty bo to juz chyba 3-5 dzisiaj

Offline

 

#3 2007-12-08 09:17:14

jasiu1995l

http://i49.tinypic.com/2uggx2g.jpg

Zarejestrowany: 2007-12-05
Posty: 1396

Re: DEATHSTAR VIS ( SPELL)

hehe spie ale narazie daje te co juz kiedys zrobilem

Ostatnio edytowany przez jasiu1995l (2007-12-08 09:17:52)

Offline

 

#4 2007-12-08 09:27:42

 Rici

Sułtan łechtaczek

Skąd: Ełk
Zarejestrowany: 2007-05-15
Posty: 1753
Nick: Vineium Doron
Profesja: Paladyn
Server: Guardia
Level: 64

Re: DEATHSTAR VIS ( SPELL)

@up kiedyś zrobiłeś ?? Chyba na innym forum znalazłeś !!!


http://img13.imageshack.us/img13/8466/ovoj.jpg

Offline

 

#5 2007-12-08 09:39:39

jasiu1995l

http://i49.tinypic.com/2uggx2g.jpg

Zarejestrowany: 2007-12-05
Posty: 1396

Re: DEATHSTAR VIS ( SPELL)

lol sam zrobilem

Offline

 

#6 2007-12-08 17:28:50

 Rici

Sułtan łechtaczek

Skąd: Ełk
Zarejestrowany: 2007-05-15
Posty: 1753
Nick: Vineium Doron
Profesja: Paladyn
Server: Guardia
Level: 64

Re: DEATHSTAR VIS ( SPELL)

To czemuna 1/4 serverów jest ten czar ?? Dałeś im ??


http://img13.imageshack.us/img13/8466/ovoj.jpg

Offline

 

#7 2007-12-08 17:35:03

Burbon

http://i37.tinypic.com/30iway9.gif

9616756
Skąd: Katowice
Zarejestrowany: 2007-10-28
Posty: 92
Nick: xxxxxxx
Profesja: Aldora
Server: 116

Re: DEATHSTAR VIS ( SPELL)

rici napisał:

To czemuna 1/4 serverów jest ten czar ?? Dałeś im ??

Tak, widzialem juz to na kilku serverach


Save Your Planet ~ Kill Yourself

Offline

 

#8 2007-12-21 17:01:37

Nightmare

http://i37.tinypic.com/zmmamp.gif

Zarejestrowany: 2007-12-18
Posty: 33

Re: DEATHSTAR VIS ( SPELL)

lol nie Wiecie że on nie umie robić skryptów tylko je kopiuje z innych for

Offline

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora
usuwanie adblue Garden Sentral Hotel