Meu amigo,
Queria fazer uma pergunta sobre criar monstros:
Eu tentei criar um Demon novo chamado Crazy Demon,que ia ficar no meio da cidade seguindo todo mundo,mas sem atacar.
Eis o script do monstro:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Crazy Demon" nameDescription="a crazy demon" tp="1" race="fire" species="fire" experience="0" speed="400" manacost="0">
<health now="8200" max="8200"/>
<look type="35" head="20" body="30" legs="40" feet="50" corpse="2916"/>
<targetchange interval="1" chance="10"/>
<strategy attack="100" defense="999999999999"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="0"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag staticattack="40"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-200" max="-550"/>
<attack name="Great Fireball" interval="10000" chance="0" min="-100" max="-350"/>
<attack name="Fire Field" interval="6000" chance="65" min="-10" max="-20"/>
<attack name="Great Energy Beam" interval="5000" chance="20" min="-300" max="-450"/>
</attacks>
<defenses armor="40" defense="45">
<defense name="Ultimate Healing" interval="1" chance="50" min="8199" max="8200"/>
</defenses>
<immunities>
<immunity physical="1"/>
<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="2">
<summon name="fire elemental" interval="2000" chance="50"/>
</summons>
<voices interval="1" chance="100">
<voice sentence="Eu usei Heroína!"/>
<voice sentence="Maconha também!"/>
</voices>
<loot>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2148" countmax="25" chance1="100000" chancemax="0"/>
<item id="2393" chance="1000"/>
<item id="7591" chance="5000"/>
<item id="7590" chance="5000"/>
<item id="2447" chance="1333"/>
<item id="7382" chance="1333"/>
<item id="2157" countmax="1" chance1="8000" chancemax="0"/>
<item id="5880" chance="100000"/>
<item id="2514" chance="500"/>
<item id="2432" chance="1538"/>
<item id="2472" chance="1000"/>
<item id="2004" chance="100000">
<inside>
<item id="2678" countmax="3" chance1="10000" chancemax="0"/>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2151" countmax="4" chance1="4000" chancemax="0"/>
<item id="2462" chance="555"/>
<item id="2539" chance="3000"/>
<item id="2542" chance="3000"/>
<item id="2149" countmax="3" chance1="1428" chancemax="0"/>
<item id="2171" chance="1333"/>
<item id="2387" chance="6666"/>
<item id="2470" chance="1200"/>
<item id="2520" chance="666"/>
<item id="2418" chance="833"/>
<item id="2377" chance="3333"/>
</item>
</loot>
</monster>
Já coloquei ela no arquivo monsters.xml da seguinte maneira:
<!-- Demons -->
<monster name="Dark Torturer" file="Demons/dark torturer.xml"/>
<monster name="Crazy Demon" file="Demons/Crazy Demon.xml"/> <---
<monster name="Demon" file="Demons/demon.xml"/>
<monster name="Destroyer" file="Demons/destroyer.xml"/>
<monster name="Diabolic Imp" file="Demons/diabolic imp.xml"/>
<monster name="Fire Devil" file="Demons/fire devil.xml"/>
<monster name="Fury" file="Demons/fury.xml"/>
<monster name="Hand of Cursed Fate" file="Demons/hand of cursed fate.xml"/>
<monster name="Juggernaut" file="Demons/juggernaut.xml"/>
<monster name="Nightmare" file="Demons/nightmare.xml"/>
<monster name="Plaguesmith" file="Demons/plaguesmith.xml"/>
Mas,quando entro no GM e digito /m crazy demon aparece em vermelho:There is not enough room.
O que fiz de errado?ê.e




info
Grupo: Campones
Registrado: 17/01/08
Posts: 26
Reputação: 0
Bom... antes de tudo você precisará pegar algum arquivo data\monsters depois você copia e cola o arquivo, então renomeie para dercy goncalves, abra o arquivo e coloque isto dentro:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="dercy goncalves" nameDescription="a dercy goncalves" race="UNDEAD" experience="90000" speed="320" manacost="0">
<health now="90000" max="90000"/>
<look type="99" head="95" body="116" legs="119" feet="115" corpse="6028"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="1000" 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="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-30" max="-1000"/>
<attack name="lifedrain" interval="3000" chance="4" range="1" min="-500" max="-2500">
<attribute key="areaEffect" value="blueshimmer"/>
</attack>
<attack name="speed" interval="4000" chance="15" range="7" speedchange="-600" duration="30000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="lifedrain" interval="1000" chance="17" radius="3" target="0" min="-1200" max="-2000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="lifedrain" interval="2000" chance="9" length="8" spread="0" min="-1000" max="-2000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="poisoncondition" interval="3000" chance="9" length="8" spread="0" min="-3000" max="-4000">
<attribute key="areaEffect" value="greenspark"/>
</attack>
</attacks>
<defenses armor="20" defense="20">
<defense name="healing" interval="1000" chance="17" min="50" max="150">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
</defenses>
<elements>
<element deathPercent="100"/>
<element earthPercent="100"/>
<element energyPercent="80"/>
<element holyPercent="-35"/>
</elements>
<immunities>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="2000" chance="5">
<voice sentence="MORTE VEM ME BUSCAAR!!!"/>
<voice sentence="TO TE ESPERANDO CACETE!!!"/>
<voice sentence="PORRA MALDITA MORTE VEM LOGO!!"/>
</voices>
<summons maxSummons="4">
<summon name="bonebeast" interval="1000" chance="17" max="4"/>
</summons>
<loot>
<item id="2401" chance="10000"/> --staff
<item id="2171" chance="1666"/> --platinium amulet
<item id="2656" chance="709"/> --blue robe
<item id="2144" countmax="6" chance1="6666" chancemax="0"/> black pear
<item id="2004" chance="100000">
<inside>
<item id="2535" chance="588"/> --castle shield
<item id="2165" chance="888"/> --stealth ring
<item id="2143" countmax="4" chance1="4000" chancemax="0"/> white pear
<item id="2237" chance="10000"/> --dirty cape
<item id="2148" countmax="12" chance1="80000" chancemax="0"/>
<item id="2175" chance="10000"/> --spell book
<item id="2179" chance="900"/> --gold ring
<item id="3961" chance="1000"/> --liche staff
</inside>
</item>
</loot>
</monster>
Se você quiser modificar ai vão as legendas!
Azul: Exp que ele da...
Vermelho: HP dele...
Rosa: Ataques dele...
Verde: Loot dele...
Laranja: As falas dele...
Pronto! agora que você configurou ele, volte a pasta monsters e abra o arquivo chamado Monters.xml, agora coloque isto:
No meu caso, eu uso o servidor do Slayer então é separado por pastas, então ficou assim:
SS do Monstro:
Comentem!!
Editado Abril 12 por BRIGU