I have code like this:
that thing wont work, I have used it for Dragon Whirl, but still they can pass it in the wall(eg. Guild War Wall) you guys hope good idea how to make it work? thanks ....
PHP Code:
suse.X = X;
suse.Y = Y;
attack.X = X;
attack.Y = Y;
for (int xs = 0; xs < attack.X; xs++)
{
for (int ys = 0; ys < attack.Y; ys++)
{
if (attacker.Owner.Map.Floor[xs, ys,MapObjectType.InvalidCast,null])
break;
}
}