[YEP]Element core with Item upgrade slots/attacable augments

There is no indication in the help files of both plugins that this has been implemented, so I thought I'd request for a new feature for the plugins. I'm aware that you could add/change the element of a weapon or change the rate with attachable augments. However, you cannot determine for how much amount(except the rate). I'm thinking of a system similar to ragnarok online wherein an elemental weapon's damage can be upgraded and monster hunter's elemental damage upgrades. What I'm proposing is basically a more dynamic way to use the elemental core so that elemental attack and resist(in item upgrade slots) would not stay at a static percentage in a weapon or armor, to sum up, when and item is used for upgrading weapons/armors the upgrade effect would be to boost the elemental attack/rate.


i.e. Windy Katana (+5) //using the elemental core's <Element Amplify 2(i.e. Wind): +15%)> and item upgrade effects/attachble augments


      Breeze Cloak (+5) //using the elemental core's <Element Rate 2(i.e. Wind): -15%)> and item upgrade effects/attachable augments


This could be used in many different ways, such as purely elemental weapons for hunting particular monsters or purely elemental resisting armors for facing elemental monsters or a mix of elemental and stat boosted weapons/armors.  This would particularly be beneficial to games who rely on crafting systems since players could customize their weapons for their specific needs. Take for example in ragnarok when grinding in Byalan Island, users would utilize wind and water elements. Another example is in monster hunter where users would change equipment to hunt particular monsters.


Please feel free to comment if this has already been done, I'd feel dumb but thankful anyway.
I'm not sure exactly how YF Element system works as I made my own, but if you can add the element via note tags, you can use the eval for the item upgrade slot plugin to add the note tag to an instance item.


So in your case, you'd use:


<Upgrade Effect>


Eval: item.note += " <Element Amplify 2: +15%)> " ;


</Upgrade Effect>


I don't know how'd you'd do it for augments as I don't know an easy way to remove the tag once the augment is removed.


Hope this helps.
I just reread your statement and I have to ask.


If you're using an upgrade system / crafting system wouldn't you normally lose the item you're upgrading for a better version?


To use Monster Hunter, you lose the Rathalos themed Red Wing for a Red Wing+. The stats are different on it not because it gained a + but because its a completely different weapon in that games version of our database.


So there is something you can do here by simply using events through the use of a conditional statement.


So something simple for the sake of this. I have a Fire Sword I with 15% Fire Element and I'll use it to craft a Fire Sword II.


IF item # (which amplifies element rate by 15%) is used: remove Fire Sword I. Add Fiery Sword I which has a 45% Fire Element Rate.


ELSE :  remove Fire Sword I. Add Fire Sword II which has a 30% Fire Element Rate.


This could add a different element all together. Let's say the Fire Sword I can only be upgraded to Fire Sword III with 45% fire element and the Fire Sword III can't be upgraded.


Fiery Sword I can only be upgraded up to Fiery Sword II which has 60% fire element but if you used another one of that item from before a Fiery Sword I could be crafted into a Blaze Sword which has a 75% fire element and that's the end of that "crafting tree". Of course there are other ways you can go about it but that's just a thought.
@Maliki79 You can add an attack element via:


Eval: item.traits.push({"code": 31, "dataId": 2, "value": 1})


I'm not too sure on how the Element Core works script wise, but it functions as an additional damage to enemies weak to fire, instead of a static percentage weakness to fire. I did try your code, however, I cannot seem to make to it work. What does it do exactly? Does it call the note or add the note to the upgraded item? Maybe I can find a way around it. Also, the item upgrade slots, from what I understand, creates a new independent item in the database during game play. 


@Sekunri It depends on the game, you can make the weapon as an ingredient or just a recipe for upgrades, as for me I made it merely a recipe. Therefore, the player cannot craft the next weapon without crafting the requisite weapon first. I'm thinking of a more dynamic approach to it, I want a regular weapon to be customizable as possible  so that players can choose how much attack element rate they want via the upgrade item slots, rather than crafting specific weapons with attack element rates.
I see. Alright then. I'll have to check it out when you complete it.
@Maliki79 You can add an attack element via:


Eval: item.traits.push({"code": 31, "dataId": 2, "value": 1})


I'm not too sure on how the Element Core works script wise, but it functions as an additional damage to enemies weak to fire, instead of a static percentage weakness to fire. I did try your code, however, I cannot seem to make to it work. What does it do exactly? Does it call the note or add the note to the upgraded item? Maybe I can find a way around it. Also, the item upgrade slots, from what I understand, creates a new independent item in the database during game play. 



Thanks for the input.


Like I mentioned, I use my own element plugin with YF's Item Upgrade plugin and using the code I provided, get weapons and armors to boost elements values in-game.


I have no idea how YF's element Plugin works, but assumed your code was provided by YF in his help info for the plugin.


Sorry for providing misinformation.


BTW- The code I gave you adds the data directly to the item's note.  My Plugin reads multiple tags so having a fire + 15% tag on a weapon 6 times will work.
@Maliki79


Is it your elementEX plugin? Then I believe that it's exactly what I was proposing above. I thought your plugin was exclusive for your project. Lol. I'll check it out and play with it a bit. Thank you both for the input!
@Maliki79


Is it your elementEX plugin? Then I believe that it's exactly what I was proposing above. I thought your plugin was exclusive for your project. Lol. I'll check it out and play with it a bit. Thank you both for the input!

Yes and I'm sorry I didn't specify that my plugin was available on this site.


For those who want to check it out, here's the link:
Annnnd it works, thank you @Maliki79 it's exactly what I want. For those who want to replicate, I'm using the code below with Maliki's ElementEX and Yanfly's Item upgrade slots:


<Upgrade Effect> 


Eval: item.note += " <object_element: 2 > " ;


Eval: item.note += " <element_boost: 2 0.2 > " ;


Prefix: Fr+


</Upgrade Effect>
I realize this has not been active since 2016 but I have to ask. You said in the first post:
"I'm aware that you could add/change the element of a weapon or change the rate with attachable augments."
I am just wondering how you did that? I have both Yanfly's Item upgrade and Elemental Cores, and I want to make an upgrade item that will change a weapons element from physical to Elemental, or at least add it on like a state would; and have it be permanent. Like say I wanted to use a "fire gem" to turn a short sword into a "burning Short Sword" or something like that.

Do you know how I would do that? Because I sadly can not figure out how v.v

Darkson_Nico, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Please make a new thread instead.

Original thread: https://forums.rpgmakerweb.com/threads/yep-element-core-with-item-upgrade-slots-attacable-augments.69924/