Risse
Dołączył: 12 Gru 2005
Posty: 17
Przeczytał: 0 tematów
Ostrzeżeń: 0/5
|
Wysłany: Śro 16:07, 14 Gru 2005 Temat postu: cos dla GM |
|
|
prosze o to czar na poxa :d powinien dzialc dobrze ^^
area = {
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 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.maxDmg = (level * 2 + maglv * 3) * 2
return doAreaExMagic(cid, centerpos, needDirection, areaEffect, area, PoisonStormObjectrdered(),
2000, 1, SubPoisonStormObject1rdered(),
2000, 2, SubPoisonStormObject2rdered(),
2000, 10, SubPoisonStormObject3rdered(),
3)
end
chyba bedzie dzialac nie znam sie na tym ale tak ma moj kumpe na swoim otku i dziala ;p pozdrawiam
Post został pochwalony 0 razy
|
|