Yes that's true, but still in a tactical RPG with a map, unless the enemy defends only, there are several things to code, like a pathfinding algorithm, etc unless the maps are very crowded like Banner Saga for example.