acabei de fazer esse monstro e como acho que eli fico muito rox
resolvi postar aki para ser meu primeiro post :happy:
eli nao é muito forte por isso nao aconselho pra ots de xp alto
eli é o Nantuko choca-Ninhadas e ataca com algumas magias de poison e com seus summons
aki ta o montro e abaixo vou postar as magias deli
<?xml version="1.0"?>
<monster name="Nantuko Choca-Ninhadas" level="30" maglevel="45" experience="500" pushable="0" armor="13" defense="18" canpushitems="1" staticattack="50" changetarget="200" speed="100">
<health now="480" max="480"/>
<look type="154" head="5" body="63" legs="44" feet="121" lookaddon="3" corpse="3128" race="1"/>
<combat targetdistance="5" runonhealth="0"/>
<attacks>
<attack type="melee" mindamage="50" maxdamage="105"/>
<attack type="instant" name="bug" exhaustion="100" cycleticks="5000" probability="50"/>
<attack type="instant" name="nantuko" exhaustion="100" cycleticks="5000" probability="50"/>
<attack type="instant" name="exevo gran pox" exhaustion="300" cycleticks="4000" probability="75"/>
<attack type="rune" name="omruc poisonarrow" exhaustion="200" cycleticks="5000" probability="60"/>
</attacks>
<defenses>
<defense immunity="poison"/>
</defenses>
<voices>
<voice sentence="Chiiiiiii."/>
<voice sentence="Look my childrens."/>
</voices>
<loot>
<item id="2974" chance="2000"/>
<item id="2181" chance="1000"/>
<item id="1991" chance="100000">
<inside>
<item id="2168" chance="1000"/>
</inside>
</item>
</loot>
<summons maxSummons="8">
<summon name="spider" chance="4000"/>
<summon name="bug" chance="5000"/>
<summon name="tarantula" chance="2000"/>
<summon name="giant spider" chance="1000"/>
<summon name="centipede" chance="4000"/>
<summon name="poison spider" chance="3000"/>
<summon name="scorpion" chance="3000"/>
<summon name="wasp" chance="4000"/>
</summons>
</monster>
add o de baixo no arkivo monstros da sua pasta monstro
<monster name="Nantuko Choca-Ninhadas" file="Nantuko Choca-Ninhadas.xml" />
e agora as magias
a magia que transforma eli em bug
attackType = ATTACK_NONE
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_NONE
damageEffect = NM_ME_NONE
animationColor = GREEN
offensive = false
drawblood = false
LightMagicMissileObject = 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}
ret = doTargetMagic(cid, centerpos, LightMagicMissileObject:ordered())
if(ret) then
monsterlook = 45
end
time = 60
changeOutfit(cid, time, monsterlook)
return ret
end
e a ke transforma eli em humano
attackType = ATTACK_NONE
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_NONE
damageEffect = NM_ME_NONE
animationColor = GREEN
offensive = false
drawblood = false
LightMagicMissileObject = 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}
ret = doTargetMagic(cid, centerpos, LightMagicMissileObject:ordered())
if(ret) then
monsterlook = 154 head="20" body="30" legs="40" feet="50" lookaddon="3"
end
time = 60
changeOutfit(cid, time, monsterlook)
return ret
end
e a magia que eli ataca
area = {
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0},
{0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0},
{0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
{1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1},
{1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1},
{1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1},
{0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
{0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0},
{0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
}
attackType = ATTACK_POISON
needDirection = false
areaEffect = NM_ME_MAGIC_POISEN
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_POISEN
damageEffect = NM_ME_MAGIC_POISEN
animationColor = GREEN
offensive = true
drawblood = false
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 = (level * 2 + maglv * 3) * 1.7
UltimateExplosionObject.maxDmg = (level * 2 + maglv * 3) * 1.9
end
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered())
end
e as magias que vao ficar no arkivo spell na pasta spell
<spell name="bug look" words="bug" maglv="0" mana="0" enabled="1"></spell>
<spell name="nantuko look" words="nantuko" maglv="0" mana="0" enabled="1"></spell>
<spell name="Evenon Circle" words="exevo gran pox" maglv="4000" mana="800" enabled="1"></spell>
esperam que gostem :smiling: