Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Follow Up Skills Eval Assistance
- Original author: MrPurpleDreadlocks
- Original date: May 16, 2015
- Source thread: https://forums.rpgmakerweb.com/threads/follow-up-skills-eval-assistance.40071/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support
Summary
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.
Archived First Post
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:
Any Ideas?
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.
<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%>
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...