The Pure Devil:
<?xml version="1.0"?>
<monster name="The Pure Evil" level="50" maglevel="95" experience="100000" pushable="0" speed="600" armor="120" defense="160" canpushitems="1" staticattack="50" changetarget="800">
<health now="100000" max="100000"/>
<look type="12" head="20" body="30" legs="40" feet="50" corpse="2916"/>
<combat targetdistance="1" runonhealth="0"/>
<attacks>
<attack type="melee" maxdamage="2000" cycleticks="2000" probability="90"/>
<attack type="instant" name="exura vita" cycleticks="5000" probability="70"/>
<attack type="instant" name="d exevo gran vis lux" exhaustion="500" cycleticks="8000" probability="70"/>
<attack type="instant" name="exevo mal" exhaustion="500" cycleticks="4000" probability="50"/>
<attack type="rune" name="Explosion" exhaustion="500" cycleticks="4000" probability="80"/>
<attack type="instant" name="exevo evil" exhaustion="500" cycleticks="3000" probability="50"/>
</attacks>
<defenses>
<defense immunity="energy"/>
<defense immunity="fire"/>
<defense immunity="poison"/>
<defense immunity="paralyze"/>
<defense immunity="invisible"/>
<defense immunity="drunk"/>
</defenses>
<voices>
<voice sentence="I am the lord od the universe !!"/>
<voice sentence="I have created the EVIL !!"/>
<voice sentence="I control EVERYTHING !"/>
<voice sentence="FELL FEAR !!!!!!!"/>
<voice sentence="MAAUHAUHAUHAUAUAH !! MMMAHUAHAUAHUHAUHAU !!!"/>
</voices>
<loot>
<item id="2678" countmax="4" chance1="70000" chancemax="4000"/>// coconut
<item id="2148" countmax="43" chance1="70000" chancemax="4000"/>// gold coin
<item id="2151" countmax="7" chance1="20000" chancemax="3000"/>// talon
<item id="2470" chance="1500"/>// golden legs
<item id="2472" chance="1500"/>// magic plate armor
<item id="2171" chance="9000"/>// platinum amulet
<item id="1987" chance="50000"> // bag
<inside>
<item id="2148" countmax="74" chance1="90000" chancemax="2000"/>// gold coin
<item id="2514" chance="2300"/>// mastermind shield
<item id="2432" chance="5000"/>// fire axe
<item id="2393" chance="3500"/>// giant sword
<item id="2520" chance="3300"/>// demon shield
<item id="2387" chance="9000"/>// double axe
<item id="2176" chance="8000"/>// orb
<item id="2678" countmax="7" chance1="50000" chancemax="4000"/>// coconut
<item id="2151" countmax="7" chance1="20000" chancemax="3000"/>// talon
</inside>
</item>
</loot>
<summons maxSummons="10">
<summon name="Warlock" chance="2000"/>
<summon name="Demon" chance="1700"/>
<summon name="Orshabaal" chance="300"/>
<summon name="Ferumbras" chance="500"/>
<summon name="Behemoth" chance="1900"/>
<summon name="The Old Widow" chance="1200"/>
<summon name="Yeti" chance="1300"/>
<summon name="Demodras" chance="900"/>
</summons>
</monster>
agora vah ate a masta monster.xml e coloq:
<monster name="The Pure Evil" file="the pure evil.xml" />
Como o The Pure devil tem duas magias novas exevo mal e exevo evil adicione as duas:
EXEVO MAL:
area = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0},
{0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0},
{0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0},
{0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0},
{0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0},
{0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0},
{0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}
attackType = ATTACK_POISON
needDirection = false
areaEffect = NM_ME_POISEN_RINGS
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_POISEN
damageEffect = NM_ME_POISEN_RINGS
animationColor = GREEN
offensive = true
needDirection = false
drawblood = false
minDmg = 20
maxDmg = 20
PoisonStormObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg)
SubPoisonStormObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 15, 15)
SubPoisonStormObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 10, 10)
SubPoisonStormObject3 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 5, 5)
function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
PoisonStormObject.minDmg = (level * 2 + maglv * 3) * 1.5 - 30
PoisonStormObject.minDmg = (level * 5 + maglv * 3) * 1.8
PoisonStormObject.maxDmg = (level * 5 + maglv * 3) * 2.7
return doAreaExMagic(cid, centerpos, needDirection, areaEffect, area, PoisonStormObject:ordered(),
2000, 1, SubPoisonStormObject1:ordered(),
2000, 2, SubPoisonStormObject2:ordered(),
2000, 10, SubPoisonStormObject3:ordered(),
3)
end
Agora va ate a pasta spell.xml e coloq:
<spell name="exevo mal" words="exevo mal" maglv="0" mana="800" enabled="1"><vocation id="5"/></spell>
e EXEVO EVIL:
area = {
{0, 0, 0, 1, 0, 0, 0, 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},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
}
attackType = ATTACK_PHYSICAL
needDirection = false
areaEffect = NM_ME_EXPLOSION_AREA
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_EXPLOSION_DAMAGE
damageEffect = NM_ME_DRAW_BLOOD
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 = (level * 3 + maglv * 5) * 3.5 - 30
UltimateExplosionObject.maxDmg = (level * 3 + maglv * 5) * 4.5
end
agora faça o memu com essa magia:
<spell name="exevo evil" words="exevo evil" maglv="0" mana="1000" enabled="1"><vocation id="5"/></spell>
Pronto divirta-se com meu bixinhu ele e de versão 7.8 e 7.9