whitevo
Feeling good, thats what I do.
I was making a huge area spell for a monster and noticed that client doesn't show all the effects.
So tested few things and realized not only does it show magic effect it doesn't do damage to the position.
So i put up a testing ground, and counted some actions, to see if my script is faulty or who knows what else.
Nothing is wrong with code. It simply does not deal damage nor send magic effect Oo
Took some pictures to explain the situation:
What should happen is that all the poles take damage, but in some reason it skips the damage and doing the magic effect.
But when I count if the functions are even activated it does count them..
The reason why the values are 4 times higher are because the area is looped 4 trough 4 times.
So tested few things and realized not only does it show magic effect it doesn't do damage to the position.
So i put up a testing ground, and counted some actions, to see if my script is faulty or who knows what else.
Nothing is wrong with code. It simply does not deal damage nor send magic effect Oo
Took some pictures to explain the situation:
What should happen is that all the poles take damage, but in some reason it skips the damage and doing the magic effect.
But when I count if the functions are even activated it does count them..
The reason why the values are 4 times higher are because the area is looped 4 trough 4 times.
Code:
local bubbleOutsideArea = {
{n, n, n, n, 8, 7, 6, 6, 6, 6, 6, 6, 7, 8, n, n, n, n},
{n, n, n, 8, 7, 6, 5, 5, 5, 5, 5, 5, 6, 7, 8, n, n, n},
{n, n, 8, 7, 6, 5, 4, 4, 4, 4, 4, 4, 5, 6, 7, 8, n, n},
{n, 8, 7, 6, 5, 4, 3, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, n},
{8, 7, 6, 5, 4, 3, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8},
{7, 6, 5, 4, 3, 2, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7},
{6, 5, 4, 3, 2, 1, 1, n, n, n, 1, 1, 2, 3, 3, 4, 5, 6},
{6, 5, 4, 3, 2, 1, n, n, n, n, n, 1, 2, 3, 3, 4, 5, 6},
{6, 5, 4, 3, 2, 1, n, n, 0, n, n, 1, 2, 3, 3, 4, 5, 6},
{6, 5, 4, 3, 2, 1, n, n, n, n, n, 1, 2, 3, 3, 4, 5, 6},
{6, 5, 4, 3, 2, 1, 1, n, n, n, 1, 1, 2, 3, 3, 4, 5, 6},
{7, 6, 5, 4, 3, 2, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7},
{8, 7, 6, 5, 4, 3, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8},
{n, 8, 7, 6, 5, 4, 3, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, n},
{n, n, 8, 7, 6, 5, 4, 4, 4, 4, 4, 4, 5, 6, 7, 8, n, n},
{n, n, n, 8, 7, 6, 5, 5, 5, 5, 5, 5, 6, 7, 8, n, n, n},
{n, n, n, n, 8, 7, 6, 6, 6, 6, 6, 6, 7, 8, n, n, n, n},
}