Custom mana_regeneration
hakunamatata opened this issue ยท 1 comments
is there any way to register "mana_max" and "mana_regeneration" as attribute to enhance with other plugins ?
I try to write a plugin to bridge rpg attributes with magic, and register "mana_max, mana_regeneration" in magicprovider, but it doesn't work.
when disable skillapi and other mana taking over plugin in config, I finally found a solution:
register and handle onWandActivated, onWandDeactivated, onWandPreActivated events, to set wand manaMax and manaRegeneration value.
I don't know if it was the finally solution, or still need to improve...