area = { {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, }attackType = ATTACK_FIREneedDirection = falseareaEffect = NM_ME_FIRE_AREAanimationEffect = NM_ME_HITBY_FIREhitEffect = NM_ME_HITBY_FIREdamageEffect = NM_ME_FIRE_AREAanimationColor = FIREoffensive = truedrawblood = falseminDmg = 0maxDmg = 0PoisonBombObject = 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, 6, 6)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(),5000, 1, SubPoisonBombObject2:ordered(),2, 35000, 2703,5000, 6, SubPoisonBombObject2:ordered(),1, 60000, 2704,0, 35000, 2705, 3)end
Vc pode sair, mas os bixos nao podem entrar nela/sair dela!