Changing the logic for calling the Attack animation

I created some physical skills and I want to give the user the same animation for those as they have for the Attack skill (namely, to use the weapon motion and show the weapon).  I'd like to avoid the plugins out there that require you to craft the animation yourself.  All I'm really trying to do is change the logic from:


If Skill ID = 1, use the Attack animation


To:


If Hit Type = Physical, use the Attack animation


But I haven't been able to find anything that does that in the JS files.  Does anyone know where this logic resides in the code?
why don't you simply use the (add state "normal attack") and the normal attack animation? That should add the animation of the equipped weapon when using that specific skill, because the function is not based on the skill ID but on the normal attack setting.
It does the slash/hit/whatever animation to the target, but the user still acts like they're casting a spell.
It does the slash/hit/whatever animation to the target, but the user still acts like they're casting a spell.

That has nothing to do with the skill, but with the skill type setting in the database.


On the system tab, there is an area called [SV] Magic Skills. All skill types that are listed there get the casting animation, you need to make the skill a skill type not listed there.
I think that only controls what the actor does while you're picking your party's moves, not the actual attack.  I don't have anything in the [SV] Magic Skills list and the attack is still just a generic "arms spread out" motion.

Original thread: https://forums.rpgmakerweb.com/threads/changing-the-logic-for-calling-the-attack-animation.62993/