Yanfly action sequence basic attack

Hi, Im using yanfly action sequence to make animation for my skill. How do you animated basic attack (1st skill) for melee and ranged weapon. I'm trying using from this page https://driftwoodgaming.com/rpg-maker-mv/action-sequences/basic-attack/
but it's not working, and make all my characters using ranged attack
I think it's failing because the site automatically applied formatting to the quote marks; JS expects ' not ‘ or ’. 😅

Basically, replace this line:
Code:
if user.attackMotion() !== ‘missile’
...with this:
Code:
if user.attackMotion() !== 'missile'
I think it's failing because the site automatically applied formatting to the quote marks; JS expects ' not ‘ or ’. 😅

Basically, replace this line:
Code:
if user.attackMotion() !== ‘missile’
...with this:
Code:
if user.attackMotion() !== 'missile'

thank you, it works 😅

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-action-sequence-basic-attack.106195/