Forum Kamilexia Strona Główna
->
Skrypty
Napisz odpowiedź
Użytkownik
Temat
Treść wiadomości
Emotikony
Więcej Ikon
Kolor:
Domyślny
Ciemnoczerwony
Czerwony
Pomarańćzowy
Brązowy
Żółty
Zielony
Oliwkowy
Błękitny
Niebieski
Ciemnoniebieski
Purpurowy
Fioletowy
Biały
Czarny
Rozmiar:
Minimalny
Mały
Normalny
Duży
Ogromny
Zamknij Tagi
Opcje
HTML:
NIE
BBCode
:
TAK
Uśmieszki:
TAK
Wyłącz BBCode w tym poście
Wyłącz Uśmieszki w tym poście
Kod potwierdzający: *
Wszystkie czasy w strefie EET (Europa)
Skocz do:
Wybierz forum
Kamilexia
----------------
Newsy!!!
Debugi
Zazalenia
Skrypty
Screeny
Questy
Handel
Czary
Pytania Do GOD'a
RL Life
----------------
Hobby
Humor
Prawdziwe Historie
O Wszystkim I O Niczym
HMMM...
----------------
A Wiec...
Przegląd tematu
Autor
Wiadomość
Barto
Wysłany: Nie 21:07, 16 Wrz 2007
Temat postu:
uheuheuhe fakt
nie trzymamy sie tematu
GOD Kamilex
Wysłany: Nie 12:43, 16 Wrz 2007
Temat postu:
jeszcze mam do was prosbe, jak piszecie skrypty to piszcie wszystkie w 1 temacie bo juz z 5 tematow o tym samym
thx
Barto
Wysłany: Nie 10:06, 16 Wrz 2007
Temat postu:
eeee ale i tak zajebiscie
Kadia
Wysłany: Sob 15:50, 15 Wrz 2007
Temat postu: 2 Monstery i 2 Spelle...
Porobilam Dzisiaj Skrypty Z Nudow Wiec Moga Byc Takie Se:
Spelle:
1.Knight's Help:
Kod:
area = {
{1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1},
{1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0},
{1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0},
{1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0},
{1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1},
{1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1},
}
attackType = ATTACK_PHYSICAL
needDirection = false
areaEffect = NM_ME_HIT_AREA
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_HIT_AREA
damageEffect = NM_ME_HIT_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
UltimateExplosionObject.minDmg = (level * 1.5 + maglv * 1.5) * 1.2
UltimateExplosionObject.maxDmg = (level * 1.5 + maglv * 1.5) * 2.3
end
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered())
end
W ots>data>spells>spells.xml:
Kod:
<spell name="Knight's Help" words="big illusion exori" maglv="6" mana="900" enabled="1"><vocation id="4" /></spell>
2.Palladin's Hope:
Kod:
area = {
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
}
attackType = ATTACK_PHYSICAL
needDirection = false
areaEffect = NM_ME_EXPLOSION_AREA
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_EXPLOSION_DAMAGE
damageEffect = NM_ME_DRAW_BLOOD
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
W ots>data>spells>spells.xml:
Kod:
<spell name="Palladin's Hope" words="pally atack" maglv="20" mana="900" enabled="1"><vocation id="3" /></spell>
Monstery:
1.Horus:
Kod:
<?xml version="1.0"?>
<monster name="Horus" level="80" maglevel="80" experience="20000" pushable="0" armor="40" defense="40" canpushitems="1" staticattack="50" changetarget="200" speed="500">
<health now="15000" max="15000"/>
<mana nom="2000" max="2000"/>
<look type="73" head="20" body="30" legs="40" feet="50" corpse="3128"/>
<combat targetdistance="2" runonhealth="0"/>
<attacks>
<attack type="melee" mindamage="300" maxdamage="500" probability="1000" />
<attack type="instant" name="utamo vita" cycleticks="5000" probability="1000" />
<attack type="instant" name="exura vita" cycleticks="5000" probability="1000" />
<attack type="rune" name="sudden death" cycleticks="5000" porbability="1000" />
<attack type="rune" name="heave magic missile" cycleticks="5000" probability="1000" />
<attack type="distance" name="burst arrow" mindamage="100" maxdamage="200" probability="1000" />
</attacks>
<defenses>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="energy"/>
</defenses>
<voices>
<voice sentence="Nie Zadzieraj Ze Mna..."/>
</voices>
<loot>
<item id="2152" countmax="7" chance1="50000" chancemax="0"/>
<item id="2393" chance="1000"/>
<item id="2470" chance="2000"/>
<item id="2522" chance="1333"/>
<item id="2158" chance="10000"/>
<item id="2319" chance="9000"/>
<item id="2462" chance="50000"/>
<item id="2153" chance="50000"/>
<item id="2472" chance="1857"/>
<item id="1987" chance="33333">
<inside>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2148" countmax="100" chance1="50000" chancemax="0"/>
<item id="2148" countmax="100" chance1="50000" chancemax="0"/>
<item id="2144" countmax="10" chance1="50000" chancemax="0"/>
<item id="2178" chance="100000"/>
<item id="2402" chance="50000"/>
<item id="2390" chance="2000"/>
<item id="2646" chance="3333"/>
</inside>
</item>
</loot>
<summons maxSummons="3">
<summon name="Hero" chance="500"/>
</summons>
</monster>
W ots>data>monsters>monsters.xml:
Kod:
<monster name="Horus" file="Horus.xml" />
2.Great Djinn:
Kod:
<?xml version="1.0"?>
<monster name="Great Djinn" level="90" maglevel="90" experience="30000" pushable="0" armor="20" defense="20" canpushitems="1" staticattack="50" changetarget="2000">
<health now="33000" max="33000"/>
<look type="80" head="20" body="30" legs="40" feet="50" corpse="3001"/>
<combat targetdistance="5" runonhealth="0"/>
<attacks>
<attack type="melee" maxdamage="700"/>
<attack type="rune" name="p sd" exhaustion="50" cycleticks="3000" probability="700"/>
<attack type="rune" name="p sd" exhaustion="50" cycleticks="6000" probability="900"/>
<attack type="rune" name="p missile" exhaustion="50" cycleticks="2000" probability="450"/>
<attack type="rune" name="p missile" exhaustion="50" cycleticks="4000" probability="900"/>
<attack type="instant" name="exura vita" exhaustion="500" cycleticks="3000" probability="1000"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="paralyze"/>
<defense immunity="drunk"/>
<defense immunity="invisible"/>
</defenses>
<loot>
<item id="2148" countmax="20" chance1="100000" chancemax="0"/>
<item id="2684" countmax="5" chance1="50000" chancemax="0"/>
<item id="2146" countmax="4" chance1="6666" chancemax="0"/>
<item id="1971" chance="10000"/>
<item id="2044" chance="20000"/>
</loot>
<summons maxSummons="3">
<summon name="Blue Djinn" chance="400"/>
</summons>
</monster>
W ots>data>monsters>monsters.xml:
Kod:
<monster name="Great Djinn" file="Great Djinn.xml" />
W "Great Djinn" sa Looty Jak Z Blue Djinna, Bo Nie Chcialo Mi Sie Mienic ;/. Jak Prosili Kiedys Gracze, Potwory Maja Slabszy Def I Atak. Spelle Sa od Mniejszego Mlvl Dla Knight'a i Dla Palla ;]. Mam Nadzieje Ze GOD Uwzgledni Skrypty W OTS, No I Oczywiscie, Oceniajcie xD
fora.pl
- załóż własne forum dyskusyjne za darmo
Powered by
phpBB
© 2001, 2002 phpBB Group
Charcoal2 Theme ©
Zarron Media
Regulamin