Rune Mechanic help?

I apologize if this topic is in the wrong forum, I honestly am kinda clueless as to where this would fit in.


For my game, i'm thinking of adding in a rune mechanic, where the player's weapon would have a rune slot, from YanFly's AttackAugments plugin, where the runes will add a skill slot, from yanflys equipbattlespells, and equip a skill to said slot, where the skill cannot be unequipped, and both the skill and skill slot would be removed when the rune is removed from the weapon, I have tried messing around for a bit to try to create said mechanic, but can't seem to figure out how to do so, and was wondering if anyone knows if this would be possible or not and how to do it, thanks.
I've moved this thread to RPG Maker MV Support. Please be sure to post your threads in the correct forum next time. Thank you.
<Augment: Rune>
actor.increaseBattleSkillSlots(1)
actor.equipSkill(id, slot)
</Augment: Rune>


Change the id with the skill's id.


Change the slot with the slot you want the skill in.


I myself have not used the script so at the moment I cannot confirm what I'm about to say.


If you use actor.equipSkill(id) it may equip the skill to the new slot. Again I cannot confirm that.


If that doesn't work then the key problem I see with the Rune you're trying to make is that a character can only have 1 in use if they use the same slot.


A way around this would be to have every "element" refer to a specific slot. Fire Rune to slot 1, Water Runes to slot 2, etc. But then you can only ever


have one of each type of rune equipped on a character.


If the weapon is the only one that is going to have a Rune Slot and it only has 1 then you can use the new slots Id number for the new skill because you'll always know what slot it will be.


Example if your characters have a base of 4 slots you will always know the Rune's Slot is slot 5.


Again I am not an expert in it and this is the best information I could gather quickly on the matter. Hope it helps.
@PotatoPotahto


Yanfly made a tips and tricks video for it augments that add equip slots here:










There is no known way to lock a skill to an equip slot, with or without augments. 
Along the same vein as this, how would you make an item/piece of armor equip a skill? Not doing it via augment, but just a normal item (a 'focus' armor in a 'pocket' equip slot). I have no idea what tag to use to signal the use of JS. Is there a <Item></Item> tag or something I'd use?
I have no idea what tag to use to signal the use of JS.
You misunderstood what notetags are used for.

By default notetags have absolutely no function and do absolutely nothing.
Only after you install a plugin, that plugin may have the ability to check for notetags, and it might read notetags to decide what to do inside itself.
The notetags alone, even if they contain javascript code, are absolutely useless unless there is a plugin that reads them.
And then it depends on the plugin if something can happen or not.

So I suggest you make a new topic for your problem or question.
Necro-post notice: Altanclosing

Original thread: https://forums.rpgmakerweb.com/threads/rune-mechanic-help.69517/