Ola pessoal estou aqui para postar mais um dos monstros que eu criei
é o Verminor uma boss dos demons
tentei faze-lo como ele devera ser ninguem o achou ainda no tibia global
mas eu o fiz analisando aos outros monstros.
1° va na pasta data/monsters e copie um arquivo.xml de qualquer monstro e cole isso;
<?xml version="1.0"?><monster name="Verminor" level="200" maglevel="200" experience="50000" pushable="0" armor="100" defense="100" canpushitems="1" staticattack="45" changetarget="200" speed="850">
<health now="100000" max="100000"/>
<look type="35" head="20" body="30" legs="40" feet="50" corpse="2916"/>
<combat targetdistance="1" runonhealth="0"/>
<blood color="199" effect="0" splash="255"/>
<attacks>
<attack type="melee" mindamage="1500" maxdamage="1600" probability="2500"/>
<attack type="instant" name="poison storm" exhaustion="500" cycleticks="3000" probability="150"/>
<attack type="instant" name="v_exori" exhaustion="500" cycleticks="5000" probability="120"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
<defense immunity="drunk"/>
</defenses>
<voices>
<voice sentence="This is the end world"/>
<voice sentence="MUAHAHAHAHAHAHAHAHAHA!"/>
<voice sentence="Payfor me your life!!!"/>
</voices>
<loot>
<item id="2152" countmax="65" chance1="100000" chancemax="0"/>
<item id="2169" chance="100000"/>
<item id="2509" chance="33333"/>
<item id="2415" chance="20000"/>
<item id="2002" chance="90000">
<inside>
<item id="2414" chance="5000"/>
<item id="2152" countmax="50" chance1="100000" chancemax="0"/>
<item id="2523" chance="33333"/>
<item id="2496" chance="50000"/>
</inside>
</item>
</loot>
<summons maxSummons="4">
<summon name="Demon" chance="400"/>
</summons>
</monster>
O loot edite como você quer
2° agora procure monster.xml na pasta monsters e cole:
<monster name="Verminor" file="verminor.xml" />
Como eu fiz as magias que ele usa temos que por ela entao faço o seguinte;
1°Na pasta data de seu ot entre em spells/instant
copie qualquer magia e abra e pague tudo e cole isso;
area = {{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
}
attackType = ATTACK_PHYSICAL
needDirection = false
areaEffect = NM_ME_HIT_AREA
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_HIT_AREA
damageEffect = NM_ME_HIT_AREA
animationColor = RED
offensive = true
drawblood = true
UltimateExplosionObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)
function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
n = tonumber(var) -- try to convert it to a number
if n ~= nil then
-- bugged
-- ultimateExplosionObject.minDmg = var+0
-- UltimateExplosionObject.maxDmg = var+0
UltimateExplosionObject.minDmg = 0
UltimateExplosionObject.maxDmg = 0
else
UltimateExplosionObject.minDmg = 1000
UltimateExplosionObject.maxDmg = 1500
end
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered())
end
como são duas magias repita a operação so que cole isso na proxima;
area = {{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1},
{1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}
}
attackType = ATTACK_POISON
needDirection = false
areaEffect = NM_ME_POISONCLOUD
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_POISEN
damageEffect = NM_ME_POISEN_RINGS
animationColor = GREEN
offensive = true
needDirection = false
drawblood = false
minDmg = 1000
maxDmg = 1500
PoisonStormObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg)
SubPoisonStormObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 20, 20)
SubPoisonStormObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 19, 19)
SubPoisonStormObject3 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 18, 18)
SubPoisonStormObject4 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 17, 17)
SubPoisonStormObject5 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 16, 16)
SubPoisonStormObject6 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 15, 15)
SubPoisonStormObject7 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 14, 14)
SubPoisonStormObject8 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 13, 13)
SubPoisonStormObject9 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 12, 12)
SubPoisonStormObject10 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 11, 11)
SubPoisonStormObject11 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 10, 10)
SubPoisonStormObject12 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 5, 5)
SubPoisonStormObject13 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 4, 4)
SubPoisonStormObject14 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 3, 3)
SubPoisonStormObject15 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 2, 2)
SubPoisonStormObject16 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 1, 1)
function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
return doAreaExMagic(cid, centerpos, needDirection, areaEffect, area, PoisonStormObject:ordered(),
2000, 1, SubPoisonStormObject1:ordered(),
2000, 1, SubPoisonStormObject2:ordered(),
2000, 1, SubPoisonStormObject3:ordered(),
2000, 1, SubPoisonStormObject4:ordered(),
2000, 1, SubPoisonStormObject5:ordered(),
2000, 1, SubPoisonStormObject6:ordered(),
2000, 1, SubPoisonStormObject7:ordered(),
2000, 1, SubPoisonStormObject8:ordered(),
2000, 1, SubPoisonStormObject9:ordered(),
2000, 1, SubPoisonStormObject10:ordered(),
2000, 1, SubPoisonStormObject11:ordered(),
2000, 3, SubPoisonStormObject12:ordered(),
2000, 5, SubPoisonStormObject13:ordered(),
2000, 7, SubPoisonStormObject14:ordered(),
2000, 9, SubPoisonStormObject15:ordered(),
2000, 11, SubPoisonStormObject16:ordered(),
16)
end
agora você as fez intaum va no arquivo chamado spell.xml para adiciona-las em seu ot e faça o seguinte;
ache onde diz
<!--// Monster \\-->
e cole isso;
<spell name="poison storm" words="poison storm" maglv="4000" mana="800" enabled="1"></spell><spell name="v_exori" words="v_exori" maglv="4000" mana="800" enabled="1"></spell>
ta pronto apos todo esse sofrimento você tera um bom monstro emseu ot
espero que tenham gostado
comentem se aprovarão continuarei a por mais monstros feitos por mim, em meu ot ele faz sucesso e a exp é 10 x