Good evening! This is my first time making a post / thread on here so forgive me if I get anything wrong with
terminology.
I'm attempting to create a skill that uses the party's Gold as a means of attack. When the user attacks using the skill, which will be referred to as "Pocket Change," the game checks to see if the party has 30 or more Gold. If so, the attack goes through and you lose that 30 Gold; if not, then the attack fails and you keep what Gold you have.
- At least, that's what should happen. If I have more than 30 G then the attack works as normal, but if I have less than 30 G then the attack still goes through? I'm not sure what I'm doing wrong. I have the Skill use the Effect of a Common Event which has the script shown below. (Also I set the Skill to use the Physical Attack modifier of the character)
Any ideas on how to get this to work?
terminology.
I'm attempting to create a skill that uses the party's Gold as a means of attack. When the user attacks using the skill, which will be referred to as "Pocket Change," the game checks to see if the party has 30 or more Gold. If so, the attack goes through and you lose that 30 Gold; if not, then the attack fails and you keep what Gold you have.
- At least, that's what should happen. If I have more than 30 G then the attack works as normal, but if I have less than 30 G then the attack still goes through? I'm not sure what I'm doing wrong. I have the Skill use the Effect of a Common Event which has the script shown below. (Also I set the Skill to use the Physical Attack modifier of the character)
Any ideas on how to get this to work?