Page 1 of 1

Remove terrain effects spec action

Posted: Mon Oct 11, 2021 8:00 am
by Midonik
It seems that if a unit moves from a tile where it wasn't affected into a tile with an effect with a carrier that removes terrain effects on it, they won't be affected, however if they were affected before moving onto said carrier with the same type of terrain, they will keep the effect.

So the carriers with "removes terrain effects" often don't remove terrain effects.

Re: Remove terrain effects spec action

Posted: Tue Oct 12, 2021 6:19 pm
by Endru1241
@Stratego (dev) I believe the code of leaving aura lack similar check as when entering.
So when there is a check on moving, that confirms unit is not leaving area of aura it should have additional check if carrier doesn't have spec IS_BLOCKING_TERRAIN_AFFECTS

Re: Remove terrain effects spec action

Posted: Tue Oct 12, 2021 6:44 pm
by Stratego (dev)
i am little confused, you write aura case it should check a terain effect flag, i think that is for terrain effects only. or not?

Re: Remove terrain effects spec action

Posted: Tue Oct 12, 2021 7:17 pm
by Endru1241
Yes.
Check for that spec should only for terrain effects.

I was thinking about different issue that could be related - map editor placed units with aura on start doesn't change affected units parameters and even make them lower, when leaving it.
But after thinking for some time - I was not sure if it's related, so I decided to not mention it on previous post.
Must have been thinking too much on it to misspell.