I'm using the enhanced tp plugin but am looking to chance it slightly so that it works more like ffx in that in order to unlock a tp mode the user has to perform the action required for charging the tp gauge. I'm not sure if that makes sense so here's some examples.
the warrior mode charges the tp gauge when the actor deals damage to an enemy. I would like to make it so that in order to unlock this mode the actor must deal a total of a specified amount of damage (cumulative, not in a single battle)
the daredevil mode charges the tp gauge when the actor ends the turn with low hp. so in order to unlock the mode they would have to end, say 50 turns, with low hp.
anyone have any idea how to do this?
I've got the battle stats plugin. I think I could deal with the ones that have a stat like total damage but I have no idea of how to track ending turns with low health or track how many times an ally has died in battle whilst the actor was in the battle.
I tried looking into the plugin script to see if I could find how the gauge is charged but I'm no good at JavaScript so couldn't really tell the bits I needed.
My only problem with that is there are 20 tp modes and I have 11 possible party members so that would end up being a huge troop event.
You only have to make that event once, and then copy/paste it into all troops. If you want it to be any simpler, you'll have to learn javascript. Loops and arrays could be very helpful there. There's nothing wrong with having a huge troop event.
What I mean is that the event already has a few lines and thats with only 2 tp modes for one actor. If I had to do checks for 11 actors and for 20 tp modes there wpuld be loads of lines in the troop event. This is why I asked in the JavaScript plugin support page. But thanks for the help.
The modes are as follows:
Comrade - ally takes damage
Warrior - actor damages enemy
Healer - heals ally/self
Breaker - deals mp damage
Booster - recovers ally mp
Slayer - actor kills enemy
Avenger - when ally is killed
Victor - wins battle
Coward - party escapes battle
Daredevil - ends turn with low hp
Caster - ends turn with low mp
Tactician - actor inflicts status on enemy
Victim - every turn end that actor is affected by status
Dancer - whenever actor evades an attack
Loner - when turn ends and actor is only party member alive
the others i won't use
Can you tell me what all the unlock checks are?
This is long enough that it'll likely turn into a plugin on it's own. Working on it now.
I thought it was a big ask! I massively appreciate your help here!