Auto-translated
thank you, and another question:
is there a way to determine if a cell on the map has been excavated?
or if a hero excavated at a specific moment?
so far, the only thing that comes to mind is to determine the player's position and monitor the change in action points, and if the position does not change, and the action points are reset, it means that the hero was excavating (and at the same time, it is necessary to monitor whether he summoned creatures from the castle, because in this case, action points are also spent).
is there a way to determine if a cell on the map has been excavated?
or if a hero excavated at a specific moment?
so far, the only thing that comes to mind is to determine the player's position and monitor the change in action points, and if the position does not change, and the action points are reset, it means that the hero was excavating (and at the same time, it is necessary to monitor whether he summoned creatures from the castle, because in this case, action points are also spent).
и немедленно выпил...