Najlepszy OTS
 
Szukanie zaawansowane
   
 
Home Rejestracja FAQ Użytkownicy Grupy Galerie  
 
 

Forum Najlepszy OTS Strona Główna Skrypty Czar - Exevo Gran Mas Mort
Wyświetl posty z ostatnich:   
       
Napisz nowy temat  Odpowiedz do tematu

Sob 15:54, 18 Mar 2006
Autor Wiadomość
Administrator
Administrator
Administrator



Dołączył: 05 Mar 2006
Posty: 118
Przeczytał: 0 tematów

Ostrzeżeń: 0/5

Temat postu: Czar - Exevo Gran Mas Mort

Czar "exevo gran mas mort" jest to ma pole jak razenia jak UE i jest 2 razy lepszy od niego (przeznaczony dla druidow) ale oczywiscie mozna to zmenic
na poczatek tworzymy plik w data/spells/instant/exevo gran mas mort
i piszemy tam ten kod

Kod:
area = {
   {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
   {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
   {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
   {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
   {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
   {1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1},
   {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
   {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
   {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
   {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
   {0, 0, 0, 0, 0, 1, 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 * 3 + maglv * 4) * 3.3 - 30
   UltimateExplosionObject.maxDmg = (level * 3 + maglv * 4) * 4.0
   end
   
   return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered())
   end


nastepnie wklwjamy tom linijke do data/spells/spells.xml

Kod:
<spell name="Ultimate death"words="exevo gran mas mort"maglv="50"mana="1000"enabled="1"><vocation id="2"/><vocation id="5" /></spell>


i to wszystko milej zabawy z nowym czarem


Post został pochwalony 0 razy
 
Zobacz profil autora
      Do góry  
Napisz nowy temat  Odpowiedz do tematu

 
Możesz pisać nowe tematy
Możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach


      Do góry  

Strona 1 z 1
Skocz do:  
fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004
             
Regulamin