Character Transformation Help

So, I'm going to apologize in advance if this has already been asked, but I browsed the forums for a few days and haven't found an answer.

In the game I'm trying to make, some characters are half animals that can transform into said animal. (think Fire Emblem)
And I was wondering if there was a way to make this happen in battles? Like, change their class entirely for a battle, I mean.
I've tried to make a skill that calls a common event, and that worked, the only downside is that character is now constantly transformed, and I don't know how to 'untransform' them with the battle ending, as that's when I would like them to revert back.
If there's like, a script/plugin or something that can be used, please let me know!
Any help is greatly appreciated!!


Also, a small question I have, not sure if it's obvious or not, but how to do make an element 'magical'? I know there's physical, fire, ice, etc., but I've also just got basic 'magic' that's applied to some weapons, like a magic bow, and I don't know how to make the damage registered as magical instead of physical, cause apparently simply making an element called Magick doesn't work? I don't know, I'm still very, very new to MV. Thanks again for any and all help <3
I think the best way to accomplish this is to adjust your formula for that skill.

a.atk * 2 - b.mdf

This would be the Actor's Attack value multiplied by 2 then subtracted by the Target's Magical Defense.


You did mention something about a Magical Bow, so maybe you are more interested in Weapons than Skills.


If you can articulate exactly what you want to accomplish, I am certain there are very easy solutions for you.


GEA
the only downside is that character is now constantly transformed,
then, you need to make a reverter for that, which along with the trigger, will be part of a manager.
I made something like that, so it is possible, but I won't explain it as it is because I don't know how far you are into programming.
I can sum it up like this: you need the standard actor, and the transformed actor (or, the standard class and the transformed class, if the transformation is not physical), and you need one way of passing from one to the other (and backwards) and one way of checking which stance you're on.
that's what makes up the manager.
that can all be done through eventing without plugins.
and, it can be done to control multiple characters with transformations..... provided you make all the alternate versions you need.


all elements (magical, physical, elemental, or otherwise), are just a type of damage.
the real value of those elements is given by the collection of resistances or bonuses you apply to the battlers.
one given attack is only magical if there is an enemy with a weakness to magical.
if there is none, then the attack is useless, magical or otherwise, because it doesn't matter.
then, you need to make a reverter for that, which along with the trigger, will be part of a manager.
I made something like that, so it is possible, but I won't explain it as it is because I don't know how far you are into programming.
I can sum it up like this: you need the standard actor, and the transformed actor (or, the standard class and the transformed class, if the transformation is not physical), and you need one way of passing from one to the other (and backwards) and one way of checking which stance you're on.
that's what makes up the manager.

I've tried making a reverter, but that's what I'm stuck on. I'm not sure how to go about doing it. I've tried making another common event to activate when a switch is turned on (via the state that transforms the person) but that activates as soon as they transform, and it basically nullifies the transformation /:

So far, this is what I've got set up;

A skill that inflicts the transform status, that in turn calls a common event that changes the character's class, and the status ends at the end of battle/between 5-10 turns.
It's at this point that I'm not sure what to do to make them revert..
I'm not used to coding/programming things which is probably what's making this so difficult for me
I am not sure if this would be helpful, but playing with similar idea I went with the path of defining different "Types" of skills, filling them and assigning or removing them as an event would trigger.
This is more of a manual approach, but worked out for my "Ninja" requirement.
for this example, I assume you're using the standard battle system.

let's say that the actors whose classes are Paladin and Spellblade can enter Berserk mode, and the actors whose classes are Archer and Samurai can enter Stealth mode.
you create the alternate classes for each class (Berserker Paladin & Spellblade, and Stealth Samurai & Archer), and add the corresponding skills.

upload_2017-11-28_1-49-6.png


upload_2017-11-28_1-49-35.png


make sure the base class has the switch from base to alternate, and the alternate class has the switch from alternate to base.
two skills triggering the same command, is called a toggle action.

you add the same common event to all the related skills

upload_2017-11-28_2-21-44.png


upload_2017-11-28_1-51-29.png


and, create the states that will mark both stances.
you can add weapon locks, skill locks, or alternate bonus on either stance, but make sure the dispel state pops all the alternate stances, and itself.

upload_2017-11-28_1-54-31.png



upload_2017-11-28_1-55-9.png


"class of battler @btlcls is either 3,4,13or14?" -> "we're looking at a transformed/able Berserker"
"is it a Berserker Paladin or a Berserker Spellblade?" (if yes, it's the transformed state.)
"Who are we looking at?, Paladin OR Spellblade? stance is irrelevant"
"if Paladin, and, Transformed, make @stdClass Paladin, Not Transformed"
"if Spellblade, and, Transformed, make @stdClass, Not Transformed"
"pop alternate bonuses, if any"
"make Battler, new class @stdClass, and transfer experience"
"reset skills"

same logic for Stealth Samurai and Archer.

if this doesn't work, it might be a problem grabbing the active actor.
I had to correct the working version of this, working *with* a plugin, so.... I kind of eyeballed it.
http://yanfly.moe/2016/07/06/tips-tricks-actor-transformations-rpg-maker-mv/
I apparently found a rather simple solution that seems to work fairly well for now.
I feel bad for not realizing I could easily do what I wanted in a common event with conditional branches >.>

screen_by_icy_marth-dbv739r.png


This is relatively simple, and it seems to work wonders. It's pretty easy to copy and change for each character I plan on having transform too. Works in battle when the state wears off, and after the battle ends.

Thanks for all the help, though! ^-^'
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/character-transformation-help.87783/