How to create a new enemy in Battle? (The Obstacle in Battle)

Ok, so here's what I'd like to find... I'd like to make the battle interactive with different items and obstacles in the way... Walls you have to break down, rocks that give cover for the front row, wooden walls...

Now some would say to just create an enemy that would have the certain amount of HP, and not do anything but stand there until it is destroyed... but in this case, I want the enemies to be able to attack it as well... Any ideas how this could be done?
You want your enemies to attack the same obstacles that your party attacks? If so, you'll have to make skills that deal friendly fire.
Check out Yanfly 'starget core plugin

Original thread: https://forums.rpgmakerweb.com/threads/how-to-create-a-new-enemy-in-battle-the-obstacle-in-battle.87975/