Hello everyone, I'm using MV and I'd need help to design this mechanic. This idea was very clear on my mind, however in the practical realization I find it many difficulties in implementing it.
The concept is:
An actor of the party can learn new skills by completing quests. He can't learn it by default though, but only through slots in his weapons. Weapons can have 0, 1, 2, 3, N slots. The skill is bound to having that weapon equipped, otherwise you have no access to it.
1. How can I make a skill to be single use?
2. How do I implement "slots" in weapons?
3. How do I check if a weapon has a still free slot and overwrite the current skill learned?
4. what is the best way to show where the skill is? I mean, if you have 10 weapons and 3 slots each, you can easily lose track of where a given skill is unless you intentionally display it in menu graphics or the weapon description itself.
There are multiple ways to achieve this, but I'd like to discuss with you all about the easiest and smartest way to develop this system.
e. g. yanfly upgrade slots is what it is needed to create slots on weapons. However I can't get how to bind a given skill to an upgrade by a plugin command and how to make the skill "consumable".
http://www.yanfly.moe/wiki/Item_Upgrade_Slots_(YEP)
Would it probably better to have a dedicated plugin?
Was thinking to something like:
I assign through notes on weapons the number of slots they can have max
wooden sword = 0
steel sword = 1
hero sword = 2
mythic sword = 3
When a treasure is find, a quest is completed, and so on,
a skill is attempted to be learnt -> player must select a weapon with free slots or overwrite an existing slot with a skill.
Then with a plugin (but I can't tell which one, probably a modified version of the Yanfly upgrade slot) every slot is associated with that skill and, when the actor equips the weapons then the skill is available in combat. At this point, when the skill is used, it is removed forever from the weapon and the slot becomes free again.
EDIT
Found this, maybe it's important to the discussion:
steamcommunity.com
The concept is:
An actor of the party can learn new skills by completing quests. He can't learn it by default though, but only through slots in his weapons. Weapons can have 0, 1, 2, 3, N slots. The skill is bound to having that weapon equipped, otherwise you have no access to it.
1. How can I make a skill to be single use?
2. How do I implement "slots" in weapons?
3. How do I check if a weapon has a still free slot and overwrite the current skill learned?
4. what is the best way to show where the skill is? I mean, if you have 10 weapons and 3 slots each, you can easily lose track of where a given skill is unless you intentionally display it in menu graphics or the weapon description itself.
There are multiple ways to achieve this, but I'd like to discuss with you all about the easiest and smartest way to develop this system.
e. g. yanfly upgrade slots is what it is needed to create slots on weapons. However I can't get how to bind a given skill to an upgrade by a plugin command and how to make the skill "consumable".
http://www.yanfly.moe/wiki/Item_Upgrade_Slots_(YEP)
Would it probably better to have a dedicated plugin?
Was thinking to something like:
I assign through notes on weapons the number of slots they can have max
wooden sword = 0
steel sword = 1
hero sword = 2
mythic sword = 3
When a treasure is find, a quest is completed, and so on,
a skill is attempted to be learnt -> player must select a weapon with free slots or overwrite an existing slot with a skill.
Then with a plugin (but I can't tell which one, probably a modified version of the Yanfly upgrade slot) every slot is associated with that skill and, when the actor equips the weapons then the skill is available in combat. At this point, when the skill is used, it is removed forever from the weapon and the slot becomes free again.
EDIT
Found this, maybe it's important to the discussion:
Yanfly's item upgrade slots- Adding a skill to an upgrade item. :: RPG Maker MV Javascript
In his tutorial, he mentions that it must be done via the Eval: command. "ANSWER: <Upgrade Effect> Eval: item.traits.push({"code": x, "dataId": y, "value": z}) </Upgrade Effect> Using this spreadsheet for x,y, and z...