lapsang-boys / Crimson-Chronicles

A self-proclaimed paradigm shifting tower defense map in Warcraft 3
4 stars 0 forks source link

Add no-go regions for MobMissile #43

Closed godbit closed 6 years ago

godbit commented 6 years ago

The MobMissile can in RARE cases land where it is not supposed to, for instance in the water zone-1 👼

To avoid this we could add regions within the zone where the unit is not supposed to land and make sure that the computed landing spot is not in one of those.

karlek commented 6 years ago

"RARE".

godbit commented 6 years ago

There are no logs of it ever happening but you can never be to safe 😎

karlek commented 6 years ago

I don't think adding regions for every risky part in an area, for every player, for every zone is good coding style. Even though the terrain will probably be quite permanent, it makes us much less able to update the terrain if we actually want to.

Can we for instance check if the target position has a lower z-level or add pathing blockers etc?

godbit commented 6 years ago

Yeah i agree its a pretty nasty solution. We can probably figure something out together.