I have VisuStella's Skills and States Core plugin, and I am having a little problem with making Pikachu's static ability its passive state, which has a 30% chance of paralyzing the attacker when it gets hit. I learned this code from Go_ Onizuka when he was making the Flame Body ability.
Code:
Code:
When I playtest it, I get the SyntaxError: Unexpected token '&&', which makes me think I am doing something wrong. Is the '&&' not supposed to be included in this code? Is there something that needs to be changed in this code? I'd be grateful for your help.