cara mto mal explicado mano com melhores explicaçoes vc podera buscar mais respostas
- Fórum
- OTServ
- Recursos
- Scripting
- Globalevents e Spells
- Magia Q Eu Fiz
4
1.7k
3 semanas depois...
info
Grupo: Visconde
Registrado: 05/10/06
Posts: 381
Reputação: +7

22 de outubro de 2006 às 16:30
1 mês depois...
07 de novembro de 2006 às 12:34
Olá
@Tópic 1~
Muito Mau Organizado, A Magia não está na Quote/Code..
Explique-a e Obtenha Mais Sucesso!
@Tópic 2~
È 1 Simples Wave de Energy!
Reprovado!
//Greh
6 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 16:20
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/10/06
Posts: 6
Reputação: 0
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, 2},
{0, 0, 4, 0, 0, 1, 0, 0, 0, 2, 2},
{0, 4, 4, 4, 0, 1, 0, 0, 2, 2, 2},
{4, 4, 4, 4, 4, 0, 2, 2, 2, 2, 2},
{0, 4, 4, 4, 0, 3, 0, 0, 2, 2, 2},
{0, 0, 4, 0, 0, 3, 0, 0, 0, 2, 2},
{0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 2},
{0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 0},
{0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0},
}
attackType = ATTACK_ENERGY
needDirection = true
areaEffect = NM_ME_LOOSE_ENERGY
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_ENERGY_AREA
damageEffect = NM_ME_ENERGY_DAMAGE
animationColor = RED
offensive = true
drawblood = true
EnergyWaveObject = 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}
EnergyWaveObject.minDmg = (level * 2 + maglv * 3) * 2.3
EnergyWaveObject.maxDmg = (level * 2 + maglv * 3) * 2.7
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, EnergyWaveObject:ordered())
end