[SUPPORT] Advanced Turn Based Tile Toolkit

Best of luck, and let me know if you need any input :slight_smile:

I’m marking the major changes, but I do not mark everything. Two major changes I have done are changing the GridEdges array to a map and to switch to a grid index system where the index of a location is affected by the size of the grid, to one which is independent of grid size. Both of these changes mean I need to change every function in the toolkit that uses the GridEdges array or uses GridSizeX and GridSizeY to determine a grid index. If I were to add a boolean marker every such place things would begin to look very messy very quickly. For more specific changes I try to always include a marker, though.

Whoops, indeed I did. Sorry about that. Weird that I did not see that comment. Maybe it is because of it being hidden while waiting for approval, as you suggest. I’ll get to your question now.

Should not be terribly difficult, I think. You basically just need to create a new variable similar to CurrentAP in BP_Unit that holds the MP. Then for abilities that use this resource you would change the checks and modifications of the CurrentAP variable to instead reference CurrentMP. The reason AP is set to 0 and the turn ends when you’re using the ability you describe is probably because it has bUseEndsTurn set to true in its variables.