
Os dragões bebês!
Crie 3 arquivos .lua na pasta data/monster e renomeie-os para:
1- Dragon Hatchling:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Dragon Hatchling" nameDescription="a dragon hatchling" race="blood" experience="185" speed="170" manacost="0"> <health now="380" max="380"/> <look type="271" head="20" body="30" legs="40" feet="50" corpse="7623"/> <targetchange interval="60000" chance="0"/> <strategy attack="100" 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 staticattack="50"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" min="-1" max="-80"/> <attack name="dragon firewave" interval="4000" chance="60" min="-20" max="-60"/> </attacks> <defenses armor="10" defense="11"> <defense name="light healing" interval="6000" chance="65" min="20" max="50"/> </defenses> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="1"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="1"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <voices interval="2000" chance="5"> <voice sentence="Fchu?"/> </voices> <loot> <item id="2148" countmax="50" chance1="100000" chancemax="0"/> <item id="2672" countmax="1" chance1="20000" chancemax="0"/> <item id="7618" chance="10000"/> </loot> </monster>
2- Dragon Lord Hatchling:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Dragon Lord Hatchling" nameDescription="a dragon lord hatchling" race="blood" species="fire" experience="645" speed="170" manacost="0"> <health now="750" max="750"/> <look type="272" head="20" body="30" legs="40" feet="50" corpse="7624"/> <targetchange interval="60000" chance="0"/> <strategy attack="100" 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 staticattack="50"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" min="-1" max="-80"/> <attack name="dragon firewave" interval="6000" chance="80" min="-50" max="-150"/> <attack name="dragon fireball" interval="4000" chance="80" min="-30" max="-100"/> <attack name="dragon firebomb" interval="8000" chance="40" min="-20" max="-20"/> </attacks> <defenses armor="15" defense="16"> <defense name="light healing" interval="6000" chance="65" min="30" max="60"/> </defenses> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="1"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="1"/> <immunity outfit="0"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <voices interval="2000" chance="5"> <voice sentence="Fchu?"/> </voices> <loot> <item id="2148" countmax="100" chance1="100000" chancemax="0"/> <item id="2672" countmax="2" chance1="20000" chancemax="0"/> <item id="7891" chance="1818"/> </loot> </monster>
3- Frost Dragon Hatchling:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Frost Dragon Hatchling" nameDescription="a frost dragon hatchling" race="blood" experience="745" speed="170" manacost="0"> <health now="800" max="800"/> <look type="283" head="20" body="30" legs="40" feet="50" corpse="7970"/> <targetchange interval="60000" chance="0"/> <strategy attack="100" 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 staticattack="50"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" min="-1" max="-120"/> <attack name="dragon icewave" interval="6000" chance="60" min="-70" max="-160"/> <attack name="dragon iceball" interval="3000" chance="50" min="-60" max="-120"/> </attacks> <defenses armor="20" defense="21"> </defenses> <immunities> <immunity ice="1"/> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="1"/> <immunity poison="1"/> <immunity lifedrain="0"/> <immunity paralyze="1"/> <immunity outfit="0"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <voices interval="2000" chance="5"> <voice sentence="Fchu?"/> </voices> <loot> <item id="2148" countmax="100" chance1="100000" chancemax="0"/> <item id="2672" countmax="3" chance1="20000" chancemax="0"/> </loot> </monster>
Agora adicione na pasta data/monster/monsters.xml isso:
<monster name="Dragon Hatchling" file="Dragon Hatchling.xml" /> <monster name="Dragon Lord Hatchling" file="Dragon Lord Hatchling.xml" /> <monster name="Frost Dragon Hatchling" file="Frost Dragon Hatchling.xml" />
Pronto! Agora só falta colocar os ataques do Frost Dragon Hatchling!
Crie 2 arquivos .lua na pasta data/spells/scripts/monsters e renemeio-os para:
1- Dragon Iceball:
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 41) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -45, 0, -105) local arr = { {0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 3, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0} } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
2- Dragon Icewave:
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 41) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -90, 0, -140) local arr = { {1, 1, 1, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 3, 0, 0, 0, 0}, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) doCombat(cid, combat, var) end
Agora adicione em na pasta data/spells/spells.xml isso:
<rune name="dragon iceball" id="20024" enabled="1" script="monsters/Dragon Iceball.lua"></rune> <instant name="dragon icewave" words="dragon icewave" direction="1" enabled="0" script="monsters/Dragon Icewave.lua"></instant>
Agora que o Aries lanço a versão atualizada do OTB, eu já arrumei os corpos e os loots!
Pronto! Agora os seus dragões bebês estão criado!

Os novos cyclops!
Crie 2 arquivos .lua na pasta data/monster e renomeie-os para:
1- Cyclops Drone:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Cyclops Drone" nameDescription="a cyclops drone" species="hard" race="blood" experience="200" speed="190" manacost="525"> <health now="325" max="325"/> <look type="280" head="20" body="30" legs="40" feet="50" corpse="7848"/> <targetchange interval="60000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag staticattack="60"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" min="-15" max="-100"/> </attacks> <defenses armor="21" defense="22"/> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="0"/> </immunities> <voices interval="2000" chance="5"> <voice sentence="Fee! Fie! Foe! Fum!"/> <voice sentence="Luttl pest!"/> </voices> <loot> <item id="2148" countmax="24" chance1="100000" chancemax="0"/> <item id="7588" chance="1818"/> <item id="2515" chance="4618"/> <item id="2406" chance="2333"/> <item id="2381" chance="2118"/> <item id="2666" countmax="2" chance1="33333" chancemax="0"/> </loot> </monster>
2- Cyclops Smith:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Cyclops Smith" nameDescription="a cyclops smith" species="hard" race="blood" experience="255" speed="190" manacost="695"> <health now="435" max="435"/> <look type="277" head="20" body="30" legs="40" feet="50" corpse="7741"/> <targetchange interval="60000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag staticattack="60"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" min="-25" max="-120"/> </attacks> <defenses armor="23" defense="25"/> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="0"/> </immunities> <voices interval="2000" chance="5"> <voice sentence="Whack da humy"/> <voice sentence="Outis emoi g' onoma."/> </voices> <loot> <item id="2148" countmax="69" chance1="100000" chancemax="0"/> <item id="2490" chance="3057"/> <item id="2442" chance="2581"/> <item id="2666" countmax="3" chance1="33333" chancemax="0"/> <item id="1987" chance="100000"> <inside> <item id="2513" chance="3000"/> <item id="2510" chance="6857"/> <item id="7398" chance="1384"/> <item id="7452" chance="849"/> <item id="2671" countmax="1" chance1="33333" chancemax="0"/> </inside> </item> </loot> </monster>
Agora adicione na pasta data/monster/monsters.xml isso:
<monster name="Cyclops Smith" file="Cyclops Smith.xml" /> <monster name="Cyclops Drone" file="Cyclops Drone.xml" />
Pronto! Agora os seus novos cyclops estão criados!
Créditos: 100% lucasbro