Smerf
Tworzymy plik xml w folderze Sorceres i wklejamy do pliku xml to :
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Smerf" nameDescription="a smerf" race="blood" experience="250000" speed="400" manacost="0">
<health now="18000" max="18000"/>
<look type="130" head="0" body="87" legs="86" feet="0" addons="1" corpse="6080"/>
<targetchange interval="5000" chance="30"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="4"/>
<flag staticattack="90"/>
<flag runonhealth="800"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-700" max="-1000"/>
<attack name="physical" interval="1000" chance="35" range="7" min="-500" max="-1000">
<attribute key="shootEffect" value="energy"/>
</attack>
<attack name="manadrain" interval="1000" chance="17" range="7" min="-1000" max="-2000"/>
<attack name="speed" interval="1000" chance="12" range="7" speedchange="-600" duration="40000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="fire" interval="2000" chance="45" range="7" radius="3" target="1" min="-600" max="-1200">
<attribute key="shootEffect" value="burstarrow"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="firefield" interval="1000" chance="20" range="7" radius="2" target="1">
<attribute key="shootEffect" value="fire"/>
</attack>
<attack name="energy" interval="2000" chance="25" length="8" spread="0" min="-1000" max="-1500">
<attribute key="areaEffect" value="energy"/>
</attack>
<attack name="speed" interval="6000" chance="10" range="5" speedchange="-600" duration="20000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="25" defense="30">
<defense name="healing" interval="1000" chance="25" min="60" max="1000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="invisible" interval="5000" chance="50" duration="5000"> --each 7 sec invi duration 5 sec
<attribute key="areaEffect" value="redshimmer"/>
</defense>
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="1"/>
<immunity fire="1"/>
<immunity poison="1"/>
<immunity lifedrain="0"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<summons maxSummons="1">
<summon name="demon" interval="2000" chance="10" max="1"/>
</summons>
<voices interval="5000" chance="10">
<voice sentence="Znajdujesz sie na terytorium smerfow!"/>
<voice sentence="Jestes tu bardzo nie mile widziany!"/>
<voice sentence="Smerfowac go!"/>
</voices>
<loot>
<item id="7368" countmax="100" chance1="1000" chancemax="0"/>
<item id="2183" chance="1000"/>
<item id="2415" chance="1000"/>
<item id="2421" chance="1000"/>
<item id="2689" countmax="1" chance="11000"/>
<item id="7368" countmax="4" chance="1200"/>
<item id="5803" chance="1000"/>
<item id="2352" chance="1000"/>
<item id="2151" countmax="2" chance="1100"/>
<item id="2390" chance="100000">
<inside>
<item id="2148" countmax="50" chance1="80000" chancemax="0"/>
<item id="2146" countmax="2" chance="1400"/>
<item id="2178" countmax="1" chance="2500"/>
<item id="2679" countmax="4" chance="20000"/>
<item id="2047" chance="15000"/>
<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="2000"/>
<item id="2436" chance="1428"/>
<item id="2466" chance="588"/>
<item id="2123" chance="1000"/>
<item id="7898" chance="600"/>
<item id="7895" chance="600"/>
</inside>
</item>
</loot>
</monster>[PHP]
A do pliku monster.xml to:
<monster name="smerf" file="Sorcerers/smerf.xml"/>
Luke Skywalker.
Tworzymy w folderze Bosses plik xml i wklejamy do niego to:
[PHP]<?xml version="1.0" encoding="UTF-8"?>
<monster name="Luke Skywalker" nameDescription="Luke Skywalker" race="UNDEAD" experience="800000" speed="600" manacost="0">
<health now="23000" max="23000"/>
<look type="12" head="122" body="119" legs="146" feet="137" corpse="6068"/>
<targetchange interval="10000" chance="20"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag staticattack="98"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-500" max="-2191"/>
<attack name="melee" interval="2000" chance="40" range="7" radius="6" target="0" min="-500" max="-100">
<attribute key="areaEffect" value="blackspark"/>
</attack>
<attack name="melee" interval="3000" chance="34" range="7" radius="1" target="1" min="-400" max="-1000">
<attribute key="shootEffect" value="whirlwindsword"/>
<attribute key="areaEffect" value="redspark"/>
</attack>
<attack name="energy" interval="4000" chance="30" length="8" spread="0" min="-1200" max="-2500">
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="physical" interval="3000" chance="20" range="14" radius="5" target="0" min="-2500" max="-5000">
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="physical" interval="4000" chance="15" range="7" radius="13" target="0" min="-1000" max="-2000">
<attribute key="areaEffect" value="yellowspark"/>
</attack>
<attack name="physical" interval="4000" chance="18" radius="14" target="0" min="-666" max="-666">
<attribute key="areaEffect" value="bluebubble"/>
</attack>
<attack name="melee" interval="3000" chance="15" range="7" radius="4" target="0" min="-200" max="-750">
<attribute key="areaEffect" value="energyarea"/>
</attack>
</attacks>
<defenses armor="55" defense="65">
<defense name="healing" interval="3000" chance="35" min="300" max="800">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="speed" interval="4000" chance="80" speedchange="440" duration="6000">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="1"/>
<immunity fire="1"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<summons maxSummons="4">
<summon name="deathslicer" interval="4000" chance="50"/>
</summons>
<voices interval="5000" chance="30">
<voice sentence="Ojcze Jestes Brzydki!"/>
</voices>
<loot>
<item id="2160" chance="100000" countmax="50" /> -- crystal coin
<item id="6528" chance="1000" /> -- Avenger
<item id="7393" chance="12000" /> -- demon trophy
<item id="7407" chance="7000" /> -- Haunted Blade
<item id="2003" chance="100000" > -- bag
<inside>
<item id="7431" chance="6000" /> -- demonbone
<item id="2342" chance="1000" /> -- helmet of the ancients
<item id="2523" chance="1000" /> -- blessed shield
</inside>
</item>
</loot>
</monster>
A do monsters.xml to:
<monster name="Luke Skywalker" file="Bosses/luke skywalker.xml"/>
A teraz kilka moich potwork?w:
Motylek.
Tworzymy plik xml w folderze insects i wklejamy do niego to :
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Motylek" nameDescription="a butterfly" race="venom" experience="250000" speed="300" manacost="0">
<health now="20000" max="20000"/>
<look type="228" head="20" body="30" legs="40" feet="50" corpse="4313"/>
<targetchange interval="5000" chance="20"/>
<strategy attack="10000" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag staticattack="90"/>
<flag targetdistance="8"/>
<flag runonhealth="2"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="5" attack="0"/>
</attacks>
<defenses armor="0" defense="4"/>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="1"/>
<immunity lifedrain="0"/>
<immunity paralyze="1"/>
<immunity outfit="0"/>
<immunity drunk="1"/>
<immunity invisible="0"/>
</immunities>
</monster>
A do monster.xml to :
[/QUOTE]
<monster name="Tutaj albo Motylek lub Red Butterfly" file="Insects/red butterfly.xml"/>
Helboy.
Robimy plik xml w folderze Dragons i wklejamy do pliku xml to :
[QUOTE]<?xml version="1.0" encoding="UTF-8"?>
<monster name="HelBoy" nameDescription="a hydra" race="blood" experience="210000" speed="500" manacost="0">
<health now="2250000" max="2250000"/>
<look type="121" head="20" body="30" legs="40" feet="50" corpse="6048"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="10000" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="300"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-80" max="-260"/>
<attack name="speed" interval="1000" chance="17" range="7" radius="4" target="1" speedchange="-600" duration="15000">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="greenbubble"/>
</attack>
<attack name="physical" interval="3000" chance="17" length="8" spread="3" min="-150" max="-250">
<attribute key="areaEffect" value="bluebubble"/>
</attack>
<attack name="poison" interval="2000" chance="20" length="8" spread="3" min="-60" max="-300">
<attribute key="areaEffect" value="poison"/>
</attack>
</attacks>
<defenses armor="25" defense="35">
<defense name="healing" interval="1000" chance="25" min="200" max="400">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="FCHHHHH"/>
<voice sentence="HISSSS"/>
</voices>
<loot>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="5910" countmax="10" chance1="8000" chancemax="0"/>
<item id="2671" countmax="3" chance="60000"/>
<item id="2498" chance="200"/>
<item id="2195" chance="500"/>
<item id="2475" chance="1000"/>
<item id="3976" countmax="10" chance1="50000" chancemax="0"/>
<item id="2146" countmax="1" chance="5000"/>
<item id="1987" chance="100000">
<inside>
<item id="2214" countmax="1" chance="1200"/>
<item id="2666" countmax="4" chance="90000"/>
<item id="2177" chance="600"/>
<item id="2476" chance="1000"/>
<item id="4850" chance="1200"/>
<item id="2149" countmax="3" chance1="10000" chancemax="0"/>
<item id="2148" countmax="50" chance1="100000" chancemax="0"/>
<item id="2536" chance="1000"/>
<item id="2168" chance="2500"/>
<item id="2197" chance="800"/>
</inside>
</item>
</loot>
</monster>
[PHP]
a do pliku monster.xml to :
<monster name="HelBoy" file="Dragons/hydra.xml"/>
[COLOR="green"]---Aktualizacja---[/COLOR]
Sory ja tego nie bralem od innych poprostu nie umie robic takich ramek ;d i wzie?em qnute czy cos ;d