fix(DB/Item) - Envolpe Assignment loot no longer gives you empty loot. #21073
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now you won't get a empty bag but now you will get properly
You can't carry any more of those items.
and still create loot.Now if you open any of the assignments envolpes and you already have that item, it will propely generate it and not give you an empty bag, see the images below to see the example and the table of items being changed
NOW:
BEFORE:
Click to me table of items changed
Changes Proposed:
This PR proposes changes to:
Issues Addressed:
SOURCE:
The changes have been validated through:
Tests Performed:
This PR has been:
How to Test the Changes:
This pull request can be tested by following the reproduction steps provided in the linked issue
This pull request requires further testing. Provide steps to test your changes. If it requires any specific setup e.g multiple players please specify it as well.
Make a character
I would recommend you, having a empty inventory and big bags.
.additem 23162
// Foror's Crate of Endless Resist Gear Storage (36 slots) (2-3 bags)Change the
1
to whatever value you want, you will need to test multiple of them..additem 20805 1
// Followup Logistics Assignment.additem 20808 1
// Combat Assignment.additem 20809 1
// Tactical Assignment.additem 21131 1
// Followup Combat Assignment.additem 21132 1
// Logistics Assignment.additem 21133 1
// Followup Tactical Assignment.additem 21266 1
// Logistics Assignment.additem 21386 1
// Followup Logistics AssignmentKnown Issues and TODO List:
How to Test AzerothCore PRs
When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].
You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:
http://www.azerothcore.org/wiki/How-to-test-a-PR
REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).
For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.