cara mto mal explicado mano com melhores explicaçoes vc podera buscar mais respostas
- Forums
- OTServ
- Recursos
- Scripting
- Globalevents e Spells
- Magia Q Eu Fiz
4
1.8k
3 weeks later...
info
Group: Visconde
Joined: 05/10/06
Posts: 381
Reputation: +7

22 de outubro de 2006 às 16:30
1 month later...
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 months later...
info
Group: Herói
Joined: 12/11/05
Posts: 715
Reputation: +1
Tibia Character: 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
Group: Campones
Joined: 05/10/06
Posts: 6
Reputation: 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