Hello, I'm trying to figure out a way to include a specific variable as a skill cost without subtracting any value from said variable.
(I'm using Yanfly's SkillCore plugin for this.)
The idea is that the variable needs to match a specific value in order for the actor to use the skill, exactly like MP and TP, although I don't want to subtract any value from the variable upon skill use.
Example: A skill costs 30 MP and 50 VN to use. (VN = Variable Name)
The variable needs to be at a value of 50 in order for the skill to be used.
Upon using the skill, MP is subtracted from the user's Max MP but the value of the variable stays the same.
The problem is that I have no JavaScript knowledge, and so I'm not sure how to show the required value of VN in the skill cost.
Can someone please help me figure this out? Thank you!
(I'm using Yanfly's SkillCore plugin for this.)
The idea is that the variable needs to match a specific value in order for the actor to use the skill, exactly like MP and TP, although I don't want to subtract any value from the variable upon skill use.
Example: A skill costs 30 MP and 50 VN to use. (VN = Variable Name)
The variable needs to be at a value of 50 in order for the skill to be used.
Upon using the skill, MP is subtracted from the user's Max MP but the value of the variable stays the same.
The problem is that I have no JavaScript knowledge, and so I'm not sure how to show the required value of VN in the skill cost.
Can someone please help me figure this out? Thank you!