I've modified Yanfly's Statikk Shiv state thing because I want to try my hand at a Quest for Glory Zap skill.
http://questforglory.wikia.com/wiki/Zap
http://yanfly.moe/2016/05/18/tips-tricks-statikk-shiv-league-of-legends-rpg-maker-mv/
After several test runs, I've finally gotten it to work without giving me a SyntaxError... but it's not doing any damage. No damage popup, no animation plays, and the game acts like nothing happened at all. In fact, the only time I DO see an animation play is when it's the standard animation I have for the Staff I have equipped... and that's only playing when I miss.
Here's my code:
Anyone got any ideas?
EDIT: Nevermind! Just turned all instances of member to target and it worked! Yay! I'm getting slightly better at JS!
http://questforglory.wikia.com/wiki/Zap
http://yanfly.moe/2016/05/18/tips-tricks-statikk-shiv-league-of-legends-rpg-maker-mv/
After several test runs, I've finally gotten it to work without giving me a SyntaxError... but it's not doing any damage. No damage popup, no animation plays, and the game acts like nothing happened at all. In fact, the only time I DO see an animation play is when it's the standard animation I have for the Staff I have equipped... and that's only playing when I miss.
Here's my code:
Anyone got any ideas?
EDIT: Nevermind! Just turned all instances of member to target and it worked! Yay! I'm getting slightly better at JS!