Hakeq
Banned
- Joined
- Mar 23, 2013
- Messages
- 103
- Reaction score
- 6
Autor: Di Pablo
Skrypt nie jest zbyt skomplikowany, ale fajny
W data/monster robimy plik (w notatniku) Warlocks Master.xml I wklejamy tam:
A nast?pnie w data/monster/monsters wklejamy tak? linijk?:
Mam nadziej? ?e komu? si? przyda
Skrypt nie jest zbyt skomplikowany, ale fajny
W data/monster robimy plik (w notatniku) Warlocks Master.xml I wklejamy tam:
PHP:
<?xml version="1.0" encoding="UTF-8" ?>
<monster name="Warlocks Master" nameDescription="Warlocks Master" race="blood" experience="400000" speed="700" manacost="0">
<health now="50000" max="50000" />
<look type="130" head="0" body="52" legs="128" feet="95" addon="1" corpse="3058" />
<targetchange interval="2000" chance="50" />
<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 runonhealth="1000" />
</flags>
<attacks>
<attack name="energycondition" interval="1000" chance="10" radius="6" target="0" min="-400" max="-550">
<attribute key="areaEffect" value="energy"/>
</attack>
<attack name="strength" interval="1000" chance="9" range="7">
<attribute key="shootEffect" value="largerock"/>
<attribute key="areaEffect" value="energyarea"/>
</attack>
<attack name="lifedrain" interval="2000" chance="10" radius="6" target="0" min="-150" max="-400">
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="great energy beam" interval="5000" chance="70" min="-500" max="-1000"/>
<attack name="great fireball" interval="7000" chance="50" min="-500" max="-1000"/>
<attack name="melee" interval="2000" min="-4000" max="-5000"/>
<attack name="ultimate explosion" interval="5000" chance="70" min="-1000" max="-1900"/>
<attack name="great energy beam" interval="4000" chance="50" min="-500" max="-1000"/>
<attack name="great fireball" interval="7000" chance="50" min="-450" max="-800"/>
</attacks>
<defenses armor="32" defense="50">
<defense name="invisible" interval="1000" chance="10" duration="20000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="light healing" interval="9200" chance="75" min="300" max="450" />
</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 max="15">
<summon name="warlock" interval="1000" chance="3000"/>
</summons>
<voices interval="5000" chance="10">
<voice sentence="Learn the secret of our magic! YOUR death!" />
<voice sentence="Even a rat is a better mage than you." />
<voice sentence="We don't like intruders!" />
</voices>
<loot capacity="900">
<item id="5909" countmax="4" chance="4200" /> white piece
<item id="2148" countmax="30" chance1="100000" chancemax="3000" /> gold
<item id="2148" countmax="100" chance1="65000" chancemax="300" /> gold
<item id="2148" countmax="20" chance1="9999" chancemax="300" /> gold
<item id="2689" countmax="6" chance1="10000" chancemax="3333" /> bread
<item id="2151" countmax="5" chance1="5555" chancemax="0" /> talon
<item id="2679" countmax="5" chance1="10000" chancemax="2500" /> cherry
<item id="2357" chance="800" /> ring of sky
<item id="2047" chance="37000" /> candle
<item id="1987" chance="100000">
<inside>
<item id="2167" chance="3400" /> energy ring
<item id="2792" countmax="3" chance1="6500" chancemax="0" /> dark m
<item id="2114" chance="750" /> piggy bank
<item id="2656" chance="4200" /> blue robe
<item id="2600" chance="10000" /> inkwell
<item id="2436" chance="3200" /> skull staff
<item id="1982" chance="1500" /> purpel tome
<item id="2197" chance="3200" /> stone skin amulet
<item id="2185" chance="1200" /> volcanic rod
<item id="2466" chance="1000" /> golden a
<item id="2178" chance="2600" /> mind stone
<item id="2148" countmax="5" chance1="80000" chancemax="0" /> gold
<item id="2508" chance="10000" /> native a
<item id="2523" chance="35000" /> blessed s
<item id="2640" chance="7777" /> soft b
<item id="2645" chance="3200" /> golden b
</inside>
</item>
</loot>
</monster>
A nast?pnie w data/monster/monsters wklejamy tak? linijk?:
PHP:
<monster name="Warlocks Master" file="Warlocks Master.xml" />
Mam nadziej? ?e komu? si? przyda