[RMVX ACE] CONDITIONS TO USE SKILLS
Posts
Pages:
1
I made many passive skills and actors are too strong when they use the skills at the same time.
So I want to know how I can make the following skills.
(1)Skill A which can't be used when Skill B is used.
(2)Skill C which can't be learned when Skill D is learned.
(3)Skill E which can't be learned when Skill F isn't learned.
What I'm trying to find is a simple system like Skill F has to be learned before learning Skill E by putting a tag <learn:skill F> to a note of Skill E.
So I want to know how I can make the following skills.
(1)Skill A which can't be used when Skill B is used.
(2)Skill C which can't be learned when Skill D is learned.
(3)Skill E which can't be learned when Skill F isn't learned.
What I'm trying to find is a simple system like Skill F has to be learned before learning Skill E by putting a tag <learn:skill F> to a note of Skill E.
1) I don't understand how you mean this.
2+3) This is best handled by making players learn skills from a map event - Make a conditional branch if the actor knows Skill D/F - If she knows D, make it possible to learn C - If she knows F, bar her from learning E.
It would help if I knew how skills are learned in your game - the class section already allows you to make actors only learn certain skills by level-up.
2+3) This is best handled by making players learn skills from a map event - Make a conditional branch if the actor knows Skill D/F - If she knows D, make it possible to learn C - If she knows F, bar her from learning E.
It would help if I knew how skills are learned in your game - the class section already allows you to make actors only learn certain skills by level-up.
author=LightningLord2
1) I don't understand how you mean this.
There're many skills to increase offensive ability in my game.
For example,a skill to increase ATK,a skill to increase CRI,a skill to increase the probability of being paralyzed,a skill to increase the number of times to attack and the like.
So I want to forbid using them at the same time.
It would help if I knew how skills are learned in your game
I use Yanfly's JP Manager.
So if an actor has enough JP,he or she can learn any skill at any time.
This is best handled by making players learn skills from a map event
I've tried this but it's too hard to make many events with many conditional branches.
So I'm still looking for a handy script.
So, let me get this straight. Players can have both SKILLA and SKILLB, but, upon using one of them, the other is unusable for the rest of the battle. Also, players have a choice of learning SKILLC or SKILLD, but not both. It kinda sounds like the same sounds true of SKILLE and SKILLF as well.
I don't know about the C/D or E/F situation off-hand, given the script involved. However, you can probably do A/B with... I guess three Common Events? A's Common Event would cause players to forget B, B's Common Event would cause players to forget A, and, unless I'm wildly mistaken, there should probably be a Common Event to re-learn both A and B after battles conclude.
I don't know about the C/D or E/F situation off-hand, given the script involved. However, you can probably do A/B with... I guess three Common Events? A's Common Event would cause players to forget B, B's Common Event would cause players to forget A, and, unless I'm wildly mistaken, there should probably be a Common Event to re-learn both A and B after battles conclude.
author=Marrend
So, let me get this straight. Players can have both SKILLA and SKILLB, but, upon using one of them, the other is unusable for the rest of the battle. Also, players have a choice of learning SKILLC or SKILLD, but not both. It kinda sounds like the same sounds true of SKILLE and SKILLF as well.
It doesn't have to make (1),(2)and(3) at once.
It's OK to make them separately with two or three scripts.
I especially want to know how to make (1) and (3).
author
I don't know about the C/D or E/F situation off-hand, given the script involved. However, you can probably do A/B with... I guess three Common Events?
Skill A,B,C,D,E and F are example.
There're many skills in my game and it's too hard to make many common events with many conditional branches.
So I'm looking for a handy script.
Right. I temporarily forgot that you were providing examples, and that there are a mess-ton lot of skills that have these... conditions attached to them. Still, even if you use a script, it's probably going to involve some form of conditional branching. The learn-one-skill-can't-learn-the-other issue could probably be done on an ID-by-ID basis (a case statement?). The un-learning of certain skills after another one is used could be tricky.
Though, I'm certainly no expert!
Though, I'm certainly no expert!
Thank you everyone for your advices!
Probably I should reduce number of skills in my game and I found Yami's Skill Equip would be a solution.
https://github.com/suppayami/rmvxa-collection/blob/master/Skill%20Equip.rb
I appreciate people giving me their great scripts!
Probably I should reduce number of skills in my game and I found Yami's Skill Equip would be a solution.
https://github.com/suppayami/rmvxa-collection/blob/master/Skill%20Equip.rb
I appreciate people giving me their great scripts!
Pages:
1
















