forked from opentibiabr/canary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: item not decaying duration and related bugs (opentibiabr#869)
• Fixed item decay with duration (both equip/deEquip and onUse), • Fixed the look of items with duration, it did not show the duration of some items (example rings, when equipped), • Functions created in the Item class to avoid code duplication and facilitate the maintenance readability of some systems • Removed old code from imbuement, which is no longer used • Removed the decay of items created by loading the ".otbm" map from decay std::map, thus decreasing by about three thousand five hundred items in the decay check.
- Loading branch information
Showing
6 changed files
with
133 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.