Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Give an event a custom move route, and set it to Event Touch. Then add a "Deal Damage" command that hurts the player. You can also show an animation, play a SE, etc. Whatever you feel is necessary.
Well, you could try it with events, but it'd be rather complicated. I'm assuming you want to make it an ABS (action battle system)? You can try searching for one in the Scripts forum.