Hello!
I have a question regarding the use of Yanfly's Equip Core plugin.
This plugin has notetags which can be used to alter an actor's parameters when equipped or unequipped. This functionality already exists in the default editor but I was wondering if it was possible change something other than the eight base parameters.
Specifically, I am interested in using equipment to alter current MP. I noticed that the notetags in the plugin only allow for altering the base parameters (ATK, DEF, etc) but not xparams or sparams (like critical chance, exp rate, etc). Looking at the code for the plugin, I noticed the cases where stats are altered by adding the notetags to each piece of equipment. Would there be a way to add a new case to essentially make a notetag that can alter current MP?
Current MP is defined in rpg_objects under Game_BattlerBase but it is not considered a default parameter, so I'm not sure if this is possible. Running an eval like user.gainMp seems easy enough but difficult to tie it to equipping or unequipping items.
I originally used a plugin by Waynee to run evals on equip to achieve this effect but that plugin is unfortunately not compatible with Yanfly's Equip Core.
I have a question regarding the use of Yanfly's Equip Core plugin.
This plugin has notetags which can be used to alter an actor's parameters when equipped or unequipped. This functionality already exists in the default editor but I was wondering if it was possible change something other than the eight base parameters.
Specifically, I am interested in using equipment to alter current MP. I noticed that the notetags in the plugin only allow for altering the base parameters (ATK, DEF, etc) but not xparams or sparams (like critical chance, exp rate, etc). Looking at the code for the plugin, I noticed the cases where stats are altered by adding the notetags to each piece of equipment. Would there be a way to add a new case to essentially make a notetag that can alter current MP?
Current MP is defined in rpg_objects under Game_BattlerBase but it is not considered a default parameter, so I'm not sure if this is possible. Running an eval like user.gainMp seems easy enough but difficult to tie it to equipping or unequipping items.
I originally used a plugin by Waynee to run evals on equip to achieve this effect but that plugin is unfortunately not compatible with Yanfly's Equip Core.