So I am looking for a plugin that can do something similar to fusing monsters in the old Monster Rancher games. You take 2 monsters from your party, input them into the fusion process, then receive a monster that has stats/levels based on the stats/levels/abilities based on the monster inputted.
An example would be a level 5 Fire Slime with 150 HP and 10 ATK is fused with a level 10 Earth Wolf with 300 HP and 25 ATK. The fusion monster that is output would be a Golem that is both Fire and Earth with a random level between 5-10 random HP Value between 150-300, and random ATK value between 10-25.
I honestly have no idea how much this is asking, whether it is a simple project or not. I am hoping it is as simple as input actor x input actor y output actor z with some other work for randomizing the stats between the given parameters, but I know not everything can be simple. Any help is greatly appreciated.
aside from the code to calculate the mix of stats, I'd say you also need the physical outputs of those mixtures.
which could be what would ultimately shape the code that you need to run the thing.
the more separate inputs you have, the more possible outputs you will have, and the more complex the calculations done through the code.
*also*, you'll need a separate table that'll specify which combinations would be possible (AKA, the recipes).
you'll have to establish that Fire will or will not combine at all with Water, for example.
if it can't happen, as established, it'll never happen, and you won't have to code a process to handle that.
that, alone, before you even begin to code.
Ah....Are you creating a card game?
Why I'm asking is becasue I don't get under what condition you want to use this fusing function.
If you doing something like those card games where in battle, you summon card1, summon card2, and then fusing these two cards to summon card3.......then I guess you have to play with battle events a bit to see if this can be done.
But if what you desire is to apply this fusing function outside of battle scenes, you may want to try Yanfly's Item Synthesis plugin.
What this plugin do is to synthesis two or more items into one new item.
Sounds familiar?
What I am thinking is, you can represent each monster with an item in you database.
Create an event so that whenever player recruit a monster, the party will gain the represented item at the sametime.
So, when player synthesis two item into one new item, you simply create an event that will find the three monster that represented by these three item, and remove the two material monster out of the party, and add the new monster into the party.
To make this easier, you can use the same id for the monster and the Item that will represent it.
For example: Monster1 with an id of 0100 is represent by item1 with an id of 0100.
By doing so, when you set up the event, you can simply get the variable of item1's id and find the monster with the same id.
You will also need to create events that will get the current state variables of the material monsters and do whatever you want with these variables, and put the outcome into new monster's state.
Also, you may want to find some menu plagin to adjust the menu, so player don't have to go into item menu to fusing monsters......this would be a little bit odd.
With a that being said, I do recommond only try the above when you can't find the plugin for your request.
Hope this helps!😂