I have created a plugin that allows me to assign nodes or buffs to the player (Any kind of parameter) the only problem is that I don't know how I could add buffs to the elements (Fire, Ice, Etc), I mean create a node that gives me 5% more fire damage and the same with elemental resistances. (I don't know how to do that) Any ideas? **Additional elemental damage**. **Additional elemental resistance**
[RPG MZ] How to add upgrades to an element?
RPG Maker MZ SupportI don't know what "assigning a node" to a player means, but there are a number of simple things you could do.
- Have the damage formula for skills check whatever property on the actor that stores this skill node data. Use the property for their elemental skills as a multiplier in the damage formula.
- I'm not sure how else your plugin functions, because I assume "add a buff" to the player does not actually refer to buffs at all. But if you mean some kind of passive state, you could use a plugin like my Eval Tags or VisuStella's Battle Core to put code in the state that can check the element of an attack and change it according to the skill level.
For any more specific advice, you'd have to provide some information about what learning a skill node actually does.
- Have the damage formula for skills check whatever property on the actor that stores this skill node data. Use the property for their elemental skills as a multiplier in the damage formula.
- I'm not sure how else your plugin functions, because I assume "add a buff" to the player does not actually refer to buffs at all. But if you mean some kind of passive state, you could use a plugin like my Eval Tags or VisuStella's Battle Core to put code in the state that can check the element of an attack and change it according to the skill level.
For any more specific advice, you'd have to provide some information about what learning a skill node actually does.
Couldn't you just patch the
calcElementRate method of Game_Action?I see... it's really not a bad idea, thanks.
Original thread: https://forums.rpgmakerweb.com/threads/rpg-mz-how-to-add-upgrades-to-an-element.174179/