Gente Muito boa as magias...
Espero que gostem...
E comentem para ve se melhoro ...
Magia do Druid....
area = { {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0}, {0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0}, {0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0}, {0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1} } 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.maxDmg = (level * 2 + maglv * 4 ) * 2 return doAreaExMagic(cid, centerpos, needDirection, areaEffect, area, PoisonStormObject:ordered(), 2000, 1, SubPoisonStormObject1:ordered(), 2000, 2, SubPoisonStormObject2:ordered(), 2000, 10, SubPoisonStormObject3:ordered(), 3) end
Magia de Pally
area = { {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 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}, {2, 2, 2, 0, 0, 1, 0, 0, 3, 3, 3}, {2, 2, 2, 2, 2, 0, 3, 3, 3, 3, 3}, {2, 2, 2, 0, 0, 4, 0, 0, 3, 3, 3}, {0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0}, {0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0}, {0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0}, } attackType = ATTACK_FIRE needDirection = true areaEffect = NM_ME_SOUND animationEffect = NM_ANI_NONE hitEffect = NM_ME_EXPLOSION_DAMAGE damageEffect = NM_ME_SOUND 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 * 2 + maglv * 2) * 1.3 - 30 -- UltimateExplosionObject.maxDmg = (level * 2 + maglv * 2) * 2.0 UltimateExplosionObject.minDmg = (level * 2 + maglv * 3) * 2.3 - 30 UltimateExplosionObject.maxDmg = (level * 2 + maglv * 3) * 3.0 end return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered()) end
Magia de Kina
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, 1, 1, 1, 1, 1, 0, 0, 0},{0, 0, 0, 1, 1, 1, 1, 1, 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, 1, 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, 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 * 3) * 2.3 - 30 UltimateExplosionObject.maxDmg = (level * 3 + maglv * 4) * 3.0 end return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered()) end
Magia de Sorc...(Faze wand of inferno)
function onCast(cid, creaturePos, level, maglv, var) n = makeArrows(cid,2187,1); return n end
Gente Depois disso vcs tem q ir la em spells.xml e po essas 4 parada aki...
<spell name="PoiSon" words="poison" maglv="45" mana="700" enabled="1"><vocation id="2" /></spell>
<spell name="MuSiC" words="exevo music" maglv="20" mana="500" enabled="1"><vocation id="3" /></spell>
<spell name="Exori Fire" words="fire exori" maglv="7" mana="200" enabled="1"><vocation id="4" /></spell>
<spell name="Conjure Wand" words="exevo wand" maglv="50" mana="1000" enabled="1"><vocation id="1" /><vocation id="5" /></spell>
Gente i eh isso esperem q gostem e comentem pra min melhorar meu trabalho...