There's this thing called Dissidia...

I have no idea where this goes, but I think it's here.

ANYWAY, while I'm still on hold for making games until I get a better computer, that doesn't mean I haven't been thinking of cool ideas. One such idea, came to me while playing an old game of mine. Dissidia Final Fantasy.

Now I know, Final Fantasy stuff has probably be overdone at this point, but hear me out. This one is kind of different.

In the game, damage isn't 'directly' dealt. Sure you attack and deal damage, but not in a traditional sense. How it works is like this. You have two types of attacks. Bravery, and HP. Bravery Attacks, when you connect them, deal damage to your opponents 'Bravery Gauge', while increasing yours. When you fill it up enough, you can choose to use an HP attack, which deals damage equal to your current Bravery. After that, it goes back to it's base value, and you build it up again. If you take damage with zero bravery, you enter 'Break' status, preventing you from dealing HP damage until you build your Bravery back to base value.

This type of gameplay is a bit more strategy oriented, and a kind of balancing act, needing to be fast enough to be constantly mindful of both your Bravery, and your opponents'. And for those of you who know the game saying it can't work cause it's an action game, they made an RPG type game with the design. And from what I've seen, pretty solid.

SO, would something like that be possible in RPG Maker? Maybe with multiple plugins, or a special plugin for that kind of battle system?
Is this a question about designing the system, or a question about plugins to achieve this system?
Is this a question about designing the system, or a question about plugins to achieve this system?
It's mainly just an idea I had, and I was wondering if it could be done, plugin or not.
"Can I do this (in RPG Maker)" or "How can I do this" questions generally belong in the appropriate Support subforum (in this case it sounds like RPG Maker MV support), rather than Game Mechanics Discussion (which is for discussing the actual design of systems and mechanics, not the implementation of them).

This way, people who are used to the RPG Maker you are using can give you the most helpful advice (since the answer might be different, for instance, between RPG Maker XP and RPG Maker MV).

This kind of system might be easier to implement than you think in RPG Maker (at least in Ace and MV, which allow you to create formulas for skills). Remember that you can specify whether skills deal HP or MP damage, so I think you could simply rename MP as "Bravery" and have some skills deal damage to that, whereas HP skills deal damage to HP (and you can use the user's current MP, denoted as a.mp, as part of the damage formula)!
Yep, "wondering if it could be done" belongs over in Support.

Moved to: RPGMaker MV
"Can I do this (in RPG Maker)" or "How can I do this" questions generally belong in the appropriate Support subforum (in this case it sounds like RPG Maker MV support), rather than Game Mechanics Discussion (which is for discussing the actual design of systems and mechanics, not the implementation of them).

This way, people who are used to the RPG Maker you are using can give you the most helpful advice (since the answer might be different, for instance, between RPG Maker XP and RPG Maker MV).

This kind of system might be easier to implement than you think in RPG Maker (at least in Ace and MV, which allow you to create formulas for skills). Remember that you can specify whether skills deal HP or MP damage, so I think you could simply rename MP as "Bravery" and have some skills deal damage to that, whereas HP skills deal damage to HP (and you can use the user's current MP, denoted as a.mp, as part of the damage formula)!
So, something like a draining MP attack, sounds good. So, is there a command so something takes ALL MP, and a way for a status condition to appear when you are struck by an attack that would make you have less than 0?
So, is there a command so something takes ALL MP

Just add a.mp = 0; before your damage formula. (Assuming you want it to take all of the user's MP. If target's, do b.mp = 0; instead.) Don't forget the semicolon afterwards.

and a way for a status condition to appear when you are struck by an attack that would make you have less than 0?

This is a little harder. I'd probably use coding for this, but here's how I'd do it if I wanted to avoid coding.
  1. Create a Priority 0 State that does nothing called "Check for Break"
  2. Create a Common Event called "Break Checker". In this Common Event, run a Conditional Branch for every single character and every single enemy, to see whether they have the "Check for Break" state applied. If they do, check their MP, and if it's equal to 0, apply the "Break" state to that character or enemy. (You can't check MP directly using Conditional Branches, but you can set a variable to a specific character/enemy's MP, and then do a Conditional Branch to see if that variable is now equal to 0.) At the end of this Common Event, remove the Check for Break state from every single character and enemy.
  3. Give every MP Attack (that is, attack that damages MP) a feature (using the regular Features box) which applies the Check for Break state to its target(s).
  4. Give every MP Attack a feature that runs the Break Checker common event.
Just add a.mp = 0; before your damage formula. (Assuming you want it to take all of the user's MP. If target's, do b.mp = 0; instead.) Don't forget the semicolon afterwards.



This is a little harder. I'd probably use coding for this, but here's how I'd do it if I wanted to avoid coding.
  1. Create a Priority 0 State that does nothing called "Check for Break"
  2. Create a Common Event called "Break Checker". In this Common Event, run a Conditional Branch for every single character and every single enemy, to see whether they have the "Check for Break" state applied. If they do, check their MP, and if it's equal to 0, apply the "Break" state to that character or enemy. (You can't check MP directly using Conditional Branches, but you can set a variable to a specific character/enemy's MP, and then do a Conditional Branch to see if that variable is now equal to 0.) At the end of this Common Event, remove the Check for Break state from every single character and enemy.
  3. Give every MP Attack (that is, attack that damages MP) a feature (using the regular Features box) which applies the Check for Break state to its target(s).
  4. Give every MP Attack a feature that runs the Break Checker common event.
I could probobly understand that better if my head wasn't killing me right now.
Just add a.mp = 0; before your damage formula. (Assuming you want it to take all of the user's MP. If target's, do b.mp = 0; instead.) Don't forget the semicolon afterwards.



This is a little harder. I'd probably use coding for this, but here's how I'd do it if I wanted to avoid coding.
  1. Create a Priority 0 State that does nothing called "Check for Break"
  2. Create a Common Event called "Break Checker". In this Common Event, run a Conditional Branch for every single character and every single enemy, to see whether they have the "Check for Break" state applied. If they do, check their MP, and if it's equal to 0, apply the "Break" state to that character or enemy. (You can't check MP directly using Conditional Branches, but you can set a variable to a specific character/enemy's MP, and then do a Conditional Branch to see if that variable is now equal to 0.) At the end of this Common Event, remove the Check for Break state from every single character and enemy.
  3. Give every MP Attack (that is, attack that damages MP) a feature (using the regular Features box) which applies the Check for Break state to its target(s).
  4. Give every MP Attack a feature that runs the Break Checker common event.
Sorry for necroposting but this got my attention.

I got your logic and all but there are some things extras I'd like to discuss.

The formula for the attack is the amount of MP (let's call it Bravery for now on) but I cannot start with my actor's Bravery at the maximum. There's another status called INT BRV that stands for Initial Bravery (you thought that was intelligence?) that sets how much Bravery the actor starts. Of course it won't be more than MAX BRV at any time.

Also, actor's bravery attacks sucks the enemy bravery and gives that amount to them and vice versa. If I use an HP attack that actor's bravery goes to 0 and then stand in risk of being Broken (Bravery Break).

In the middle of all that we also have defense. Defense applies only to Bravery attacks as the HP Attacks always does the amount of damage you have in your own Bravery. So BRV Attack = a.atk - b.def (or something like it)

So, in sum:

1 - Get any unused stat (LUK?) and make it INT BRV
2 - This will be used to make the initial MP the user have
3 - Whenever a BRV Attack lands, the mp of the enemy is sucked by that a.atk amount so maybe this formula should work: var brv = a.atk - bdef; b.mp - brv; a.mp + brv;

What do you think?
I had already made a system like this before tweaking/reshaping it for my current project, and then scrapping it altogether 😛 - Be warned, I've never written any kind of tutorial here, and I'm not nearly as talented as many of the fine mentors here on the forum, but I'll try and explain my workaround as best as I can. Here's how I accomplished the effect:

Plugins Required:
Yanfly Engine Core
Yanfly Battle Engine Core
Yanfly Buffs & States Core
Yanfly X Visual State (Optional, to give your players a visual indication on whether or not the enemy has been 'broken')
Yanfly Base Troop Events
HIME Progressive States (for achieving "Break" status once enemy's MP or "Bravery" reaches zero)

Step 1 - Initial Bravery Setup & Enemy State
All right, so you already determined which stat you wanted to set as your INIT BRV stat (Luck.) So, under Troop 1's events set the event page to run on Turn 0 so that the changes recquired to set everything up happens as soon as the battle begins. First, use "Control Variables" to link variables to the Luck stat of each after, i.e. set Var 1 to Actor 1's Luck stat, set Var 2 to Actor 2's Luck stat, and so forth.

Then, use the Change MP command to reduce the entire Party's MP to 0. Next, use the same command to increase each actor's MP by the variable you assigned to each of them. That way, they always start the battle with their Luck value (or "Init BRV").

Finally, use the Change Enemy State command to give the Entire Troop the first State in the Bravery/Break system (we'll call it State 1, which will be whatever state you set for the first int he progression.)

Step 1 complete!

Step 2 - Bravery Break State
So, once you reduce your enemy's MP or "Bravery" to 0, you want them to enter the "Break" state. Here's how to accomplish that.
You'll make two states (I had three, as I had a 'recovery' state wherein the enemy would regain all of their MP after three turns in Break status. If you don't want them to recover MP and go right back to their normal state, then you don't need the third state, but I'll post it anyway.)
Simply place each of these states into their respective noteboxes.

State 1: Default/Bravery Barrier - You don't have to set any restrictions or removals. What this does is check whether the enemy's MP/Bravery is above zero or not. Once their MP reaches zero, it will remove this state (1) and automatically add the Break state (2).

<Custom React Effect>
if (value > 0 && this.isMpEffect()) {
var mpDmg = Math.floor(value * 0.00);
mpDmg = Math.min(mpDmg, target.mp);
target.gainMp(-mpDmg);
value -= mpDmg;
if (target.mp == 0) {
target.removeState(1);
target.addState(2);
}
}
</Custom React Effect>


State 2: Break - This is the state induced by breaking through all of your enemy's Bravery. You can set it to temporarily debuff their defenses, make them more vulnerable to certain elements/attacks, etc. How many turns the Break status lasts is totally up to you, just set the amount of turns or actions they'll remain in Break status and what restrictions they might have while under the effect and you're good to go. Simply place the progression note tag into the notebox and it will get them out of the Break state once it's finished.

<progressive state: 1>
--OR--
<progressive state: 3>

State 3: Optional Bravery Recovery Phase - So, I had the enemy stuck in Break State for 3 turns, but eventually reduced that down to 2 turns and then added this turn since 3 turns seemed a very large window to deal heavy damage in a turn-based battle. But I digress. I had my State 2 progress to this state (3) in order to replenish the enemy's Bravery before progressing them back into the default state (1). Just set the Ex-Parameter MP Regeneration to +100% and set to end after 1 Turn. Use the same <progressive state: x> tag in the notebox to return to State 1 and there you have your Break phases set.

Step 3: Bravery and HP attacks!

The easiest step. Just set your Bravery Attacks to deal MP damage, or set it to MP Drain if you want so absorb the amount of damage dealt to your own MP/Bravery Pool. If you want to leech only a certain percentage of damage dealt, I would suggest setting it to MP Damage and then use Yanfly's Life Steal plugin to leech the MP you want. Personally, I used my damage formula box to absorb a flat percentage of my Max MP bar every time using: a.gainMp(Math.round(a.mmp*0.09)); or a flat 9% of my MP bar with each Bravery attack. The damage formula would follow after the semi-colon.

For HP attacks, set the damage formula to: a.mp and that's it. This makes it so that, like in the Dissidia franchise, you will deal damage to their HP at the same value that your Bravery currently sits at. In the skill's notebox, however, you will place this code:

<Custom Requirement>
value = user.mp > 0;
</Custom Requirement>

<Cost Display Eval>
$gameVariables.setValue(1, user.mp);
</Cost Display Eval>

<Custom Cost Display>
\c[23]\v[1]BRV\i[165]
</Custom Cost Display>

<Post-Damage Eval>
user.setMp(0);
</Post-Damage Eval>

What this code does is: disables the use of the HP attack unless your Bravery is at least 1. Displays the cost of the skill as the current amount of Bravery you have accumulated. And finally, sets your Bravery to 0 only after the skill has been executed and the damage has been dealt.

Conclusion

It might seem like a lot to set up, but with this system you have Dissidia's battle system. If you use HIME's battle command plugins, you can set your Bravery and HP attacks right onto the character's battle menu a la Dissidia: Opera instead of having to dig through menus.

Hope this helps, and good luck!
The downside to implementing a system like this is of course the nature of the game itself. Dissidia is obviously an action RPG and as such its easy to avoid damage and go on the defensive until your bravery naturally restores itself. However in a turn based battle, you are, generally speaking, required to take a blow for every blow you deal, meaning before anyone is even broken, combat is simply a battle of attrition, which makes for stale game play.

Furthermore, I don't really see in here anything about the fact that a "broken" opponent cannot break you in turn, and once again that just seems like a dull back and forth. I definitely think the system overall has promise but you definitely need to make a few compromises.
Necro-post notice: bsides

You were clearly aware that you were necroposting. The OP had received a working solution, but obviously forgot to ask for the thread to be closed.

@SefirosuKuraodo The OP did not ask for a complex plugin solution. It is not always helpful to suggest more plugins when a simpler solution achieves what is required.

Moderator note: Closing

Original thread: https://forums.rpgmakerweb.com/threads/theres-this-thing-called-dissidia.86221/