RPG Maker Forums

Hello, I'm facing a problem with Javascript. Using this plugin: http://yanfly.moe/2015/10/13/yep-8-skill-core/ , I try to set requirements for when a skill can be used or not. However, it produces an error. Here is what I've input and the error message itself.


Error Code: http://imgur.com/a/9DHXJ


And what I've input into the notebox for my 2 skills.


Skill 1 : 


<Custom Requirement>
if $gameVariables.value(16) < 3 && $gameVariables.value(21) < 3 {
value = true;
} else {
value = false;
}
</Custom Requirement>




Skill 2 :


<Custom Requirement>
if $gameVariables.value(16) != 0 {
value = true;
} else {
value = false;
}
</Custom Requirement>




Hope you can give me some insight! Thanks for help!

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top