Creating the AI is always going to be difficult. I don't think line of sight is a factor because you'll want the enemy to always run at you in smash bros type game. It'll be a lot of conditions and simulate control on the platform behaviour. If overlapping then perform ability action and such, or various state conditions with priority set such as choosing to pick up items instead of attacking. They may choose to prioritise jumping on the higher platform so simulate jump until they reach it. Or there may be priority on jumping towards the enemy, or if they are out of bounds priority on trying to jump back into the level.