Tmarg
Advanced User
- Dołączył
- Kwiecień 18, 2011
- Posty
- 228
- Liczba reakcji
- 5
Siema mam dzi? dla wad do zaprezentowania ?atwy skrypt na Kamie? Metin 
A wi?c zaczynamy
To wklejamy do notatnika kt?ry zapisujemy np. stone.xml w data\monster
A to do monsters.xml
Najazd ka?dy powinien potrafi? zrobi? tak my?l? wi?c nie dodawa?em.
Jak jest co? niejasnego to piszcie ch?tnie odpowiem.
Dzi?kuj? za uwag?
Pozdrawiam

A wi?c zaczynamy
To wklejamy do notatnika kt?ry zapisujemy np. stone.xml w data\monster
<monster name="Stone of Destruction" nameDescription="a stone of destruction" race="undead" experience="50000" speed="0" manacost="0">
<health now="100000" max="100000"/>
<look typeex="1353" corpse="6324"/>
<targetchange interval="60000" chance="0"/>
<strategy attack="100" defense="0"/>
<attacks>
<attack name="great fireball" interval="7000" chance="50" min="-500" max="-3000"/>
</attacks>
<defenses armor="100" defense="30">
<defense name="ultimate healing" interval="5000" chance="80" min="300" max="500"/>
</defenses>
<summons maxSummons="8">
<summon name="Ghazbaran" interval="3600" chance="1" max="1"/>
<summon name="Apocalypse" interval="4000" chance="1" max="1"/>
<summon name="Demon" interval="2000" chance="9" max="2"/>
<summon name="Dragon Lord" interval="1500" chance="10" max="3"/>
<summon name="Azerus" interval="1500" chance="5" max="1"/>
</summons>
<loot capacity="5000">
<item id="2185" countmax="1" chance="3500"/>
<item id="3955" countmax="1" chance="100"/>
<item id="2188" countmax="1" chance="2500"/>
<item id="2143" countmax="15" chance="12500"/>
</loot>
</monster>
A to do monsters.xml
<monster name="Stone" file="Stone.xml"/>
Najazd ka?dy powinien potrafi? zrobi? tak my?l? wi?c nie dodawa?em.
Jak jest co? niejasnego to piszcie ch?tnie odpowiem.
Dzi?kuj? za uwag?

Pozdrawiam