Explica direito, põe dentro das tags de code ou quote, e não posta o mesmo tópico várias vezes seguidas, vou reportar o tópico cara.
- Fórum
- OTServ
- Recursos
- Scripting
- Globalevents e Spells
- Magia Rox Msm
6
2.2k
info
Grupo: Banidos
Registrado: 03/10/06
Posts: 227
Reputação: 0
21 de dezembro de 2006 às 18:48
21 de dezembro de 2006 às 18:53
Os outros tópicos foram enviados à lixeira.
Se fizer isso novamente será suspenso.
21 de dezembro de 2006 às 18:58
21 de dezembro de 2006 às 19:00
5 meses depois...
info
Grupo: Herói
Registrado: 12/11/05
Posts: 715
Reputação: +1
Char no Tibia: Lord'Skyxt

25 de maio de 2007 às 15:50
Tópico contendo somente 1 ou 2 Spells,
essa seção é para DataPacks com 3 ou mais Npcs,
~o{Tópico Movido}o~,
Abraços.





info
Grupo: Campones
Registrado: 05/12/06
Posts: 4
Reputação: 0
area = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
}
attackType = ATTACK_POISON
needDirection = false
areaEffect = NM_ME_POISON_AREA
animationEffect = 14
hitEffect = NM_ME_POISEN
damageEffect = NM_ME_POISEN_RINGS
animationColor = 19
offensive = true
drawblood = false
minDmg = 100
maxDmg = 100000
PoisonBombObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)
SubPoisonBombObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg)
SubPoisonBombObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 4, 4)
SubPoisonBombObject3 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 3, 3)
SubPoisonBombObject4 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 2, 2)
SubPoisonBombObject5 = 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 doAreaGroundMagic(cid, centerpos, needDirection, areaEffect, area, PoisonBombObject:ordered(),
0, 1, SubPoisonBombObject1:ordered(),
2000, 2, SubPoisonBombObject2:ordered(),
2000, 3, SubPoisonBombObject3:ordered(),
2000, 4, SubPoisonBombObject4:ordered(),
2000, 5, SubPoisonBombObject5:ordered(),
5, 60000, 2106,
1000, 6, SubPoisonBombObject2:ordered(),
1, 60000, 2106,
0, 25000, 2106, 3)
end