Hello lovely folks, I ran into a problem. Follow Up Skills:Â https://github.com/Archeia/YEARepo/blob/master/Gameplay/Follow-Up_Skills.rb I have 3 Skills.
Hello lovely folks,
I ran into a problem.
Follow Up Skills:Â
https://github.com/Archeia/YEARepo/blob/master/Gameplay/Follow-Up_Skills.rb
I have 3 Skills.
A Skill called Fire Jolt, a skill the player users to shoot a jolt of fire at an enemy.
A Skill called Master of Fire that makes it when you use Fire Jolt, you have a % chance of casting another skill Fire Ball instantly, at no cost.
 -- > This skill is made of three different skills with increase % chance of casting Fire Ball.
A Skill called Fire Ball that adds a state, "Burned" that causes damage to them for a certain amount of turns.
My issue is the knowledge of syntax for the <follow up eval>
What I want to do is have a check if an actor has learned the specific "strings" you are suppose to put in the evals.
I know in Skill Cost Manager, it's looking at the user, i.e. self.state?(n) however when I implement it it doesn't react.
I want to check through eval's if the user of the skill has learned  the skill id of Master of Fire series (408,409,410) <- skill ids
so it would look something like this:
<follow up eval>
self.skill_include?($data_skills[408])
</follow up eval>
<follow up 408>
I got this part to work with the correct formula above.
PART 2:
I got a new error:Â
http://i.imgur.com/64uFrYD.png
It doesn't like it when it has multiple eval tags. Is there a way to avoid that?
here's what my skill tag looks like:
<follow up eval>self.skills.include?($data_skills[408]) </follow up eval><follow up 408: 7%><follow up eval>self.skills.include?($data_skills[409]) </follow up eval><follow up 409: 13%><follow up eval>self.skills.include?($data_skills[410]) </follow up eval><follow up 410: 20%>Â
Any Ideas?