Upgrading system - Add new consumable option to protect the item.
Created by: iomatix
Is your feature request related to a problem? Please describe.
This plugin need this feature to get better with upgrading system. There are two options now:
1. Let the item destroy on upgrade with any upgrading consumable.
2. Keep the item on upgrade with any upgrading consumable.
But that's not enough. There is no option to keep or destroy the item with different consumable.
Describe the solution you'd like
Even better solution would be new consumable option to protect (one-time) the destroyable item on upgrade and prevent from destroying it on the upgrade's fail Appiled before the upgrading process, on fail the buff should disappear
.
Eg. Iron Sword (Destroyable item) , Upgrading Essence (Upgrading item), Protect Scroll (the new item)
Case: Player has 1x Iron Sword, 64x Upgrading Essence with ?% chance, 2x Protect Scrolls
1: Moves the Protect Scroll on the Iron Sword to use it.
2: Moves the Upgrade Essence on the Iron Sword to use it. Upgrade fails, the protection scroll effect is taken off now but Iron Sword still exist.
3: Uses the scroll again and upgrading essence. The upgrade success. The scroll's effect won't dissapear because the upgrading process was successful.
4: Next upgrade fails. The effect dissapears. No scrolls left but still the item exist.
5: Upgrade fails again. There is no protection now - item is destroyed.
Describe alternatives you've considered Great alternative would be per Player effect instead per item one. That would solve a problem with maximum upgrade level. The effect would be consumable on all upgradable & destroyable (it shouldn't be consumed on the non-destroyable items!) as long as the player hasn't failed the upgrading process.
Additional context That would improve the servers' economy, and the quality of the plugin!
Kind Regards!