To be honest, I don't really got it what you meant with "starting with a fresh tree" but the solution that you proposed solve the problem very well.
Thanks for your support!
Hi,
I'll try to explain what I'm trying to achieve and what's going on.
So, here's my case:
I have an AI that have to move to a point A to a point B. It can be blocked dynamically by the player and it has spells that it can use to destroy the barrier so it can continue it's path.
I have more...