attack based on enemy size

Hi, im trying to make a small horror game and i want to implement a combat system similar to silent hill 2 remake how the player can attack and change anims based on size.

i was wonder how and what should i do to approach this?