Evertonest

Warper
Member
Joined
May 3, 2020
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hi!

I have a Bard class, and I am having trouble implementing a game mechanic related to activating and deactivating certain skills during battle.

The bard has two skill types: "VERSE" and "CHORUS". CHORUS skills are basically stronger versions of VERSE skills, but can only be used when a certain VERSE skill is being used.

Please see below to understand more about how I want the class skills to work.


SKILL TYPES:
SKILL TYPE: VERSE
Battle Music I - Increases allies' ATK and MATK by x1.5 times.
Soothing Melody I - Regenerates 10% of HP for all allies each turn while active.

Another Skill I - [insert skill info here]


SKILL TYPE: CHORUS
Battle Music II - Increases allie's ATK and MATK by 2x times.
Soothing Melody II - Regenerates 15% of HP for all allies each turn while active.
Another Skill II - [insert skill info here]


BATTLE EXAMPLE
Upon entering battle, the VERSE and CHORUS skill types are both visible. All skills under the CHORUS skill type are unusable.

Let's say I play the skill "Battle Music I". My allies's ATK and MATK has increased by x1.5. During my next turn, "Battle Music II" in the CHORUS skill type can now be selected, because "Battle Music I" is being played. All the other skills under CHORUS are still unusable. I play "Battle Music II", and my allies' ATK and MATK is twice as high.

Then, I swap to using "Soothing Melody I" under the VERSE skill type. My allies are renegerating HP by 10% each turn now. My allies' ATK and MATK are no longer boosted, because the "Battle Music" song is no longer being played. "Soothing Melody II" under the CHORUS skill type can now be selected because "Soothing Melody I" is being played, and all the other CHORUS skills (including "Battle Music II") cannot be selected anymore.


MY QUERY:
What is the best and easiest way to do this? Is there an alternative way to create a similar mechanic? Please note that I will be adding skills that can both buff my allies' stats, and debuff enemy stats.

I also have absolutely no experience in Javascript.
 
Last edited:

ave36

Veteran
Veteran
Joined
Jun 23, 2019
Messages
167
Reaction score
62
First Language
Russian
Primarily Uses
RMMV
Javascript is not required. You create a "Chorus" state, "Verse" and "Chorus" skill types. In the "Chorus" state, you enter the trait "Enable skill type Chorus" under the "Skill" tab. A "Verse" type skill should, in addition to its usual effects, add state "Chorus" to the user and call common event that adds the specific Chorus skill that corresponds to the Verse. When the Chorus skill is used, it removes state "Chorus" from the user and calls common event that erases that specific skill from your bard's skilllist. Everything can be evented without a single line of code.

The downside of such an approach is that the Chorus skills will not be visible before they can be used. If you want to specifically grey out skills, not remove them, you need plugins.
 

Latest Threads

Latest Posts

Latest Profile Posts

Whenever I start on a new chapter, it doesn't feel like the next episodes, but more like sequels :)
It can be frustrating that so many commercial games have used up titles that might otherwise be great for a project.
Light up explosions with QABS and Community Lighting.
qcPQHt9.gif

Forum statistics

Threads
110,655
Messages
1,054,985
Members
143,779
Latest member
Epitaph78
Top