Autor |
Wiadomość |
You are Dead
Rookman
Dołączył: 03 Sie 2006
Posty: 7
Przeczytał: 0 tematów
Ostrzeżeń: 7/7
|
|
Skrypty z Potworkami,spelami itp. FOR GM SKORPIOON |
|
1.To spells na kase
W data/spells/instant dodajemy pliczek o nazwie exevo gold i dodajemy do niego
Cytat:
function onCast(cid, creaturePos, level, maglv, var)
n = makeArrows(cid,2160,1);
return n
end
A nastempnie w data/spells/spells dodajemy linijke
Cytat:
<spell name="Gold..." words="exevo gold" maglv="70" mana="2000" enabled="1"><vocation id="2" /><vocation id="1" /><vocation id="6" /><vocation id="0" /></spell>
2.Czar dla knightów chyba XD
W data/spells/instant dodajemy pliczek exora i dodajemy do niego
Cytat:
area = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 0, 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},
{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_HIT_AREA
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_HIT_AREA
damageEffect = NM_ME_HIT_AREA
animationColor = RED
offensive = true
drawblood = true
ExoriObject = 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
-- ExoriObject.minDmg = var+0
-- ExoriObject.maxDmg = var+0
ExoriObject.minDmg = 0
ExoriObject.maxDmg = 0
else
-- ExoriObject.minDmg = (level * 2 + maglv * 3) * 2.5 - 30
-- ExoriObject.maxDmg = (level * 2 + maglv * 3) * 3.2
ExoriObject.minDmg = (level * 1.5 + maglv * 1.5) * 1.4
ExoriObject.maxDmg = (level * 1.5 + maglv * 1.5) * 2.5
end
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, ExoriObject:ordered())
end
Nastempnie w data/spells/spells dodajemy linijke
Cytat:
<spell name="Battle Song" words="exora" maglv="6" mana="250" enabled="1"><vocation id="4" /></spell>
3.Cos dla gm jak bedzie chcial zabic czlowieka
W data/spells/instant dodajemy pliczek o nazwie death i dodajemy do niego
Cytat:
area = {
{0, 1, 0},
{1, 1, 1},
{0, 1, 0},
}
attackType = NM_ME_BLOCKHIT
needDirection = false
areaEffect = NM_ME_BLOCKHIT_AREA
animationEffect = NM_ANI_FIRE
hitEffect = NM_ME_EXPLOSION_DAMAGE
damageEffect = NM_ME_BLOCKHIT
animationColor = RED
offensive = true
drawblood = true
HealFriendObject = 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} targetpos = getPosition(var)
HealFriendObject.minDmg = (level * 2 + maglv * 3) * 2
HealFriendObject.maxDmg = (level * 2 + maglv * 3) * 3.5
if targetpos.x ~= nil and targetpos.z ~= nil and targetpos.y ~= nil then
if math.abs(targetpos.x - centerpos.x) < 18 and math.abs(targetpos.y - centerpos.y) < 14 and targetpos.z == centerpos.z then
return doTargetMagic(cid, targetpos, HealFriendObject:ordered())
end
end
return false
end
Nastempnie w data/spells/spells dodajemy linijke
Cytat:
<spell name="death" words="death" maglv="5000" mana="2090000" enabled="1"><vocation id="1" /><vocation id="2" /></spell>
4.Dla sorc i drut przydatne robi po 100 burst arrow
W data/spells/instant dodajemy pliczek o nazwie utevo res burstarrow i dodajemy do niego
Cytat:
function onCast(cid, creaturePos, level, maglv, var)
n = makeArrows(cid,2546,100);
return n
end
Nastempnie w data/spells/spells dodajemy linijke
Cytat:
<spell name="utevo res burst arrow" words="utevo res burst arrow" maglv="6" mana="1000" enabled="1"><vocation id="1" /><vocation id="2" /></spell>
5.Cos dla knight
W data/spells/instant dodajemy pliczek o nazwie mega exori i dodajemy do niego
Cytat:
area = {
{0, 0, 0, 0, 0, 0, 0},
{0, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 0, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 0},
{0, 0, 0, 0, 0, 0, 0}
}
attackType = ATTACK_NONE
needDirection = false
areaEffect = NM_ME_HIT_AREA
animationEffect = NM_ANI_SUDDENDEATH
hitEffect = NM_ANI_SUDDENDEATH
damageEffect = NM_ME_MAGIC_BLOOD
animationColor = RED
offensive = true
drawblood = true
exoriObject = 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}
exoriObject.minDmg = (level * 2 + maglv *3) * 10
exoriObject.maxDmg = (level * 2 + maglv *3) * 15
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, exoriObject:ordered())
end
Nastempnie w data/spells/spells dodajemy linijke
Cytat:
<spell name="mega exori" words="mega exori" maglv="7" mana="300" enabled="1"><vocation id="1" /><vocation id="2" /></spell>
6.Cos na milosc
W data/spells/instant dodajemy pliczek o nazwie love i dodajemy do niego
Cytat:
area = {
{0, 0, 0, 4, 0, 0, 0, 0, 0, 4, 0},
{0, 0, 4, 1, 4, 0, 0, 0, 4, 1, 4},
{0, 4, 1, 2, 1, 4, 0, 4, 1, 1, 4},
{0, 4, 1, 2, 2, 1, 4, 1, 2, 1, 4},
{0, 4, 1, 2, 3, 2, 1, 2, 2, 1, 4},
{0, 4, 1, 2, 3, 3, 2, 3, 2, 1, 4},
{0, 4, 1, 2, 3, 0, 3, 3, 2, 1, 4},
{0, 4, 1, 2, 3, 0, 0, 3, 2, 1, 4},
{0, 0, 4, 1, 2, 3, 3, 2, 1, 4, 0},
{0, 0, 0, 4, 1, 2, 2, 1, 4, 0, 0},
{0, 0, 0, 0, 4, 1, 1, 4, 0, 0, 0}
}
attackType = ATTACK_ENERGY
needDirection = true
areaEffect = NM_ME_ENERGY_AREA
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_EXPLOSION_DAMAGE
damageEffect = NM_ME_ENERGY_DAMAGE
animationColor = RED
offensive = true
drawblood = true
EnergyWaveObject = 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}
EnergyWaveObject.minDmg = (level * 2 + maglv * 3) * 1.3
EnergyWaveObject.maxDmg = (level * 2 + maglv * 3) * 1.7
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, EnergyWaveObject:ordered())
end
Nastempnie w data/spells/spells dodajemy linijke
Cytat:
<spell name="love" words="love" maglv="1" mana="20" enabled="1"><vocation id="1" /><vocation id="2" /></spell>
7.Wielkie UE!
W data/spells/instant dodajemy pliczek o nazwie mega ue i dodajemy do niego
Cytat:
area = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
}
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
Nastempnie w data/spells/spells dodajemy linijke
Cytat:
<spell name="mega ue" words="mega ue" maglv="50" mana="1500" enabled="1"><vocation id="1" /><vocation id="2" /></spell>
8.PoxIk
W data/spells/instant dodajemy pliczek exevo mas pox i dodajemy do niego
Cytat:
area = {
{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, 0, 0, 0, 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, 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, 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, 0, 0, 0}
}
attackType = ATTACK_POISON
needDirection = false
areaEffect = NM_ME_POISEN_RINGS
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_POISEN
damageEffect = NM_ME_POISEN_RINGS
animationColor = GREEN
offensive = true
needDirection = false
drawblood = false
minDmg = 20
maxDmg = 20
PoisonStormObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg)
SubPoisonStormObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 15, 15)
SubPoisonStormObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 10, 10)
SubPoisonStormObject3 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 5, 5)
function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
PoisonStormObject.minDmg = (level * 1.5 + maglv * 1.5)
PoisonStormObject.maxDmg = (level * 2 + maglv * 3) * 0.7
return doAreaExMagic(cid, centerpos, needDirection, areaEffect, area, PoisonStormObject:ordered(),
2000, 1, SubPoisonStormObject1:ordered(),
2000, 2, SubPoisonStormObject2:ordered(),
2000, 10, SubPoisonStormObject3:ordered(),
3)
end
W data/spells/spells dodajemy linijke
Cytat:
<spell name="Poison Dust" words="exevo mas pox" maglv="20" mana="300" enabled="1"><vocation id="2" /></spell>
Ehh niechce mi sie już może pózniej dodam pare [/b]
Post został pochwalony 0 razy
|
|
Czw 13:03, 03 Sie 2006 |
|
|
|
|
You are Dead
Rookman
Dołączył: 03 Sie 2006
Posty: 7
Przeczytał: 0 tematów
Ostrzeżeń: 7/7
|
|
Skrypty Na Potworki |
|
No to tak
1.Death Orshabaal
W data/monster robimy pliczek o nazwie death orshabaal i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Death Orshabaal" level="350" maglevel="110" experience="80000000" pushable="0" armor="200" defense="200" canpushitems="1" staticattack="45" changetarget="200" speed="400">
<health now="2000000" max="2000000"/>
<look type="35" head="20" body="30" legs="40" feet="50" corpse="2916"/>
<combat targetdistance="1" runonhealth="0"/>
<blood color="199" effect="0" splash="255"/>
<attacks>
<attack type="melee" mindamage="2000" maxdamage="8000" probability="100"/>
<attack type="instant" name="exura" cycleticks="5000" probability="60"/>
<attack type="instant" name="o firefield" cycleticks="7500" probability="75"/>
<attack type="instant" name="o exevo gran vis lux" exhaustion="500" cycleticks="7000" probability="60"/>
<attack type="rune" name="orsha fireball" exhaustion="500" cycleticks="3000" probability="50"/>
<attack type="instant" name="o exori" exhaustion="500" cycleticks="8000" probability="55"/>
<attack type="instant" name="demon_manadrain" exhaustion="100" cycleticks="4000" probability="30"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
<defense immunity="drunk"/>
</defenses>
<voices>
<voice sentence="MUAHAHAHAHA GM Shadow is my BOSS!"/>
<voice sentence="MUAHAHAHAHA GM is my BOSS!"/>
</voices>
<loot>
<item id="2160" countmax="10" chance1="6000000" chancemax="0"/>
<item id="2393" chance="1000"/>
<item id="2470" chance="2000"/>
<item id="2408" chance="1030"/>
<item id="2319" chance="9000"/>
<item id="2493" chance="5000"/>
<item id="2472" chance="2000"/>
<item id="2466" chance="4000"/>
<item id="1987" chance="10000">
<inside>
<item id="2150" countmax="10" chance1="10000" chancemax="1000"/>
<item id="2148" countmax="10" chance1="5000" chancemax="1000"/>
<item id="2148" countmax="10" chance1="50000" chancemax="1000"/>
<item id="2144" countmax="10" chance1="50000" chancemax="1000"/>
<item id="2488" chance="50000"/>
<item id="2187" chance="5000"/>
</inside>
</item>
</loot>
<summons maxSummons="2">
<summon name="Orshabaal" chance="400"/>
</summons>
</monster>
nastempnie w data/monster/monster dodajemy linijke
Cytat:
<monster name="Death Orshabaal" file="death orshabaal.xml" />
2.Master Demon
W data/monster dodajemy pliczek o nazwie master demon i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Master Demon" level="500" maglevel="500" experience="12000" pushable="0" armor="5600" defense="6000" canpushitems="1" staticattack="45" changetarget="200" speed="2750">
<health now="22400" max="22400"/>
<look type="35" head="20" body="30" legs="40" feet="50" corpse="2916"/>
<combat targetdistance="1" runonhealth="0"/>
<blood color="199" effect="0" splash="255"/>
<attacks>
<attack type="melee" mindamage="2000" maxdamage="3000" probability="100"/>
<attack type="instant" name="exura" cycleticks="5000" probability="60"/>
<attack type="instant" name="o firefield" cycleticks="7500" probability="75"/>
<attack type="instant" name="o exevo gran vis lux" exhaustion="800" cycleticks="7000" probability="60"/>
<attack type="rune" name="orsha fireball" exhaustion="800" cycleticks="3000" probability="50"/>
<attack type="instant" name="o exori" exhaustion="800" cycleticks="8000" probability="55"/>
<attack type="instant" name="demon_manadrain" exhaustion="1" cycleticks="4000" probability="30"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
<defense immunity="drunk"/>
</defenses>
<voices>
<voice sentence="PRAISED BE MY MASTERS, THE RUTHLESS SEVEN!"/>
<voice sentence="MUAHAHAHAHA!"/>
</voices>
<loot>
<item id="2152" countmax="100" chance1="50000" chancemax="0"/>
<item id="2393" chance="10000"/>
<item id="2470" chance="20000"/>
<item id="2522" chance="13330"/>
<item id="2158" chance="100000"/>
<item id="2319" chance="90000"/>
<item id="2462" chance="500000"/>
<item id="2153" chance="500000"/>
<item id="2472" chance="18570"/>
<item id="1987" chance="333330">
<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="100" chance1="50000" chancemax="0"/>
<item id="2178" chance="1000000"/>
<item id="2402" chance="500000"/>
<item id="2390" chance="20000"/>
<item id="2646" chance="33330"/>
</inside>
</item>
</loot>
<summons maxSummons="2">
<summon name="Orshabaal" chance="40000"/>
<summon name="Dzeus" chance="400000"/>
</summons>
</monster>
W data/monster/monsters dodajemy linijke
Cytat:
<monster name="Master Demon" file="master demon.xml" />
3.Dzeus
W data/monster dodajemy plcizek o nazwie dzeus i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Dzeus" level="200" maglevel="25" experience="40000" pushable="0" armor="2900" defense="3100" canpushitems="1" staticattack="50" changetarget="200" speed="2040">
<health now="2000000" max="2000000"/>
<look type="130" head="0" body="0" legs="0" feet="0" corpse="3128"/>
<combat targetdistance="5" runonhealth="0"/>
<attacks>
<attack type="melee" mindamage="1000" maxdamage="2800"/>
<attack type="rune" name="warlock_burstarrow" exhaustion="800" cycleticks="3000" probability="70"/>
<attack type="rune" name="warlock_firebomb" exhaustion="800" cycleticks="5000" probability="60"/>
<attack type="instant" name="w exevo gran vis lux" exhaustion="800" cycleticks="6000" probability="90"/>
<attack type="rune" name="warlock_manadrain" exhaustion="800" cycleticks="4000" probability="30"/>
<attack type="instant" name="invis" exhaustion="800" cycleticks="5000" probability="25"/>
</attacks>
<defenses>
<defense immunity="phisical"/>
</defenses>
<voices>
<voice sentence="Ja jestem panem olimpu."/>
</voices>
<loot>
<item id="2148" countmax="9" chance1="100000" chancemax="0"/>
<item id="2421" chance="660"/>
<item id="2408" chance="660"/>
<item id="2195" chance="66660"/>
<item id="2472" chance="6600"/>
<item id="2470" chance="6060"/>
<item id="2474" chance="6660"/>
<item id="2514" chance="10000"/>
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="4" chance1="2500" chancemax="0"/>
<item id="2032" chance="10000"/>
<item id="2229" countmax="3" chance1="6666" chancemax="0"/>
<item id="2412" chance="2857"/>
<item id="2747" chance="2500"/>
<item id="2534" chance="909"/>
<item id="2396" chance="1333"/>
<item id="2144" countmax="3" chance1="1538" chancemax="0"/>
<item id="2479" chance="1428"/>
</inside>
</item>
</loot>
<summons maxSummons="4">
<summon name="Mistic Hero" chance="10000"/>
<summon name="Ares" chance="10001"/>
<summon name="Hades" chance="10002"/>
<summon name="Afrodyta" chance="10003"/>
</summons>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Dzeus" file="dzeus.xml" />
4.Mistic Hero
W data/monster dodajemy plcizek o nazwie mistic hero i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name=" Mistic Hero" level="300" maglevel="300" experience="10000" pushable="1000" armor="10000" defense="10000" canpushitems="1000" staticattack="1000" changetarget="200" speed="2780">
<health now="9000" max="9000"/>
<look type="73" head="20" body="30" legs="40" feet="50" corpse="3128"/>
<combat targetdistance="1" runonhealth="0"/>
<attacks>
<attack type="melee" mindamage="1000" maxdamage="1000" probability="1000" />
<attack type="rune" name="p sd" cycleticks="50000" probability="60000" />
<attack type="instant" name="exura vita" cycleticks="50000" probability="6000" />
<attack type="distance" name="power arrow" mindamage="520" maxdamage="1500" cycleticks="3000" probability="1000" />
</attacks>
<defenses>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="energy"/>
</defenses>
<voices>
<voice sentence="Cho powalczymy napiesci!"/>
<voice sentence="Zabije cie noobie."/>
<voice sentence="Chcesz kopnac w kalendarz?"/>
<voice sentence="Jestes smieciem!"/>
</voices>
<loot>
<item id="2491" chance="1899"/>
<item id="2487" chance="1009"/>
<item id="2148" countmax="100" chance1="10000" chancemax="0"/>
<item id="1949" chance="10009"/>
<item id="2456" chance="10090"/>
<item id="2661" chance="10000"/>
<item id="3962" chance="10000"/>
<item id="2645" chance="10000"/>
<item id="2542" chance="10000"/>
<item id="2508" chance="10000"/>
<item id="2497" chance="10000"/>
<item id="2681" chance="10000"/>
<item id="2475" chance="6666"/>
<item id="2121" chance="6666"/>
<item id="2666" countmax="3" chance1="2000" chancemax="0"/>
<item id="1987" chance="10000">
<inside>
<item id="2392" chance="1818"/>
<item id="2641" chance="10000"/>
<item id="2519" chance="1444"/>
<item id="2488" chance="1411"/>
<item id="2487" chance="1201"/>
<item id="2071" chance="10000"/>
<item id="2544" countmax="100" chance1="2000" chancemax="0"/>
<item id="2652" chance="10000"/>
<item id="2164" chance="1393"/>
<item id="2391" chance="1668"/>
<item id="2744" chance="6696"/>
</inside>
</item>
</loot>
</monster>
nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Mistic Hero" file="mistic hero.xml" />
5. Mistic Orshabaal
W data/monster dodajemy pliczek o nazwie mistic orshabaal i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Mistic Orshabaal" level="6500" maglevel="6500" experience="210000" pushable="0" armor="5600" defense="6000" canpushitems="1" staticattack="45" changetarget="200" speed="2750">
<health now="224000" max="224000"/>
<look type="35" head="20" body="30" legs="40" feet="50" corpse="2916"/>
<combat targetdistance="1" runonhealth="10000"/>
<blood color="199" effect="0" splash="255"/>
<attacks>
<attack type="melee" mindamage="2500" maxdamage="9000" probability="100"/>
<attack type="instant" name="exura" cycleticks="2500" probability="60"/>
<attack type="instant" name="o firefield" cycleticks="750" probability="75"/>
<attack type="instant" name="o exevo gran vis lux" exhaustion="800" cycleticks="7000" probability="60"/>
<attack type="rune" name="orsha fireball" exhaustion="800" cycleticks="3000" probability="50"/>
<attack type="instant" name="o exori" exhaustion="800" cycleticks="8000" probability="55"/>
<attack type="instant" name="demon_manadrain" exhaustion="800" cycleticks="2000" probability="30"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
<defense immunity="drunk"/>
</defenses>
<voices>
<voice sentence="PRAISED BE MY MASTERS, THE RUTHLESS SEVEN!"/>
<voice sentence="MUAHAHAHAHA!"/>
</voices>
<loot>
<item id="2152" countmax="100" chance1="50000" chancemax="0"/>
<item id="2466" chance="10000"/>
<item id="2471" chance="10000"/>
<item id="2472" chance="10000"/>
<item id="2470" chance="10000"/>
<item id="2453" chance="10000"/>
<item id="2431" chance="20000"/>
<item id="2408" chance="13330"/>
<item id="2158" chance="100000"/>
<item id="2400" chance="90000"/>
<item id="2462" chance="500000"/>
<item id="2153" chance="500000"/>
<item id="2390" chance="1857"/>
<item id="2321" chance="1857"/>
<item id="1987" chance="333330">
<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="100" chance1="50000" chancemax="0"/>
<item id="2178" chance="1000000"/>
<item id="2402" chance="500000"/>
<item id="2390" chance="20000"/>
<item id="2646" chance="33330"/>
</inside>
</item>
</loot>
<summons maxSummons="2">
<summon name="Orshabaal" chance="40000"/>
<summon name="Dzeus" chance="400000"/>
</summons>
</monster>
nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Mistic Orshabaal" file="Mistic Orshabaal.xml" />
6. Tabaluga
W data/monster dodajemy pliczek o nazwie tabaluga i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Tabaluga" level="700" maglevel="3000" experience="700000" pushable="0" armor="30" defense="31" canpushitems="1" staticattack="5000" changetarget="200" speed="1700">
<health now="100000" max="100000"/>
<look type="34" head="20" body="30" legs="40" feet="50" corpse="3104"/>
<combat targetdistance="1" runonhealth="100"/>
<attacks>
<attack type="instant" name="dragon_firewave" exhaustion="5" cycleticks="2000" probability="60"/>
<attack type="instant" name="exura" exhaustion="5" cycleticks="3000" probability="65"/>
<attack type="rune" name="dragon_fireball" exhaustion="5" cycleticks="1500" probability="50"/>
<attack type="melee" mindamage="3700" maxdamage="11000" probability="100"/>
</attacks>
<defenses>
<defense immunity="fire"/>
</defenses>
<voices>
<voice sentence="FCHHHHHHHH!"/>
<voice sentence="Mwahahshahhaa! obciognij mi kutasa!!!"/>
</voices>
<loot>
<item id="2672" countmax="2" chance1="20000" chancemax="0"/>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2398" chance="200000"/>
<item id="2455" chance="66660"/>
<item id="2434" chance="13330"/>
<item id="2509" chance="18180"/>
<item id="2406" chance="20000"/>
<item id="2647" chance="22220"/>
<item id="2459" chance="50000"/>
<item id="2387" chance="40000"/>
<item id="2397" chance="50000"/>
<item id="2546" countmax="100" chance1="4000" chancemax="0"/>
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2516" chance="10000"/>
<item id="2145" countmax="100" chance1="1530" chancemax="0"/>
<item id="2177" chance="20000"/>
<item id="2413" chance="66660"/>
<item id="2409" chance="9090"/>
</inside>
</item>
</loot>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Tabaluga" file="tabaluga.xml" />
7.Hades
W data/monster dodajemy pliczek o nazwie hades i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Hades" level="1500" maglevel="3000" experience="9500" pushable="0" armor="5000" defense="5000" canpushitems="1" staticattack="50" changetarget="200" speed="2020">
<health now="9000" max="9000"/>
<look type="68" head="20" body="30" legs="40" feet="50" corpse="2956"/>
<combat targetdistance="1" runonhealth="0"/>
<blood color="86" effect="9" splash="255"/>
<attacks>
<attack type="melee" maxdamage="2000" probability="10"/>
<attack type="instant" name="vamp_lifedrain" exhaustion="800" cycleticks="3000" probability="60"/>
</attacks>
<defenses>
<defense immunity="poison"/>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
</defenses>
<voices>
<voice sentence="Zostaniesz w Hadesie!"/>
<voice sentence="Kutwo jebana!"/>
<voice sentence="Kis maj zwis!"/>
<voice sentence="Naskocz mi!"/>
</voices>
<loot>
<item id="2148" countmax="9" chance1="100000" chancemax="0"/>
<item id="2195" chance="6666"/>
<item id="2343" chance="6666"/>
<item id="2472" chance="6666"/>
<item id="2495" chance="6666"/>
<item id="2520" chance="6666"/>
<item id="2400" chance="6666"/>
<item id="2431" chance="6666"/>
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="4" chance1="2500" chancemax="0"/>
<item id="2032" chance="10000"/>
<item id="2229" countmax="3" chance1="6666" chancemax="0"/>
<item id="2412" chance="2857"/>
<item id="2747" chance="2500"/>
<item id="2534" chance="909"/>
<item id="2396" chance="1333"/>
<item id="2144" countmax="3" chance1="1538" chancemax="0"/>
<item id="2479" chance="1428"/>
</inside>
</item>
</loot>
<summons maxSummons="2">
<summon name="Dark Skeletor" chance="1000"/>
</summons>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Hades" file="hades.xml" />
8.Ares
W data/monster dodajemy pliczek o nazwie ares i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Ares" level="1700" maglevel="4500" experience="3000" pushable="0" armor="5000" defense="5000" canpushitems="1" staticattack="50" changetarget="200" speed="2020">
<health now="8500" max="8500"/>
<look type="9" head="20" body="30" legs="40" feet="50" corpse="3128"/>
<combat targetdistance="1" runonhealth="0"/>
<blood color="86" effect="9" splash="255"/>
<attacks>
<attack type="melee" maxdamage="1000" probability="1000"/>
<attack type="instant" name="vamp_lifedrain" exhaustion="800" cycleticks="3000" probability="6000"/>
<attack type="melee" mindamage="10000" maxdamage="20000"/>
<attack type="rune" name="warlock_burstarrow" exhaustion="800" cycleticks="3000" probability="70"/>
<attack type="rune" name="warlock_firebomb" exhaustion="800" cycleticks="5000" probability="60"/>
</attacks>
<defenses>
<defense immunity="poison"/>
<defense immunity="fire"/>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
</defenses>
<voices>
<voice sentence="Muahahahha!"/>
</voices>
<loot>
<item id="2148" countmax="9" chance1="100000" chancemax="0"/>
<item id="2195" chance="6660"/>
<item id="2343" chance="6660"/>
<item id="2472" chance="6660"/>
<item id="2495" chance="6660"/>
<item id="2520" chance="6660"/>
<item id="2400" chance="6660"/>
<item id="2431" chance="6660"/>
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="4" chance1="2500" chancemax="0"/>
<item id="2032" chance="10000"/>
<item id="2229" countmax="3" chance1="6666" chancemax="0"/>
<item id="2412" chance="2857"/>
<item id="2747" chance="2500"/>
<item id="2534" chance="909"/>
<item id="2396" chance="1333"/>
<item id="2144" countmax="3" chance1="1538" chancemax="0"/>
<item id="2479" chance="1428"/>
</inside>
</item>
</loot>
<summons maxSummons="4">
<summon name="Devil Fire" chance="1000"/>
</summons>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Ares" file="ares.xml" />
9.Afrodyta
W data/monster robimy pliczek o nazwie afrodyta i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Afrodyta" level="1800" maglevel="5000" experience="3500000" pushable="0" speed="3200" armor="300" defense="500" canpushitems="0" staticattack="1" changetarget="200">
<health now="800050" max="800050"/>
<look type="213" corpse="4313"/>
<combat targetdistance="3" runonhealth="2"/>
<attacks>
<attack type="melee" mindamage="8000" maxdamage="15900" probability="1000"/>
<attack type="instant" name="exura" cycleticks="5000" probability="2000"/>
<attack type="instant" name="o firefield" cycleticks="7500" probability="7500"/>
<attack type="instant" name="o exevo gran vis lux" exhaustion="5" cycleticks="7000" probability="6000"/>
<attack type="rune" name="orsha fireball" exhaustion="5" cycleticks="3000" probability="5000"/>
<attack type="instant" name="o exori" exhaustion="5" cycleticks="8000" probability="5500"/>
<attack type="instant" name="demon_manadrain" exhaustion="1" cycleticks="4000" probability="3000"/>
<attack type="distance" name="spear" mindamage="7200" maxdamage="18000"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="poison"/>
<defense immunity="paralyze"/>
</defenses>
<voices>
<voice sentence="Poczuj moc milosci!"/>
</voices>
<loot>
<item id="2148" countmax="9" chance1="100000" chancemax="0"/>
<item id="2195" chance="66660"/>
<item id="2343" chance="66660"/>
<item id="2472" chance="66660"/>
<item id="2495" chance="66660"/>
<item id="2520" chance="66660"/>
<item id="2400" chance="66660"/>
<item id="2431" chance="66660"/>
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="4" chance1="2500" chancemax="0"/>
<item id="2032" chance="10000"/>
<item id="2229" countmax="3" chance1="6666" chancemax="0"/>
<item id="2412" chance="2857"/>
<item id="2747" chance="2500"/>
<item id="2534" chance="909"/>
<item id="2396" chance="1333"/>
<item id="2144" countmax="3" chance1="1538" chancemax="0"/>
<item id="2479" chance="1428"/>
</inside>
</item>
</loot>
<summons maxSummons="5">
<summon name="Daughter of Hero" chance="1000"/>
</summons>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Afrodyta" file="afrodyta.xml" />
10.Daughter of Hero
W data/monster dodajemy pliczek o nazwie daughter of hero i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Daughter of Hero" level="450" maglevel="300" experience="10450" pushable="0" armor="4500" defense="4500" canpushitems="0" staticattack="5000" changetarget="200" speed="1720">
<health now="10400" max="10400"/>
<look type="137" head="123" body="120" legs="114" feet="132" corpse="3065"/>
<combat targetdistance="3" runonhealth="0"/>
<attacks>
<attack type="distance" name="throwingknife" mindamage="3000" maxdamage="4400" cycleticks="2000" probability="600"/>
<attack type="melee" mindamage="400" maxdamage="1600" probability="1000" />
</attacks>
<defenses>
</defenses>
<voices>
<voice sentence="Odgryze Ciii!"/>
<voice sentence="Yeeee ha!"/>
</voices>
<loot>
<item id="2148" countmax="21" chance1="100000" chancemax="0"/>
<item id="2173" chance="500"/>
<item id="2528" chance="5000"/>
<item id="2197" chance="2000"/>
<item id="2229" countmax="3" chance1="10000" chancemax="0"/>
<item id="1998" chance="100000">
<inside>
<item id="2674" countmax="50" chance1="100000" chancemax="0"/>
<item id="2050" chance="5000"/>
<item id="2393" chance="900"/>
<item id="2690" countmax="2" chance1="20000" chancemax="0"/>
<item id="2147" countmax="2" chance1="3333" chancemax="0"/>
<item id="2392" chance="4000"/>
</inside>
</item>
</loot>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Daughter of Hero" file="daughter of hero.xml" />
11.Devil Fire
W data/monster dodajemy pliczek o nazwie devil fire i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Devil Fire" level="80" maglevel="80" experience="2200" pushable="0" armor="150" defense="150" canpushitems="1" staticattack="50" changetarget="200" speed="190">
<health now="280" max="280"/>
<look type="49" head="20" body="30" legs="40" feet="50" corpse="1492"/>
<combat targetdistance="1" runonhealth="0"/>
<blood color="199" effect="0" splash="255"/>
<attacks>
<attack type="melee" mindamage="250" maxdamage="900"/>
<attack type="rune" name="soul fire" exhaustion="800" cycleticks="5000" probability="800"/>
<attack type="rune" name="fe fireball" exhaustion="800" cycleticks="4000" probability="700"/>
<attack type="rune" name="fe fireball" exhaustion="800" cycleticks="12000" probability="950"/>
<attack type="rune" name="fe explosion" exhaustion="800" cycleticks="4500" probability="800"/>
<attack type="rune" name="fe explosion" exhaustion="800" cycleticks="14000" probability="1000"/>
</attacks>
<defenses>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="invisible"/>
</defenses>
</monster>
nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Devil Fire" file="devil fire.xml" />
12. Dark Skeletor
W data/monster/monsters dodajemy pliczek o nazwie dark skeletor i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Dark Skeletor" level="89" maglevel="89" experience="7400" pushable="0" armor="320" defense="340" canpushitems="1" staticattack="50" changetarget="180" speed="150">
<health now="4000" max="4000"/>
<look type="37" head="20" body="30" legs="40" feet="50" corpse="2809"/>
<combat targetdistance="1" runonhealth="0"/>
<blood color="86" effect="9" splash="255"/>
<attacks>
<attack type="melee" mindamage="670" maxdamage="1800" probability="100"/>
</attacks>
<defenses>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="phisical"/>
</defenses>
<loot>
<item id="2148" countmax="40" chance1="100000" chancemax="0"/>
<item id="2399" countmax="1" chance1="10000" chancemax="0"/>
<item id="2515" chance="16660"/>
<item id="2178" chance="13330"/>
<item id="2050" chance="333330"/>
<item id="1987" chance="100000">
<inside>
<item id="2417" chance="50000"/>
<item id="0000" countmax="2" chance1="20000" chancemax="0"/>
<item id="2482" chance="28570"/>
<item id="2194" chance="16660"/>
<item id="2398" chance="100000"/>
</inside>
</item>
</loot>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Dark Skeletor" file="dark skeletor.xml" />
No i ostatni juz bo mi sie niechce kopiowac hmm... ok diablo
W data/monster dodajemy pliczek o nazwie diablo i wklejamy do neigo
Cytat:
<?xml version="1.0"?>
<monster name="Diablo" level="250" maglevel="200" experience="10000" pushable="0" armor="250" defense="250" canpushitems="1" staticattack="40" changetarget="200" speed="210">
<health now="10000" max="10000"/>
<look type="35" head="20" body="30" legs="40" feet="50" corpse="2916"/>
<combat targetdistance="1" runonhealth="0"/>
<blood color="153" effect="0" splash="236"/>
<attacks>
<attack type="melee" mindamage="1500" maxdamage="35000" probability="100"/>
<attack type="instant" name="exura" cycleticks="5000" probability="50"/>
<attack type="rune" name="firefield" cycleticks="3000" probability="40"/>
<attack type="instant" name="d exevo gran vis lux" exhaustion="500" cycleticks="7000" probability="60"/>
<attack type="instant" name="demon_manadrain"
exhaustion="500" cycleticks="7000" probability="60"/>
<attack type="instant" name="mega ue"
exhaustion="100" cycleticks="4000" probability="30"/>
<attack type="rune" name="demon fireball" exhaustion="500" cycleticks="3500" probability="60"/>
<attack type="melee" mindamage="192" maxdamage="510" probability="100"/>
<attack type="instant" name="exura" cycleticks="5000" probability="50"/>
<attack type="rune" name="firefield" cycleticks="3000" probability="40"/>
<attack type="instant" name="d exevo gran vis lux" exhaustion="500" cycleticks="7000" probability="60"/>
<attack type="instant" name="demon_manadrain" exhaustion="100" cycleticks="4000" probability="30"/>
<attack type="rune" name="demon fireball" exhaustion="500" cycleticks="3500" probability="60"/>
<attack type="melee" mindamage="1500" maxdamage="35000" probability="100"/>
<attack type="instant" name="exura" cycleticks="5000" probability="50"/>
<attack type="rune" name="firefield" cycleticks="3000" probability="40"/>
<attack type="instant" name="d exevo gran vis lux" exhaustion="500" cycleticks="7000" probability="60"/>
<attack type="instant" name="demon_manadrain" exhaustion="100" cycleticks="4000" probability="30"/>
<attack type="rune" name="demon fireball" exhaustion="500" cycleticks="3500" probability="60"/>
<attack type="melee" mindamage="192" maxdamage="510" probability="100"/>
<attack type="instant" name="exura" cycleticks="5000" probability="50"/>
<attack type="rune" name="firefield" cycleticks="3000" probability="40"/>
<attack type="instant" name="d exevo gran vis lux" exhaustion="500" cycleticks="7000" probability="60"/>
<attack type="instant" name="demon_manadrain" exhaustion="100" cycleticks="4000" probability="30"/>
<attack type="instant" name="blyskawica" exhaustion="0" cycleticks="50000" probability="90"/>
<attack type="rune" name="demon fireball" exhaustion="500" cycleticks="3500" probability="60"/>
<attack type="instant" name="exori gran mas mort" exhaustion="0" cycleticks="50000" probability="90"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="fire"/>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
<defense immunity="drunk"/>
</defenses>
<voices>
<voice sentence="Diablo Wkracza na Swiat"/>
</voices>
<loot>
<item id="2148" countmax="10000" chance1="1000000" chancemax="0"/>
<item id="2148" countmax="25000" chance1="1000000" chancemax="0"/>
<item id="2393" chance="10000"/>
<item id="2514" chance="50000"/>
<item id="2432" chance="55388"/>
<item id="2472" chance="43333"/>
<item id="1987" chance="333333">
<inside>
<item id="2678" countmax="3" chance1="100000" chancemax="0"/>
<item id="2148" countmax="100" chance1="1000000" chancemax="0"/>
<item id="2151" countmax="4" chance1="400000" chancemax="0"/>
<item id="2462" chance="10550"/>
<item id="2149" countmax="3" chance1="142008" chancemax="0"/>
<item id="2171" chance="133300"/>
<item id="2387" chance="66660"/>
<item id="2470" chance="60000"/>
<item id="2520" chance="8660"/>
<item id="2418" chance="10330"/>
<item id="2377" chance="33330"/>
</inside>
</item>
</loot>
<summons maxSummons="4">
<summon name="Orshabaal" chance="6000"/>
</summons>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Diablo" file="diablo.xml" />
Ok to juz ostatni Yeti king
W data/monster dodajemy pliczek o nazwie yeti king i dodajemy do niego
Cytat:
<?xml version="1.0"?>
<monster name="Yeti King" level="500" maglevel="800" experience="10600" pushable="0" armor="300" defense="300" canpushitems="1" staticattack="50" changetarget="200" speed="270">
<health now="550000" max="550000"/>
<look type="110" head="20" body="30" legs="40" feet="50" corpse="3055"/>
<combat targetdistance="1" runonhealth="0"/>
<attacks>
<attack type="distance" name="largerock" mindamage="1000" maxdamage="1200" cycleticks="3000" probability="90"/>
<attack type="instant" name="exura" cycleticks="5000" probability="80"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="paralyze"/>
<defense immunity="drunk"/>
</defenses>
<voices>
<voice sentence="GROOOUUURRRR!"/>
<voice sentence="AARRRHHHHG.. Zjem Cie!"/>
</voices>
<loot>
<item id="2666" countmax="5" chance1="33333" chancemax="0"/>
<item id="2111" countmax="6" chance1="10000" chancemax="0"/>
<item id="2444" chance="333"/>
<item id="2448" chance="10000"/>
<item id="2688" countmax="4" chance1="2500" chancemax="0"/>
</loot>
<summons maxSummons="4">
<summon name="Yeti" chance="1000"/>
</summons>
</monster>
Nastempnie w data/monster/monsters dodajemy linijke
Cytat:
<monster name="Yeti King" file="yeti king.xml" />
Ok mam nadzieje ze sie przydadzol!!
Post został pochwalony 0 razy
|
|
Czw 13:06, 03 Sie 2006 |
|
|
You are Dead
Rookman
Dołączył: 03 Sie 2006
Posty: 7
Przeczytał: 0 tematów
Ostrzeżeń: 7/7
|
|
Płatne Expowisko ! |
|
W data\actions\scripts i robimy tam train.lua
function onUse(cid, item, frompos, item2, topos)
if item.uid == 8000 then
kasapos = {x=125, y=99, z=7, stackpos=255}
getkasa = getThingfromPos(kasapos)
topos = {x=125, y=99, z=8}
if getkasa.itemid == 2152 and getkasa.type == 5 then
doRemoveItem(getkasa.uid,5)
doTeleportThing(cid,topos)
else
doPlayerSendTextMessage(cid,22,"Poloz 5 platynek kolo dzwigni.")
end
return 1
end
end
Trzeba Zrobic Dziwgnie (id dzwigni 1945) o uniqueid 8000
To Sa Wspulrzedne Gdzie Ma Gracz Polozyc Kase
TEGO NIE RUSZAJCIE !!!!
To Sa Wspozedne Gdzie Ma Teleportowac Gracza
Teraz W data\actions\actions.xml
Dojemy Na Samym Koncu
Kod:
<action uniqueid="8000" script="train.lua" />
teraz tylko zaplacic i kliknac na dzwignie
Post został pochwalony 0 razy
|
|
Czw 13:08, 03 Sie 2006 |
|
|
You are Dead
Rookman
Dołączył: 03 Sie 2006
Posty: 7
Przeczytał: 0 tematów
Ostrzeżeń: 7/7
|
|
Mordercze Drzewo Pomaranczowe xD |
|
Jest to drzewo Pomarańczowe ktore alzi jak normalny stworek , ktore zuca w ludzi pomarańczami, płonącymi pomarańczami ktore bija po 100lub 200 (da sie ustawic).
1 - w data/spells w pliku spells dopisujemy w podpunkcie
<!--// Monster "runes" \\-->
Kod PHP:
<rune name="orange" id="5099" charges="1" maglv="1" mana="0" enabled="1"></rune>
2 - w data/spells/runes dodajemy plik ,,orange" i wpisujemy tam:
Kod PHP:
area = {
{0, 0, 0},
{0, 1, 0},
{0, 0, 0}
}
attackType = ATTACK_FIRE
needDirection = false
areaEffect = NM_ME_FIRE_AREA
animationEffect = NM_ANI_FIRE
hitEffect = NM_ME_FIRE_AREA
damageEffect = NM_ME_HITBY_FIRE
animationColor = FIRE
offensive = true
drawblood = false
minDmg = 200
maxDmg = 200
FireBombObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)
SubFireBombObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg)
SubFireBombObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 100, 100)
function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
return doAreaGroundMagic(cid, centerpos, needDirection, areaEffect, area, FireBombObject:ordered(),
0, 1, SubFireBombObject1:ordered(),
5000, 1, SubFireBombObject2:ordered(),
2, 60000, 2675,
5000, 6, SubFireBombObject2:ordered(),
1, 60000, 2675,
0, 25000, 2675, 3)
end
3 - w data/monsters/monsters dodajemy:
Kod PHP:
<monster name="Mordercze Drzewo Pomaranczowe" file="mordercze_drzewo_pomaranczowe.xml" />
4 - w data/mosnters twozymy plik ,,mordercze_drzewo_pomaranczowe" i piszemy tam:
Kod PHP:
<?xml version="1.0"?>
<monster name="Mordercze Drzewo Pomaranczowe" level="1" maglevel="10" experience="0" pushable="0" armor="29" defense="31" canpushitems="1" staticattack="50" changetarget="200" speed="340">
<health now="3200" max="3200"/>
<look type="4006" head="4006" body="4006" legs="4006" feet="4006" corpse="2709"/>
<combat targetdistance="5" runonhealth="0"/>
<attacks>
<attack type="rune" name="orange" exhaustion="100" cycleticks="5000" probability="70"/>
</attacks>
<defenses>
</defenses>
<voices>
<voice sentence="Jeszcze raz Cie zobacze jak przychodzisz tu na szaberek a dopiero ci doloze!!!"/>
</voices>
<loot>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2600" chance="10000"/>
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="50" chance1="80000" chancemax="0"/>
<item id="2411" chance="5000"/>
<item id="2792" countmax="5" chance1="6666" chancemax="0"/>
<item id="2793" countmax="2" chance1="6666" chancemax="0"/>
<item id="2656" chance="1333"/>
<item id="2466" chance="1111"/>
<item id="2436" chance="1428"/>
<item id="2123" chance="1200"/>
</inside>
</item>
</loot>
</monster>
Koniec, troche to długie, ale opłaca się zrobić "coś" takiego :p
Post został pochwalony 0 razy
|
|
Czw 13:11, 03 Sie 2006 |
|
|
ScorpiOOn
Administrator
Dołączył: 22 Cze 2006
Posty: 397
Przeczytał: 0 tematów
Ostrzeżeń: 0/7 Skąd: Warszawa
|
|
|
|
Dzieki za starania ale stworkow nie potrzebuje a niektore czary mam juz na swoim otsie ale niektore czary moga byc ciekawe ;0 np Love LD
ale przydaloby sie zebys kodu uzywal bo sie mozna poplatac
Pozdrawiam
Post został pochwalony 0 razy
|
|
Czw 13:49, 03 Sie 2006 |
|
|
You are Dead
Rookman
Dołączył: 03 Sie 2006
Posty: 7
Przeczytał: 0 tematów
Ostrzeżeń: 7/7
|
|
Chodzacy sklep ;] |
|
Ta runa jak ją użyjecie da wam runke SD 100 użyć a w zamian weżnie 9k. Przydatne dla tych którzy się wybierają na długi hunt i niechce sie im latac do sklepu =].
W actions.xml dodajecie linijke:
Kod:
<action itemid="8000" script="sdstone.lua" />
Robicie plik sdstone.lua i wrzucacie tam to:
Kod:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2268 then
if doPlayerRemoveMoney(cid, 9000) == 1 then
doPlayerAddItem(cid,3093,100)
end
return 1
end
return 1
end
Post został pochwalony 0 razy
|
|
Pią 10:30, 04 Sie 2006 |
|
|
You are Dead
Rookman
Dołączył: 03 Sie 2006
Posty: 7
Przeczytał: 0 tematów
Ostrzeżeń: 7/7
|
|
Ban Rune |
|
W data/actions/scripts dodajemy pliczek o nazwie banrune i dodajemy do niego
function onUse(cid, item, frompos, item2, topos)
playeraccess = getPlayerAccess(cid)
playername = getPlayerName(item2.uid)
player2access = getPlayerAccess(item2.uid)
if playeraccess >= 2 and item2.itemid == cid then
if player2access == 0 then
doPlayerSay(cid,'/B Player '..playername..' bannished.',23)
doPlayerSay(cid,'/ban '..playername..'',1)
else
doPlayerSendCancel(cid,"You cannot ban this player.")
end
else
return 0
end
return 1
end
Nastempnie wchodzimy w data/actions/actions i dodajemy linijke
<action itemid="2300" script="banrune.lua" />
~Pozdro~
Post został pochwalony 0 razy
|
|
Pią 10:34, 04 Sie 2006 |
|
|
ScorpiOOn
Administrator
Dołączył: 22 Cze 2006
Posty: 397
Przeczytał: 0 tematów
Ostrzeżeń: 0/7 Skąd: Warszawa
|
|
|
|
Zamykam temat bo mowilem ci ze nie potrzebuje tych skryptow od ciebie: wiele skryptow mi sienie podoba, inne mam juz, inne juz od dawna widzialem ale nie chcialem jedyny czar to chce Love
Pozdrawia, ScorpiOOn
Temat zostaje zamkniety -.-
Post został pochwalony 0 razy
|
|
Pią 12:11, 04 Sie 2006 |
|
|
|
|
Nie możesz pisać nowych tematów Nie 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
|
|
|