Different Attack styles depending on Weapon

Good day, I have always been wondering if it is possible to change attack styles depending on specific weapons equipped.

Here is an example: When a character is equipped with a Handgun it will attack a single enemy once.

                                 When a character is equipped with a shotgun it will attack random  enemies once or twice

                                 When a character is equipped with a sub-machine gun it will attack a single enemy many times

                                 When a character is equipped with a Grenade Launcher it will attack all enemies

and etc etc has anyone done this and if so is it easily possible or do you have to use a script for it? The reason why i ask this is because I have thought of a very interesting mechanic for the current project our team is doing.
yes, it can be done - easy with skripts (there are several scripts on the masterlist that allow you to set different attack skills for different weapons), and even without scripting (give each weapon different skill features)
Different skill features? Hmm as in Add Skill? I tried that but it seems Moghunter doesn't accept other default attacks other than Attack, might have to see if I can override it with a script, any suggestions? Been looking for a script but my searching skills sucks, I did find one though but caused a lot of bugs.
I did something like what you suggested with Yanfly's skill attack replace script, then just assigned each weapon type to the appropriate attack. Nice thing is, I can also use those skills for the enemies default attack too, so now both sides can be using a weapon which attacks a single enemy many times.

I think the only one that might not work is the attack a single enemy once or twice. I don't recall any scripts that let you randomize the number of attack times (though doesn't mean it isn't out there!).
Different skill features? Hmm as in Add Skill?
No.  There are scripts that will "use" different skills from your database based on what Weapon you have equipped, which will do what you want.

I don't know the names of them offhand, however.  Do some searching around and you should be able to find them.
Vlue has one that assigns skills as a default character attack. I don't know if it works with Moghunter scripts though
Really? Lemme go check his script out and give a update on the matter, would be nice to let other Moghunter users know thast this can or cannot work with the scripts.

Original thread: https://forums.rpgmakerweb.com/threads/different-attack-styles-depending-on-weapon.38670/