Mother 3-like combo system

CylusTheSylveon

Sylveon
Member
Joined
Jan 29, 2018
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMMV
I was wondering if it was possible to make a combo system like this in RPG Maker MV:


I'd love to have it as some kind of plugin for a game I'm trying to make. I thought it was a cool idea.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
[move]JS Plugin Requests[/move]
 

Traveling Bard

The Bard
Veteran
Joined
Jul 4, 2012
Messages
565
Reaction score
491
First Language
English
Primarily Uses
Just a theory, but you might be able to leverage SRDude's Timed Hits + Yanfly's Skill Core to do this. The idea I had was to:

1. Have a timed hit event
2. Leverage the accuracy variable from SRDude's plugin, $gameTemp.tas_power, to determine if the hit was "good enough" to warrant another timed hit event.
3. Leverage Yanfly Skill Core's After Eval functionality to actually make the check described in #2 and then force action the same skill so that it will run the timed hit event all over again.

It's crazy... but it just might work! You might add those plugins & set them up as they require... then use something like this in your attack skill:

<Timed Attack: default>
<End Timed Attack>
<After Eval>
//Check to see if the hit was good enough to warrant a follow up hit.
//That variable goes from 0 to 1, and I figure that 0.9 - 1.0 is accurate enough)
if ($gameTemp.tas_power >== 0.9) {
// Get the skill ID of the skill you want to force, so THIS skill's ID would go here
var skill = 194;
// The target's index. -1 for random. -2 for last target.
var target = -2;
// Set the forced action for the user.
// Queue the forced action.
BattleManager.queueForceAction(user, skill, target);
}
</After Eval>

Edit: I thought about it a bit and figured you'd want a way to limit how many hits you could possible "combo" so here is a version that would leverage something like that:

<Timed Attack: default>
<End Timed Attack>
<After Eval>
// Configured maximum number of timed hits
var maxTimedHits = 16;
// Adding a user specific attribute to track things & keep a running total
user._timedHits = user._timedHits || 0;
// Check to see if the hit was good enough to warrant a follow up hit.
//That variable goes from 0 to 1, and I figure that 0.9 - 1.0 is accurate enough)
if ($gameTemp.tas_power >== 0.9 && user._timedHits <== maxTimedHits) {
// Get the skill ID of the skill you want to force, so THIS skill's ID would go here
var skill = 194;
// The target's index. -1 for random. -2 for last target.
var target = -2;
// Update the number of timed hits
user._timedHits += 1;
// Queue the forced action.
BattleManager.queueForceAction(user, skill, target);
} else {
//reset values
user._timedHits = 0;
}
</After Eval>

All of this is un-tested and from the top of my head during my lunch break, but hopefully is a good starting point to your cause :)
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top